Math Expression Evaluator
Powerful mathematical expression evaluator supporting functions, constants, units, and complex calculations. Powered by Math.js.
Evaluation Settings:
Quick Functions:
0 chars
┌─ Math Results ─┐
│ │
│ 🧮 Enter a │
│ mathematical │
│ expression │
│ to see the │
│ result here! │
│ │
└────────────────┘
0 chars
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.
🧮 Supported Features
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
📚 Examples
Basic Calculations:
2 + 3 * 4
sqrt(25)
2^10
abs(-5)
sqrt(25)
2^10
abs(-5)
Trigonometry:
sin(pi/2)
cos(0)
tan(pi/4)
asin(0.5)
cos(0)
tan(pi/4)
asin(0.5)
Matrices:
[[1, 2], [3, 4]] * [[5, 6], [7, 8]]
det([[1, 2], [3, 4]])
inv([[1, 2], [3, 4]])
det([[1, 2], [3, 4]])
inv([[1, 2], [3, 4]])
Units:
5.08 cm to inch
100 km/h to m/s
1 year to seconds
100 km/h to m/s
1 year to seconds
❓ Frequently Asked Questions
🔢 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.