🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Table-Rate Shipping Calculator Setup Guide

Updated 11 min read Gravity Forms Fields & Inputs
On this page
  1. Video walkthrough
  2. What you need
  3. How it differs from what you may already have
  4. Install and activate
  5. Quick start
  6. General settings
  7. Zones
  8. Methods and bands
  9. Product weights
  10. What the customer sees
  11. The price cannot be changed in the browser
  12. After the order: entry, merge tags and export
  13. Import and export rates (CSV)
  14. Examples
  15. Security and privacy
  16. Frequently asked questions
  17. Changelog

Video walkthrough

Gravity Forms Table-Rate Shipping Setup Guide: Zones, Weights & Live Shipping Rates
Video setup guide: Gravity Forms Table-Rate Shipping Watch on YouTube

The Gravity Forms Table-Rate Shipping Calculator add-on works out the shipping cost of an order placed through a Gravity Forms form from your own rate table: by where the order is going and by its weight, its value, its number of items or a number the customer enters. The cost is written into the form’s Shipping field, so the order total, payment add-ons, order summaries and notifications all use it. There is no carrier account to open and nothing is sent to an outside service. This guide covers installation, the rate table, product weights, what the customer sees, how the price is protected, and where the shipping details appear after an order is placed.

A garden order form: a large planter with gift wrap, a UK delivery address, and under the Shipping field a choice of Standard 7.50 or Express 13.50 for the UK mainland zone, with the shipping cost and the order total
An order form with a choice of shipping methods priced from the rate table for the delivery address.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer (tested with 2.9 and 3.1).
  • A GravityExtra license key for this add-on.
  • An order form with Product fields, an Address field for the delivery address and a Shipping field with the field type Single Method.

How it differs from what you may already have

  • The Gravity Forms Shipping field on its own holds one fixed price, or a list of prices the customer picks from. It cannot change with the address or the weight. This add-on keeps that field and fills in its price.
  • Our Pricing Fields Pack adds tax and subtotal fields, and our Live Order Summary add-on displays the order with its shipping line. Both work alongside this add-on; neither works out a shipping cost.
  • Our EasyPost add-on asks a carrier for live rates and needs a carrier account. Use this add-on when you set your own prices.
  • Our Shipping Rate Rules for WooCommerce plugin is for WooCommerce shops and their cart and checkout. This add-on is for Gravity Forms order forms, with no shop plugin at all.

Install and activate

  1. In WordPress go to Plugins → Add New → Upload Plugin, choose the add-on zip file and click Install Now, then Activate.
  2. Go to Forms → Settings → Table-Rate Shipping, paste your license key and click Activate License.

Every feature needs an active license. Without one, the rate settings, the live cost on the form, the checks on submit, the merge tags and the entry columns are all switched off, and the Shipping field keeps the fixed price set in the form editor.

Quick start

  1. Open your order form in the form editor. Make sure it has an Address field, your Product fields, a Shipping field (field type Single Method, price 0) and a Total field.
  2. Click a Product field, open the Advanced tab and enter its Shipping weight (per item). For a product with choices, enter a weight per choice in the small table under it. Save the form.
  3. Go to Settings → Table-Rate Shipping for the form. Choose the Shipping field and the delivery Address field, the weight unit and a default weight.
  4. Click + Add zone, name it (for example “UK mainland”) and type the country code GB under Countries. A first method with one band is added for you: name it “Standard”, choose Total weight and fill in the bands, for example 0 to 2 costs 4.95 and 2 to 10 costs 7.50.
  5. Click Save shipping settings, open the form on your site, choose a product and type an address. The shipping cost appears under the Shipping field and the total updates.

General settings

  • Shipping field: the Shipping field (Single Method) that receives the cost. Choose “Off” to switch the calculation off for this form.
  • Delivery address field: the Address field whose country, state or region and postcode decide the zone. International, United States and Canadian address types are all supported; for a United States address, a state can be matched by name or by its two-letter code.
  • Weight unit: kg or lb. It is the unit of every weight you enter and is shown in merge tags and on the entry.
  • Default weight per item: used for products that have no shipping weight of their own. Leave it empty to count them as 0.
  • Show the zone name under the shipping cost: shows “Shipping to: UK mainland” to the customer.
  • Message when an order cannot be shipped: shown when the address is in no zone, in a zone you do not ship to, or when no band covers the order (for example a parcel heavier than your last band).

