This article requires the GP eCommerce Fields perk. Buy Gravity Perks today to get this perk plus 33 other premium Gravity Forms plugins!
Overview
GF eCommerce Field offers several powerful new field types. For this tutorial, we’ll be working with the Tax field. The Tax field allows you to automatically calculate a percentage-based tax that will be applied to the order total.
- Step 1 – Install & Activate GF eCommerce Fields
- Step 2 – Add a Tax Field to Your Form
- Step 3 – Configure the Tax Amount
- Preview the Form
Step 1 Install & Activate GF eCommerce Fields
Let’s get started by installing and activating the GF eCommerce Fields plugin.
Step 2 Add a Tax Field to Your Form
Next, let’s add a Tax field to your form. You will find the Tax field button under the “Pricing Fields” field group on the right side of the form editor.
You can add as many Tax fields as you require. You can have all Tax fields apply to each order – or – you can use conditional logic to apply a specific Tax field dependent on any number of conditions.
Step 3 Configure the Tax Amount
It’s time to specify the tax amount. Specify any number 1 – 100. This will be the percentage used to calculate the tax amount.

You can optionally apply the tax to specific products – or – exclude specific products from being included in the tax. Just select the desired option from the “Applicable Products” setting and specify the products to include/exclude.
Preview the Form
And we’re done! Preview your form to see your Tax field in action. Here’s an example from our full documentation for GF eCommerce Fields.
Did this resource help you do something awesome with Gravity Forms? Then you'll absolutely love Gravity Perks; a suite of 32+ essential add-ons for Gravity Forms with support you can count on.
HI there, I have the same requirement that James does above. Basically I need to calculate tax as a percentage of the total amount, rather than add it on. Are you please able to email me the solution as well. Thanks! Mike
Hi Mike,
I’ve added your vote for this feature. No ETA, however it’s on our roadmap.
Is there a way to apply a tax specific to the locale of the user? For instance, digital products in the US are now required to have applicable state taxes for where the user is located to every purchase. Selling internationally requires a different tax rate in each country.
Is there an automated way to apply the tax to the purchase amount based on the location a user selects from the location dropdown? Our company needs to be tax compliant by adhering to all local tax rates to be able to depend on and purchase this addon.
We do not currently have an automated solution for this. It’s possible using conditional logic but we know it’s a bit cumbersome. Definitely something we’d like to look into for inclusion in a future version!
Hi David,
I need exactly the same like James Carmody. Products with Tax included and at the end a tax field showing how much tax is included. Thx
Sebastian
Thanks for the feedback, Sebastian. I’ve added your vote for this feature. No ETA but it’s on our roadmap.
How can I make the tax as inclusive of products and shipping?
Hi James, shipping is not available for inclusion in taxes. Do you have some information on why/where this is required?
I actually thought shipping was already included which is a requirement for Australia. My question was worded badly, I was actually trying to ask if the Tax can be set to display the inclusive amount rather than adding tax to the tax exclusive subtotal.
E.g. if I have a $100 product and then add 10% tax it becomes $110 but if I wanted a $100 product inclusive of tax it should display the total as $100 but then show $9.09 of tax. I have tried setting the product itself to the exclusive amount of $90.91 which works. However in Australia we legally have to show prices inclusive of tax so as a workaround I put the tax inclusive price in the description. Thanks!
Hey James, that was bad info. Shipping is included in taxes. I’m not quite tracking on your explanation of what you have set up. You show the price inclusive of tax for the individual products but then have to list the full tax amount (even that already included in the products) as a separate line item?
Yeah that is essentially correct. We show all the product prices including tax and then show a break down of how much tax was paid for the customers reference. This is usually shown as a seperate line item on all receipts and invoices in Australia.
Thanks for the info, James. Just sent you an email.
Hi David,
I tried doing this calculation and got it to work but my notification email summary is totally incorrect. Will your solution help me get this sub total, tax order total correct for the form and the notification? (I am using the auto-format feature in GF as my html sucks)
I’m not sure I understand how you’re currently trying to accomplish this but GP eCommerce Fields will make it easy. :)
I am having an issue where this plugin is calculating a tax higher than it should be. For example, I have a 339.00 product. The tax on it is 13%. The amount should be 43.07; however, the plugin calculates it as 44.22
Hi Brian, we’ll be happy to help you via support.