Skip to main content
Auto Form Builder
Download FREE

Fields

Calculation Field for WordPress Forms

The Calculation field shows a live total worked out from other fields as the visitor types or drags a slider — running totals, quantity × price, fees, or a cost-savings calculator. Results appear formatted in emails and entries, and are recalculated securely on the server so visitors cannot tamper with them. Free in Auto Form Builder, and ready to pair with Stripe Payments when you want to charge the calculated total.

Settings & options

  • Formulas that add, subtract, multiply and divide, with brackets
  • Functions: min, max, round, abs, ceil and floor
  • Reference other fields in the formula (for example quantity and price)
  • Decimal places, prefix or suffix (such as a currency symbol), and thousands / decimal separators
  • Live updates on the form as the visitor changes inputs or sliders
  • Server-side recalculation on submit so the stored result cannot be faked in the browser
  • Formatted value in notification and confirmation emails, Slack notifications and entry details
  • Plain number in CSV exports
  • Builder blocks formulas that refer to each other in a loop

Use it for

  • Quantity × price line totals on an order or quote form
  • Cost-savings calculators (for example hours saved × hourly rate)
  • Quote estimators that add options, fees or discounts from other fields
  • Running totals that update as the visitor fills the form
  • Donation or payment amounts that feed Stripe Checkout via the Stripe Payments add-on

How to add it

  1. Open Auto Form Builder and create or edit a form.
  2. Drag the field onto the canvas.
  3. Configure its settings in the right-hand panel.
  4. Save, then copy the shortcode or embed code.
  5. Paste it on any page — WordPress or not.

Works with

Related fields

FAQ

Can visitors change the calculated total before submit?
They can change the inputs the formula uses, and the total updates live. The final value is calculated again on the server when the form is submitted, so a tampered browser value is not trusted.
Can I charge the calculated total with Stripe?
Yes — enable the free Stripe Payments add-on, turn payments on for the form, and choose the Calculation field as the amount source. Auto Form Builder adds no transaction fee; you pay only Stripe’s standard processing fees.
Where does the result appear after submit?
Formatted in notification and confirmation emails, Slack notifications and entry details, and as a plain number in CSV exports.
What happens if two calculations depend on each other?
The builder will not save formulas that refer to each other in a loop, so you cannot create a circular dependency by mistake.

Add the Calculation field to your forms — free

Auto Form Builder includes Calculation and 20+ fields, with no code and no monthly fees.