Forms that do the math as people type
Add a Calculation Field, write a formula with your fields in curly braces, and the result updates as people answer. Totals, quotes, loan payments and scores, checked again when the form is submitted.
Write formulas like you would on paper
Put a field's label in curly braces and combine it with numbers and other fields. The builder helps you get it right before anyone sees the form.
-
Insert fields by name
Pick a field from the Insert field list and it goes into the formula as {Label}. Numbers, currency, ratings, sliders, NPS, yes/no and choices can all be used, and so can other calculations.
-
Math and comparisons
Add, subtract, multiply, divide and raise to a power, with parentheses for grouping. Comparisons such as > or == give 1 or 0.
-
Mistakes caught as you type
The builder flags a syntax error or a label it cannot find, and shows a preview of the result with every field set to 1.
Functions for real calculators
Beyond plain arithmetic, formulas can round, compare, branch and work out loan payments.
ROUND(x, n)Round to a number of decimal placesMIN · MAXSmallest or largest of several valuesABS(x)Value without its minus signSQRT · POWSquare root and powersPMT(r, n, p)Loan payment per period: rate, number of periods, amountIF(c, a, b)One result when a condition is true, another when it is notN(x)Treats an empty answer as 0, so a formula still worksDifferent answers, different math
Compare a choice with text inside IF and the formula picks the right price, rate or score for each person.
-
Pricing by plan or tier
IF({Plan} == "Premium", 99, 49) shows the right price for the plan someone picks.
-
Rules that stack
Put one IF inside another for three or more tiers, such as volume discounts.
-
Show the right result
Use conditional logic on the choice field to show or hide a calculation, so each person sees the total that applies to them.
A result you can rely on
Calculated values are saved with the response, and the server works them out again on submit.
-
Checked again on submit
If someone changes the number in their browser, the real result replaces it before the response is saved.
-
Formatted your way
Show 0 to 6 decimal places, with a prefix such as $ or a suffix such as USD or kg.
-
In Responses and exports
The result is stored like any other answer, so you see it in Responses, exports and integrations.
Where calculations earn their keep
Anywhere a form needs to do math, a Calculation Field turns it into a working calculator.
Loan and mortgage payments
PMT works out a monthly payment from the amount, rate and term people enter.
Quote calculators
Pages × rate, hours × rate, plus add-ons. People see an estimate before they send the request.
Order estimates
Show a running total of quantities and prices, with a discount or shipping added.
BMI and health scores
Work out BMI from height and weight, or add up symptom scores from rating questions.
ROI and savings calculators
Lead-magnet calculators that show the savings or payback period from a visitor's own numbers.
Custom scores
Combine ratings, NPS and yes/no answers into one score, with IF for bonus points.
Questions about calculation fields
How do I add a calculation to a form?
Which fields can a formula use?
Which functions are available?
Can people change the result?
Can a calculation set the payment amount?
Do I need a calculation to score a quiz?
Are there limits?
Is it included on every plan?
Add a calculation to your next form
Included on every plan. Live results, checked again on submit.
Start free trialRelated
Mortgage loan officer forms
Loan applications, document checklists and personalised links.
Learn morePayments
Take payments with Stripe: fixed amounts, products with quantities and coupons.
Learn moreOnline quiz maker
Scored quizzes with points, a pass mark and a results screen.
Learn moreConditional logic
Show the right questions and the right result for each answer.
Learn more