Math Expression Evaluator

Evaluate arbitrary math expressions with functions, constants, units, and bignumbers

Expression

Press Enter to evaluate. Use Shift+Enter for a new line.

History

Last 20 evaluations. Click an entry to load it back.

No evaluations yet.

About this evaluator

Powered by mathjs

Expressions are parsed with the mathjs library — never with JavaScript's eval. The library is lazy-loaded on first use to keep the initial bundle small.

What you can do

  • Arithmetic, parentheses, variables, functions
  • Trig, logs, exponentials, factorials
  • Units, e.g. 5 cm + 2 inch to mm
  • Bignumbers, complex numbers, matrices