Zones

A zone is a group of destinations with the same prices. Each zone has three boxes; type one item per line or separate them with commas.

  • Countries: two-letter country codes such as GB, IE or US, or country names as they appear in the Address field, such as United Kingdom.
  • States / regions: names or codes, for example CA, NY or Scotland.
  • Postcodes: exact postcodes such as SW1A 1AA; wildcards, where * stands for any characters and ? for one character, such as SW1* or BT?; and ranges such as 2000-2999 or BT1-BT9. Spaces and upper or lower case do not matter. A numeric range compares the leading digits, so the US ZIP 90210-1234 is inside 90000-96199.

An address is in a zone when it matches every box that is filled in. A zone with all three boxes empty matches every address, which makes it a “rest of the world” zone. Zones are checked from top to bottom and the first match wins, so put the narrow zones first: “Scottish Highlands” with GB and IV*, HS*, ZE* above “UK mainland” with just GB. Use the arrow buttons to change the order. A zone with no methods means “we do not ship there”: the customer sees your message and the form is not accepted.

The Table-Rate Shipping form settings: the Shipping field and delivery Address field, weight unit and default weight, and zones with countries, postcode wildcards and ranges, methods with weight bands, per-kilo pricing, handling fee and free shipping over a subtotal
Form Settings, Table-Rate Shipping: zones, methods and bands.

Methods and bands

Each zone has one or more methods, for example Standard and Express. When more than one method can ship the order, the customer picks one on the form, with the price next to each; the first method in the list is selected to start with.

Every method is priced based on one of four values:

  • Total weight: the shipping weight of every product line times its quantity, plus its options.
  • Products subtotal: the value of the products and options, before shipping.
  • Number of items: the total quantity of all products.
  • Value of a Number field: any Number field on the form, such as pallet spaces, boxes or miles. Choose the field in the picker that appears.

The bands are rows with From and To. The first band whose range contains the value is used; both ends count, so with bands 0 to 2 and 2 to 10 an order of exactly 2 kg uses the first one. Leave From empty for 0 and To empty for no upper limit. Each band charges:

  • Flat cost: a fixed amount.
  • Per unit and Every: an amount for every unit above the band’s From. With From 10, Flat cost 7.50, Per unit 1.20 and Every 1, an order of 12.3 kg costs 7.50 + 3 × 1.20 = 11.10, because the 2.3 kg above 10 is rounded up to 3 whole units. Set Every to 0.5 to charge per half kilo, or use Number of items to charge per extra item.
  • % of subtotal: a percentage of the products subtotal, for insured or high-value goods.

The three parts add up, so one band can be flat, per unit, a percentage or a mix. Under the bands each method has:

  • Handling fee and Handling % of subtotal: added to the band price.
  • Minimum charge and Maximum charge: the price is raised to the minimum or capped at the maximum.
  • Free from subtotal: shipping becomes free once the products subtotal reaches this amount. It is applied last, after handling and the minimum.

If no band covers the order, that method is not offered. If no method of the zone is offered, the customer sees your “cannot ship” message. This is how you stop orders that are too heavy or too large for your service.

Product weights

Open a Product or Option field in the form editor and go to the Advanced tab. Shipping weight (per item) is the weight of one item. For fields with choices, such as a Drop Down or Radio Buttons product, a small table lists every choice so it can have its own weight; an empty choice uses the field’s weight. Option weights are added to the product they belong to, so a “Gift box” option of 0.5 kg makes each item 0.5 kg heavier. Weights are multiplied by the quantity, whether it comes from the product’s own quantity box or from a Quantity field. Products hidden by conditional logic are left out, exactly as in the Gravity Forms total.

What the customer sees

Under the Shipping field a box shows the method, or a choice of methods, with the price of each, and the zone name if you turned it on. Every time a product, quantity, option or the address changes, the form asks your server for the new price and the Shipping field and the total update. While the answer is on its way the Submit and Next buttons wait for a moment, so the total the customer sees is always the one your server expects. Until an address is entered the box says “Enter your delivery address to see the shipping cost.”, and for an address you do not ship to it shows your message in red.

