0

Enter an expression and press = to see steps.

( 2+3 ) × 4² √144 + 5² sin(π/2) log(1000) °F → °C 5 ! |−42|

History

How to Use the Expression Calculator

Type any mathematical expression into the input field or use the keypad buttons, then press = or hit Enter to evaluate it instantly. The expression calculator follows standard PEMDAS order of operations — Parentheses first, then Exponents, then Multiplication and Division (left to right), and finally Addition and Subtraction (left to right).

Toggle "Step-by-step solution" after calculating to see exactly how the expression was broken down and evaluated. Click any chip in the examples row to load a sample expression and see it calculated immediately.

Supported Operators & Functions

+ − * /
Arithmetic
^
Exponent (2^8)
( )
Grouping
sqrt( )
Square root
sin cos tan
Trig (radians)
log( ) ln( )
Logarithms
abs( )
Absolute value
pi   e
Constants
n!
Factorial
%
Percent (÷100)

Order of Operations (PEMDAS / BODMAS)

This expression calculator strictly follows the standard mathematical order of operations. Whether you call it PEMDAS (used in the USA) or BODMAS (used in the UK and elsewhere), the rules are the same:

LetterMeaningExample
P / BParentheses / Brackets(2 + 3) = 5 first
E / OExponents / Orders2^4 = 16
MMultiplication3 * 4 = 12
DDivision12 / 4 = 3
AAddition3 + 4 = 7
SSubtraction7 − 2 = 5

Multiplication and division are performed together, left to right — not multiplication before division. The same applies to addition and subtraction. This calculator handles all edge cases correctly.

Frequently Asked Questions

An expression calculator is an online tool that evaluates mathematical expressions — combinations of numbers, operators (+, −, ×, ÷), parentheses, exponents, and functions — and returns a numerical result. It follows standard order of operations (PEMDAS/BODMAS) to ensure mathematically correct answers every time.
This calculator evaluates numerical expressions — expressions where all values are known numbers. For algebraic expressions containing variables (like 2x + 5), substitute a specific number for each variable first, then enter the resulting numerical expression here.
Use the caret symbol (^) for exponents. For example, type 2^10 to calculate 2 to the power of 10 (= 1024). You can also use the xⁿ button on the keypad. For square roots, use sqrt(25) or the √ button.
Trigonometric functions (sin, cos, tan) use radians, following standard mathematical convention. To convert degrees to radians, multiply by π/180. For example, sin(90°) in radians is sin(pi/2) which equals 1.
Use the % operator, which divides the preceding number by 100. For example, 200 * 15% calculates 15% of 200 = 30. You can also write 200 * 0.15.
Yes — after evaluating an expression, tap "Step-by-step solution" to expand a panel showing exactly how the expression was broken down, including which parentheses were resolved first, exponent calculations, and arithmetic operations in the correct PEMDAS order.