Using A Calculation Field
You can add tax to your product forms using calculation fields and custom formulas. These tools allow you to calculate simple tax as a percentage of product totals and, optionally, apply it conditionally based on user selections such as shipping location or product type.
This article explains how to configure calculation fields to add tax to your forms.
Adding Tax with a Calculation Field
Creating the Tax Field
To calculate tax on your form, you’ll use a Product field configured as a Calculation field type:
- Click Insert Merge Tag to open the formula editor.
- Navigate to Forms and edit your form.
- Add a Product field from the Pricing Fields section.
- Click the field to open its settings and set the Field Type to Calculation.
- In the Field Label, enter something like “Tax” or “Sales Tax”
Building the Tax Formula
Example: Single Product with 10% Tax. For a form with one product field (ID 1):
{Product Name (Price):1.2} * {Product Name (Quantity):1.3} * 0.10
The above is just an example of a basic calculation formula for a 10% surcharge applied to two separate products. If you’re new to calculations, please check the Using Calculations documentation page.
If tax should only be applied in certain situations, you can then use conditional logic to show or hide that field based on the conditions that must exist in order for the tax to be applied.

Third Party Possibilities
If you require more product-selling options, have a look at the eCommerce Fields. This is a third-party add-on by Gravity Wiz that can add more eCommerce features to your Gravity Forms.
Disclaimer: Third-party services, plugins, or code snippets that are referenced by our Support documentation or in Support Team communications are provided as suggestions only. We do not evaluate, test or officially support third-party solutions. You are wholly responsible for determining if any suggestion given is sufficient to meet the functional, security, legal, ongoing cost and support needs of your project.
Feedback, feature, and integration requests, and other functionality ideas can be submitted at http://forms.roadmap.gravity.com/.