Scientific Calculator
Type an expression — powers, roots, logs, brackets and trigonometry — or tap the keypad, and the answer updates on every keystroke. Angles are in radians.
Enter your details above — results update as you type.
Formula and calculation
Worked example
The default input is sqrt(2), which evaluates to 1.4142; the Expression line echoes sqrt(2) back, and results refresh on every keystroke — the keypad's equals key only repeats what you can already see.
Why answers stop at four decimal places
The math runs at full double precision — about 15 significant digits — and only the display is rounded, to at most 4 decimal places with trailing zeros dropped. So 1 ÷ 3 shows 0.3333 while the stored answer is 0.3333333333333333, and 0.1 + 0.2 shows 0.3 even though the exact value held in the machine is 0.30000000000000004. That is how binary floating point works in every calculator and spreadsheet, not a fault in this one. When you need exact fractions, the fraction calculator keeps numerators and denominators instead of turning them into decimals.
What the results mean
- Result
- The value of your expression, computed at full precision and shown to at most 4 decimal places. Angles are in radians, so sin(pi/2) is 1 while sin(90) is about 0.894.
- Expression
- Your expression echoed back exactly as entered, trimmed of surrounding spaces. It is evaluated with standard precedence, so 2 + 3 × 4 is 14 and 2^3^2 is 512.
Frequently asked questions
How do I enter a power or a root?
Use ^ for powers and sqrt() for square roots: 2^10 is 1,024, sqrt(2) is about 1.4142, and cbrt(27) is 3. Watch the minus sign — -2^2 is -4 because the power comes first, while (-2)^2 is 4.
Does this calculator use degrees or radians?
Radians, as in mathematics and programming. To work in degrees, multiply by pi and divide by 180: the sine of 30° is sin(30 × pi ÷ 180), which comes out as 0.5.
Why does tan(pi/2) print a huge number instead of an error?
Because pi/2 cannot be stored exactly: the calculator holds 3.141592653589793, whose half is a fraction less than the true pi/2, so its tangent is a very large number — about 1.6 × 10^16 — rather than undefined. The true tangent of a right angle does not exist; results like this are the signature of floating-point arithmetic.
What order of operations does it follow?
Brackets first, then powers, then multiplication and division, then addition and subtraction — the usual algebra rules. Equal-precedence work runs left to right except powers, which bind right to left: 2^3^2 is 2^9 = 512, not 8^2.
Can I use variables, memory or an angle mode switch?
No — this evaluates numeric expressions only. There are no variables, no memory keys and no degree/radian toggle, so a graphing or programmable calculator is the right tool for that. Nothing you type leaves your browser.