Calculation Field

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.

Included on every plan · Live results · Checked again on submit

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 places
MIN · MAXSmallest or largest of several values
ABS(x)Value without its minus sign
SQRT · POWSquare root and powers
PMT(r, n, p)Loan payment per period: rate, number of periods, amount
IF(c, a, b)One result when a condition is true, another when it is not
N(x)Treats an empty answer as 0, so a formula still works

Different 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.

01

Loan and mortgage payments

PMT works out a monthly payment from the amount, rate and term people enter.

02

Quote calculators

Pages × rate, hours × rate, plus add-ons. People see an estimate before they send the request.

03

Order estimates

Show a running total of quantities and prices, with a discount or shipping added.

04

BMI and health scores

Work out BMI from height and weight, or add up symptom scores from rating questions.

05

ROI and savings calculators

Lead-magnet calculators that show the savings or payback period from a visitor's own numbers.

06

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?

Add a Calculation Field, open its settings and write a formula. Put a field's label in curly braces, for example {Quantity} * {Unit price}, or use Insert field to add it for you. The result shows in the form and updates as people answer.

Which fields can a formula use?

Number, currency, rating, opinion scale, NPS, slider and yes/no fields give numbers; a single checkbox or switch counts as 1 when on and 0 when off. Single Choice and Dropdown answers can be compared with text, such as {Plan} == "Premium". A formula can also use another calculation and fields on any page.

Which functions are available?

ROUND, ABS, MIN, MAX, SQRT, POW, PMT for loan payments, IF for branching, and N, which treats an empty answer as 0.

Can people change the result?

No. The result is calculated in the form, and the server calculates it again when the form is submitted. A value changed in the browser is replaced by the real result before it is saved.

Can a calculation set the payment amount?

No. The Payment field charges a fixed amount, an amount the person enters, or products with quantities and coupons. A Calculation Field can show a quote or an estimate on the same form.

Do I need a calculation to score a quiz?

No. Quiz mode scores answers with points and a pass mark on its own. Use a Calculation Field for other math, such as a score built from ratings.

Are there limits?

A formula can be up to 500 characters long and use up to 50 functions. Results can show 0 to 6 decimal places.

Is it included on every plan?

Yes. The Calculation Field is included on every plan at no extra cost.

Add a calculation to your next form

Included on every plan. Live results, checked again on submit.

Start free trial