Scientific Calculator
A scientific calculator with stated precedence (−2^2 = −4, 2^3^2 = 512), a visible degree/radian switch and real-domain errors instead of NaN.
The answer appears here.
Also accepted: sinh cosh tanh asinh acosh atanh cbrt root(x, n) abs log2 floor ceil round sign mod(a, b) min max tau, × ÷ − √ π. Implicit multiplication (2x, 2(3+1), 3sin(30)) has the same precedence as ×.
History
Kept in this page only. Each line records its angle mode.
No calculations yet.
How to use this calculator
- Type an expression or use the keypad, e.g. 2*sin(30)+1. Check the Degrees/Radians switch before using trig.
- Press = or Enter. The answer shows with the expression it came from and how it was read; Esc (CE) clears the entry and AC also clears Ans and memory.
- Reuse Ans or memory (M+, M−, MR), and edit or copy past lines from the history — each line records its angle mode.
How it works
Precedence, lowest to highest: + −; × ÷ (and implicit multiplication such as 2π or 3sin(30)); unary minus; ^ (right-associative); factorial !. So −2^2 = −(2²) = −4, (−2)^2 = 4 and 2^3^2 = 2^9 = 512.
log is base 10 and ln is the natural logarithm. Real-number mode only: ln(0), the square root of a negative, 1/0, tan(90°) and similar are reported as errors with the position of the problem — never shown as Infinity or NaN. Brackets are never closed for you.
Results are binary floating point shown to your chosen significant figures, so 0.1 + 0.2 displays 0.3 while the full value (0.30000000000000004) stays inspectable. Nothing is executed as code.
Worked example
2 × sin(30) + 1 in degree mode. sin(30°) = 0.5, so 2 × 0.5 + 1 = 2. The same keys in radian mode give 2 × sin(30 rad) + 1 ≈ −0.976063, which is why the mode matters.
Common mistakes
- Leaving the mode on radians when entering degrees (or vice versa) — check the switch above the expression.
- Expecting −2^2 to be 4: the power is applied first. Write (−2)^2 for 4.
- Typing sin 30 without brackets — write sin(30).
Frequently asked questions
Which power precedence?
Powers bind tighter than a leading minus and are right-associative: −2^2 = −4 and 2^3^2 = 2^(3^2) = 512. Put brackets around a negative base, (−2)^2, when you mean the square of −2.
What does log mean?
log is the base-10 logarithm (log(1000) = 3). ln is the natural logarithm (base e) and log2 is base 2. Logarithms of zero or negative numbers are reported as domain errors.
Why do angle modes change answers?
sin, cos and tan read their input as degrees or radians, and the inverse functions return an angle in the same mode. sin(30) is 0.5 in degrees but about −0.988 in radians, because 30 radians is roughly 1,719°.
Related tools
- Basic Calculator
- Graphing Calculator
- Factorial Calculator
- Scientific Notation Converter
- Fraction Calculator
- Rule of Three Calculator
Explore more in Maths, Education & Science.
Cite this tool
Zerdly. (2026). Scientific Calculator. Retrieved from https://www.zerdly.com/tools/scientific-calculator/
Tip: Enter any known values to calculate the remaining results.
Designed to run locally in your browser. Tool inputs are not intentionally stored by Zerdly unless stated otherwise.



