🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 27, 2026

How to Estimate a Carbon Footprint on Gravity Forms Quotes and Bookings

GravityExtra
How to Estimate a Carbon Footprint on Gravity Forms Quotes and Bookings

More and more quotes, bookings and checkout flows now carry a line that was missing a few years ago: an estimate of the carbon footprint of the thing being ordered. A courier shows the CO2e of a delivery, a venue shows the footprint of an event, a shop shows the emissions of a shipment. If you build those forms in Gravity Forms, you can add the same line yourself with the Gravity Forms Carbon Footprint Calculator Premium Add-on. It turns the quantities people already enter into a CO2e estimate, using emission factors you configure, and it does the whole calculation on your own site.

This post walks through what the add-on does, how the estimate is built, how to show it, and the optional offset quote. Throughout, one thing is worth keeping in mind: every number the add-on produces is an estimate based on the factors you enter. It is a helper for putting an indicative footprint on a form, not a measurement or a reporting tool.

What the add-on does

At its simplest, the add-on multiplies and adds. You tell it which form inputs hold a quantity, and what each quantity is worth in kilograms of CO2e per unit. When someone submits the form, the add-on reads those inputs, multiplies each by its emission factor, adds the lines up, and stores the total with the entry. You then show the total with a merge tag, and you can see the full breakdown on the entry screen.

Because the calculation is plain arithmetic, it runs entirely in WordPress and contacts nothing. There is no third-party service in the loop for the base estimate, no data leaves your site, and the result is instant. The only time the add-on reaches out is when you deliberately turn on an optional offset quote, which we will come to later.

The Carbon Footprint settings page in Gravity Forms: license key, the CO2e label option, and the optional offset provider with an API key field and a preferred currency

Configuring emission factors

The factors are the part you own, and they are entered per form so each form can value its inputs differently. In the form’s Carbon Footprint settings you write one row per line, in the shape fieldId, label, factor and an optional unit. The field id is the number Gravity Forms gives the field that holds the quantity; the label is the friendly name shown in the breakdown; the factor is the kilograms of CO2e per unit; and the unit is a short label such as km, kg, kWh, night or item.

A shipping quote with a distance field and a parcel-weight field might read like this: a Distance driven row for field 3 at 0.17 per km, a Parcel weight row for field 5 at 0.52 per kg, and a base Handling row at 0.4 that adds a flat amount once per submission. The special field id base is how you include overhead that does not depend on an input. Lines beginning with a hash are comments, so you can annotate the table and keep notes on where each factor came from.

Where do the factors themselves come from? From a source you trust for your activity: a public dataset, an industry figure, or your provider’s published numbers. The add-on does not ship a database of factors, on purpose, because the right value depends on your context and changes over time. You enter the figures you stand behind, and you can update them whenever your source does. Entries already saved keep the estimate they were calculated with, so your history stays consistent.

Which inputs map to what

Only map fields that hold a quantity. A distance, a weight, a number of nights, a count of items, kilowatt-hours of energy: these are the inputs the estimate is built from. A name, an email or a message contributes nothing and should be left out of the table. The add-on reads whatever number it can find in a mapped field and is forgiving about formatting: it strips currency symbols, thousands separators and trailing unit text, so 1,250, 1.250,00 and 42 km all become the number you expect. A blank or non-numeric input simply counts as zero for that line, which means a partly completed form still yields a sensible figure rather than an error.

If a form collects a quantity in one unit but your factor is expressed per another, bring the two into line: adjust the factor to the input’s unit, or convert the input first. The add-on applies the factor to the input exactly as it is entered, so the units have to agree.

Showing the estimate

Once the estimate is on and the factors are set, you show the result with merge tags anywhere Gravity Forms accepts them. The tag {co2e} prints the formatted estimate, such as 13.5 kg CO2e, switching to tonnes above 1000 kg. The tag {co2e_kg} prints the plain number of kilograms for a calculation or a column. And {co2e_box} prints a styled, self-contained result box with the label and the value, ready to drop into a confirmation so the visitor sees their estimated footprint the moment they submit.

A typical setup adds {co2e_box} to the confirmation and {co2e} to the admin notification, so both the visitor and your team see the figure. On the entry screen, every submission of an enabled form keeps a Carbon footprint estimate box with the total and a line-by-line breakdown: each input, its quantity and unit, the factor applied, and the kilograms it contributed. The estimate in kilograms is also an entry column and is included in exports, so you can report on it later.

The Carbon footprint estimate box on a Gravity Forms entry screen showing the total and a per-input breakdown with quantities, factors and kilograms of CO2e

The optional offset quote

Some teams want to go one step further and show an indicative price to offset the estimated footprint. The add-on supports that through your own carbon-offset provider: choose Climatiq or Cloverly on the settings page and paste your own API key. There is no GravityExtra account in the middle and no onboarding; you use your own self-serve provider account. When an entry is saved, the add-on sends only the total weight and your key to your provider, reads back an indicative price, and shows it in the result box and on the entry.

Two things make this safe to leave on. First, only the total weight is ever sent, never the form data, and the request is locked to your provider’s host so the key and the weight cannot go anywhere else. Your API key is encrypted before it is stored and is never written to an entry, a note or a log. Second, a failed offset call never blocks a submission: if the provider is slow or returns an error, the estimate is still saved and a note records that the quote was not available. The offset figure is indicative and depends entirely on your provider’s pricing.

That the numbers are estimates

It is worth being clear about what this add-on is and is not. It is an estimator: it multiplies the inputs people enter by the factors you configure and presents the result. It is not a formal measurement or a reporting tool, and it does not claim to be. The accuracy of the figure is exactly the accuracy of your factors and your inputs. Used well, with factors you trust and kept current, it gives customers a useful, honest sense of the footprint of what they are ordering, and it gives your team a number to work with. Presenting it as an estimate, and saying where your factors come from, keeps that trust intact.

Privacy

For the base estimate, nothing leaves your site. The arithmetic runs in WordPress, the inputs stay in your entries, and the result is stored alongside them. If you enable an offset provider, the only thing that travels is the total weight and your key, over a host-locked request to the provider you chose. There is no analytics call, no tracking, and no sharing of the form data. You decide the factors, so you decide how every input is valued, and you can change or remove the integration at any time.

Getting started

Install the add-on, activate your license, and open a form’s Carbon Footprint settings to turn the estimate on and enter your factors. Add a {co2e} or {co2e_box} merge tag to the confirmation, send a test entry, and check the breakdown on the entry screen. For the full walkthrough, including the factor table format and the offset setup, see the Carbon Footprint Calculator setup guide.

If you are ready to add an estimated footprint to your quotes, bookings or shipments, get the Gravity Forms Carbon Footprint Calculator Premium Add-on and start from the factors you already trust.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr