Everything you need to build, embed, and manage your cost calculators.
After publishing, open Embed on the calculator to copy the code for your site.
[estimatex id="…"].Formulas use your fields' variable names. Checkboxes count as 1 when checked and 0 when not; dropdown and radio options use their numeric value. A formula can also use the result of a formula listed above it.
| Write | Meaning |
|---|---|
a + b, a - b, a * b, a / b | Add, subtract, multiply, divide |
(a + b) * c | Parentheses control the order |
round(x, 2) | Round to 2 decimal places |
ceil(x) / floor(x) | Always round up / down |
min(a, b) / max(a, b) | Smaller / bigger of two values |
max(total, 500) | Apply a minimum charge of 500 |
area > 500 ? 10 : 15 | If area is over 500 use 10, otherwise 15 |
has_addon == 1 ? 200 : 0 | Add 200 when a checkbox is checked |
price * 1.08 | Add 8% tax |
The builder checks each formula as you type and points out unknown variables or syntax errors.
API reference. For API access questions, contact info@estimatex.ai.