Type a math expression to evaluate it, using standard order of operations.
How to Use the Online Math Calculator
Type an expression directly into the field — something like 3*(4+5)/2 or 2^10 + sqrt(16) — and the result appears as you type. Use ^ for exponents, parentheses for grouping, and sqrt(), sin(), cos(), tan(), log(), or ln() for functions.
This is the "write it the way you'd write it on paper" calculator. The site's Basic Calculator works differently — it chains whatever buttons you press in the order you press them, with no concept of operator precedence. The Simple Math Calculator is narrower still: one operation, two numbers, nothing more. Type 3+4*2 into either of those and you won't get the answer you'd get here, because neither respects that multiplication happens before addition. This calculator does, exactly the way the expression looks on the page: exponents first, then multiplication and division left to right, then addition and subtraction.
3 + 4 × 2 = 3 + 8 = 11 (not 14)
Parentheses override that order wherever you put them, same as on paper. A leading minus sign works too — -5+2 evaluates as negative five plus two, not a syntax error.
Trig functions use radians, not degrees, so sin(pi/2) is 1, not sin(90). log() is base 10; ln() is natural log. And no, this doesn't run your text through JavaScript's eval() — that would be a genuine security hole on a public page. What's actually parsing the expression is a small hand-written recursive-descent parser built for exactly this grammar: it recognizes numbers, the operators above, and those six function names, and nothing else. Type gibberish and it reports a parse error instead of trying to execute anything.