Math evaluator
Evaluate mathematical expressions with units, functions and constants.
Loading tool…
About the math evaluator
Evaluates mathematical expressions with full unit support, so "5 km to miles" and "60 mph in m/s" work as written. Handles trigonometry, logarithms, complex numbers, matrices, number bases and variable assignment across several lines.
Frequently asked questions
How do I convert units?
Write the conversion in plain form — "5 km to miles" or "72 degF in degC". Units are tracked through arithmetic too, so dividing a distance by a time yields a speed.
Can I reuse a value?
Yes. Assign with x = 4 and use x on any later line. Each line is evaluated in order against a shared scope, and every intermediate result is shown.