Math Formula Editor

Write a formula with named variables, check the syntax and see every value substituted into the expression.

Edit and run a formula

Result: —
Substituted: —
Status: —
Functions: sin, cos, tan, asin, acos, atan, sqrt, abs, exp, ln, log, log2, floor, ceil, round, sign, min, max and pow. Constants: pi, e and tau. Use ^ for powers.

How to use the Math Formula Editor

  1. Type a formula using numbers, variables and the supported functions.
  2. List the variable values as name equals number pairs, separated by commas.
  3. Press Run formula to see the value, the substituted expression and any error.

Features

Advertisement

Frequently Asked Questions

Common questions about the free online math formula editor.

Type the formula, list each variable as a name equals number pair and the result appears as you type in the panel below.
sin, cos, tan, asin, acos, atan, sqrt, abs, exp, ln, log, log2, floor, ceil, round, sign, min, max and pow, all called with brackets.
The constants pi, e and tau are recognised by name, so you can write 2*pi*r or e^x without typing long numbers.
Use the caret for powers, so x^2 is x squared and x^0.5 is the square root. The sqrt function also works for roots.
The status line names the problem, such as a missing bracket or an unknown name, and the result panel stays empty until it is fixed.
No. The whole expression is parsed and worked out inside your browser, so nothing you type leaves your device.
Yes. It is fully responsive and works on a phone, tablet or desktop browser with no installation needed.
Yes. It is completely free, needs no account and there are no limits on how many formulas you run.

Last updated: October 10, 2026