Math evaluator

A calculator for evaluating mathematical expressions. You can use functions like sqrt, cos, sin, abs, etc.

About Math evaluator

Evaluates a mathematical expression as you type, with the functions and constants of the math.js library: arithmetic, powers, roots, trigonometry, logarithms, factorials, unit conversions and more.

When you would use it

How to use it

  1. Type an expression in the field.
  2. Read the result below it; errors are shown while the expression is incomplete.
  3. Copy the result.

Things worth knowing

Frequently asked questions

Why does 0.1 + 0.2 not give exactly 0.3?
Binary floating point cannot represent 0.1 or 0.2 exactly, a limitation of nearly every calculator and programming language. Wrap the expression in round(..., 2) to display a clean result.
Can I convert units?
Yes, math.js understands many units: write a value with its unit and to followed by the target unit, for example 3 ft to m or 1 GB to MB.

All the tools