Scientific Calculator

A full scientific calculator with trig, logs, powers, roots and parentheses - type on the display or tap the keys, with the last ten results kept for reuse.

-

Order of operations, done right

This is not a calculator that adds up left to right. It parses your whole expression and applies proper precedence: parentheses first, then powers and roots, then multiply and divide, then add and subtract. That is why 2 + 3 * 4 is 14, while (2 + 3) * 4 is 20. Powers are right-associative, so 2^3^2 is 2^(3^2) = 512. Implicit multiplication works too: 2(3 + 1) is 8 and 2pi is about 6.283.

The DEG vs RAD trap

The single most common wrong answer people get from a scientific calculator is a trig function in the wrong angle mode. In degrees, sin(30) = 0.5. In radians the same keystrokes give roughly -0.988, because 30 radians is nearly five full turns. This tool starts in DEG and shows the mode clearly above the keypad. Inverse trig (sin⁻¹, cos⁻¹, tan⁻¹) returns its answer in the current mode as well.

Worked examples

  • 5! = 120 - factorial multiplies 5 x 4 x 3 x 2 x 1.
  • sqrt(144) = 12, and log(1000) = 3 (base 10).
  • ln(e) = 1, since natural log is base e.
  • 2^10 = 1024, and (1/0) shows an error rather than infinity.

Domain errors are caught and explained in plain words: the square root of a negative number, the log of zero, a factorial of a decimal, or a division by zero all show a friendly message instead of NaN. For quick everyday sums try the percentage calculator, and for working with fractions the fraction calculator keeps things exact.

Frequently asked questions

What order does the calculator do operations in?
Standard order of operations: parentheses first, then powers and roots, then multiplication and division, then addition and subtraction. So 2 + 3 * 4 is 14, not 20, because the multiplication happens before the addition. Use parentheses to force a different order: (2 + 3) * 4 is 20.
Why does sin(30) give 0.5 sometimes and -0.988 other times?
Because of the angle mode. In DEG mode sin(30) treats 30 as degrees and returns 0.5. In RAD mode it treats 30 as radians and returns about -0.988. This tool defaults to DEG. Check the DEG/RAD switch above the buttons before trusting a trig answer.
How is a power like 2^3^2 evaluated?
Powers are right-associative, so 2^3^2 means 2^(3^2) = 2^9 = 512, not (2^3)^2 = 64. This matches standard mathematical convention and what most scientific calculators do.
Can I use the keyboard instead of the buttons?
Yes. Type digits and operators straight into the display, use ( and ), type function names like sin( or sqrt(, and press Enter or = to evaluate. Backspace deletes the last character. The on-screen buttons just mirror the keyboard.
What does the factorial button do with a decimal?
Factorial is only defined for whole numbers 0 and above, so 5! = 120 but 4.5! shows a friendly error rather than a wrong number. For non-integer factorials you would need the gamma function, which this tool does not include.