The order form on a 390 pixel wide phone screen, with the shipping methods and prices stacked under the Shipping field
The shipping choice on a phone.

The layout is a simple list that fits narrow phone screens. Multi-page forms work the same way: the address and the products can be on one page and the Shipping field on a later one. If the Shipping field is hidden by conditional logic, for example when the customer chooses “Collect in store”, no shipping is charged and any address is accepted.

The price cannot be changed in the browser

When the form is submitted, the add-on works the shipping out again on your server, from the products, quantities, options and address that were posted, before Gravity Forms checks and saves the entry. The result always goes into the Shipping field. If the price or the method sent by the browser is not the one the server works out, the form is not accepted: the Shipping field shows “The shipping cost for your order and address is … Please check the total and submit again.” with the correct price, so the customer always sees what they will pay before they pay it. Payment add-ons charge the total that Gravity Forms works out on the server.

After the order: entry, merge tags and export

The Shipping calculation box on the entry screen: zone UK mainland, method Express, the address, weight 7 kg, items, products subtotal, the band used, the handling fee and the shipping cost 13.50
The Shipping calculation box on the entry screen.
  • Entry screen: a Shipping calculation box shows the zone, the method, the address that decided the zone, the weight, the number of items, the products subtotal, which band was used and on what value, handling, minimum or maximum and free-shipping notes, and the shipping cost.
  • Order summary: the shipping line names the method, for example “Shipping (Express)”, in the order table, in {all_fields} and for payment add-ons.
  • Merge tags: {shipping:zone}, {shipping:method} and {shipping:weight} (with the unit, such as “7 kg”) for notifications and confirmations. They are in the merge tag menu of forms that use the add-on.
  • Entry list and export: Shipping zone, Shipping method and Shipping weight can be shown as columns, used in filters, and ticked in Forms → Import/Export → Export Entries.

Import and export rates (CSV)

The Import / export panel saves the zones and rates of a form as a CSV file and loads them back, which is the quickest way to copy a rate table to another form, keep a backup or edit a large table in a spreadsheet. The file has one line per band with the columns zone, countries, states, postcodes, method, basis, basis_field, from, to, cost, per_unit, every, percent, handling_fee, handling_percent, min, max and free_over. Lists inside a cell, such as several countries, are separated with a vertical bar. Lines with the same zone and method are grouped together in file order, and a zone line without a method creates a “we do not ship there” zone. Importing replaces all zones of the form; the general settings stay as they are. A file without the header line is refused and nothing is changed.

Examples

  • Garden centre: UK mainland by weight with free shipping over 100, a higher rate for Highlands and Islands postcodes, Ireland by number of items, Europe at 12% of the order with a minimum of 15 and a maximum of 40.
  • Freight booking: a United States address and a “Pallet spaces” Number field; a New York ZIP range first, West Coast states next and the rest of the country last, each priced per pallet space with a handling fee.
  • Bakery delivery: one country, postcode lists for the delivery area, a flat price per order and free delivery over a set value; every other postcode sees “We only deliver in town; please choose collection.”

Security and privacy

  • Everything is worked out on your own server. The add-on makes no outside request of its own; only the license and update checks talk to gravityextra.com.
  • The live price is asked with the form’s own field values only; the request never saves an entry and answers only for active forms that use the add-on.
  • Rates are saved with the form. Uninstalling the add-on removes its options; the shipping values already saved on entries stay.

Frequently asked questions

Can I offer collection in store? Yes. Add a choice such as “Collect in store” and hide the Shipping field with conditional logic when it is chosen. No shipping is charged and any address is accepted.

Can I use different rates on different forms? Yes. Rates are saved per form. Use CSV export and import to copy them.

Is anything stored when the license is not active? No. Without an active license the add-on does nothing and the form behaves as a normal Gravity Forms form.

Changelog

1.0.0 (October 31, 2026): Initial release.

Still need help?

Our support team answers tickets every day, usually within a few hours.

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