Scientific Calculator
Evaluate a typed or tapped expression with trig, logs, powers and factorials — set degrees or radians before you press sin, and expect a blank instead of Infinity on illegal input.
How to use
- Set Degrees or Radians before any trig function.
- Type or tap the expression. Functions need parentheses: sin(30), not sin30.
- Read the finite result. Illegal operations stay empty.
- Use the dedicated log, root or quadratic pages when you want a single identity explained in prose.
How it works
This is a general expression evaluator, not one formula. Precedence is ordinary algebra: × and ÷ before + and −. Exponentiation associates to the right, so 2^3^2 is 2^(3^2) = 512, not (2^3)^2 = 64. Unary minus binds after powers: −2^2 is −4. Write (−2)^2 for +4.
log is base 10; ln is base e. In degree mode sin(30) = 0.5; in radians use sin(pi/6). tan(90°) is undefined and is rejected. Even roots of negatives and division by zero are also rejected — no Infinity, no NaN.
Factorial is defined for integers 0 through 170. 0^0 is undefined. The parser is not JavaScript eval; you cannot call browser APIs.
If the job is only a logarithm, a quadratic or a single root, the specialist pages document the identity more clearly. This page is for mixed homework lines.
Percent and fraction buttons are not here: 20% of 80 is the percentage calculator, 3/8 as a decimal is the fraction-to-decimal page. Angle mode is sticky for the session of the widget — check it when you switch from a geometry worksheet (degrees) to a calculus line (radians).
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
Expressions that surprise people
| Typed | Result | Why |
|---|---|---|
| 2*3+4 | 10 | Multiply first |
| 2^3^2 | 512 | Right-associative tower |
| -2^2 | −4 | Minus after the power |
| sin(30) | 0.5 | Degrees mode |
| log(1000) | 3 | Common log |
| 5! | 120 | Integer factorial |
Useful notes
- Not JavaScript eval.
- Trig mode is a global switch — check it before sin/cos/tan.
- Illegal results stay empty instead of Infinity.
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.
- What is 2^3^2?
512, because the towers evaluate from the top: 2^(3^2).
- Why is tan(90) blank in degree mode?
The tangent has a vertical asymptote at 90°. The page refuses Infinity.
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.