Scientific Calculator
Enter an expression — or use the keys — to evaluate powers, roots, logs, factorials and trigonometry. Switch the angle mode before using sin, cos or tan.
How it works
The calculator parses the expression with ordinary algebraic rules: multiplication and division before addition, and exponentiation from the right, so 2^3^2 is 512. Unary minus applies after powers, so −2^2 is −4.
Functions need parentheses: sin(30), not sin30. In degree mode, sin(30) is 1/2; in radians, use sin(pi/6). log is common log (base 10); ln is natural log.
Division by zero, even roots of negatives, and tan of 90° are rejected instead of printing Infinity.
Formula
2×3+4 = 10 2^3^2 = 2^(3^2) = 512 −2^2 = −(2^2) = −4 sin(θ) uses degrees or radians from the angle-mode control
Worked examples
Mixed arithmetic
2*3+4 → 10
Sine in degrees
sin(30) with angle mode = degrees → 0.5
Useful notes
- Expressions are evaluated in the browser. There is no eval of arbitrary JavaScript.
- Factorial accepts integers from 0 to 170. 0^0 is treated as undefined.
FAQ
- Is this in degrees or radians?
Whichever you select. The default is degrees, so sin(30) is 0.5. Switch to radians for sin(pi/6).
- What does log mean here?
log is log base 10. Use ln for the natural logarithm, or open the log calculator if you want a custom base.
- Why is −2^2 equal to −4?
Exponentiation binds tighter than the leading minus, so the expression is −(2²). Write (−2)^2 if you want +4.
Related tools
Log Calculator
Compute a logarithm in base 10, base e, base 2, or any custom positive base other than 1.
Exponent Calculator
Raise a base to a power, including negative and fractional exponents, with overflow rejected.
Root Calculator
Find the nth root of a number, including odd roots of negatives such as the cube root of −8.
Scientific Notation
Convert a decimal to normalized scientific notation, or turn a coefficient and exponent back into a number.
Quadratic Formula
Solve ax² + bx + c = 0 for real roots, and see the discriminant and vertex.
See all Math tools.