Math Expression Evaluator
Powerful mathematical expression evaluator supporting functions, constants, units, and complex calculations. Powered by Math.js.
Evaluation Settings:
Quick Functions:
┌─ Math Results ─┐
│ │
│ 🧮 Enter a │
│ mathematical │
│ expression │
│ to see the │
│ result here! │
│ │
└────────────────┘About Math Expression Evaluator
A powerful mathematical expression evaluator powered by Math.js. Supports advanced mathematical functions, constants, units, matrices, complex numbers, and much more.
Basic Operations:
- Addition, Subtraction (+, -)
- Multiplication, Division (*, /)
- Exponentiation (^, **)
- Modulo (%)
Functions:
- Trigonometric (sin, cos, tan)
- Logarithmic (log, ln)
- Square root (sqrt)
- Absolute value (abs)
Advanced:
- Matrices and vectors
- Complex numbers
- Units and conversions
- Statistics functions
Constants:
- pi, e, i (imaginary unit)
- Infinity, NaN
- Physical constants
- Custom variables
Basic Calculations:
sqrt(25)
2^10
abs(-5)
Trigonometry:
cos(0)
tan(pi/4)
asin(0.5)
Matrices:
det([[1, 2], [3, 4]])
inv([[1, 2], [3, 4]])
Units:
100 km/h to m/s
1 year to seconds
🔢 What number types are supported?
The evaluator supports regular numbers, BigNumbers for high precision, and Fractions for exact rational calculations.
📐 How do I work with angles?
You can switch between radians and degrees in the settings. Use functions like sin(90 deg) or cos(pi rad).
🔧 What does "Predictable" mode do?
Predictable mode ensures deterministic results by disabling random functions and making calculations reproducible.
💾 Is calculation history saved?
Yes, your calculation history is stored locally in your browser and persists between sessions.
Related Tools
You might also find these useful

Fraction Calculator
Add, subtract, multiply, and divide fractions. Simplify fractions, convert decimals, and work with mixed numbers easily.

Pythagorean Theorem Calculator
Calculate the missing side of a right triangle using the Pythagorean theorem (a² + b² = c²). Free online calculator with step-by-step solutions.

Eta Calculator
Calculate the estimated time of arrival (ETA) for a task.

JSON XML Converter
Convert JSON to XML format easily. Transform data between these popular formats with this free online tool.

JSON TOML Converter
Convert JSON to TOML format easily. Transform data between these popular formats with this free online tool.

JSON Formatter
Format and beautify JSON with customizable indentation. Supports JSON5, comments, trailing commas and advanced formatting options.