Scientific calculator

Type a whole expression or build it with the keys, and the answer appears as you go. Brackets, powers, trigonometry, logarithms and roots follow the usual order of operations.

What you type stays in your browser

Angle unit
Ans = 0
0

Enter or = calculates, Esc clears. Type root(x, n) for an nth root and log(x, n) for a logarithm to base n, e.g. root(27, 3) = 3 and log(8, 2) = 3. EXP enters a power of ten: 6.02E23.

In short

Enter the expression and press = or Enter. The calculator applies brackets first, then powers, then multiplication and division, then addition and subtraction, so 2 + 3 × 4² = 50. Switch DEG or RAD for trigonometry: sin(30) = 0.5 in degrees.

How to use the scientific calculator

  1. Choose DEG or RAD at the top of the display before using sin, cos, tan or their inverses; DEG is the default.
  2. Type the expression with your keyboard or tap the keys. Function keys such as sin, log and √x insert the function with an opening bracket, ready for its argument.
  3. Watch the preview under the expression, then press = or Enter to fix the result. It goes into the History list and into Ans for the next calculation.
  4. If something is wrong, the display explains it, for example a missing number after an operator or the square root of a negative number. Fix it with the delete key or press AC or Esc to clear.

Why the order of operations matters

A scientific calculator reads the whole line before it calculates. Powers are done before multiplication, and multiplication before addition, so 2 + 3 × 4² is 2 + 3 × 16 = 50, not 400. Powers stack from the right: 2^3^2 means 2^9 = 512. A minus sign in front of a power applies after the power, so −2² is −4, while (−2)² is 4.

Writing two things side by side means multiplication, as in algebra: 2π is about 6.283 and 3(4 + 5) is 27. Implicit multiplication has the same priority as ×, so 1/2π is (1/2) × π. Add brackets, 1/(2π), when you mean one divided by two pi.

Frequently asked questions

Why does sin(30) give 0.5 here but −0.988 on another calculator?

The other calculator is in radian mode, where 30 means 30 radians, not 30 degrees. Check the DEG and RAD switch: in DEG, sin(30) = 0.5 and cos(60) = 0.5; in RAD, sin(π/6) = 0.5. One full turn is 360 degrees or 2π radians, about 6.283.

How do I calculate a cube root or any nth root?

Press ⁿ√x or type root(x, n): root(27, 3) = 3 and root(32, 5) = 2. Odd roots of negative numbers work too, so root(−8, 3) = −2. For a square root use √x: √(16) = 4. Powers with fractions do the same job, since 27^(1/3) is also 3.

How do I take a logarithm to a base other than 10?

Type log(x, base): log(8, 2) = 3 because 2³ = 8, and log(81, 3) = 4. Plain log(x) is base 10, so log(1000) = 3, and ln(x) is the natural logarithm with base e, so ln(e) = 1. Logarithms are only defined for numbers above 0.

How do I enter numbers in scientific notation?

Press EXP or type a capital E between the number and the power of ten. 6.02E23 means 6.02 × 10²³ and 1.6E−19 means 1.6 × 10⁻¹⁹. Results larger than 10¹⁵ or smaller than 10⁻⁹ are shown the same way, for example 2^64 = 1.8446744074E19.

What does Ans do?

Ans holds the last result you confirmed with =. Starting a new line with an operator uses it automatically, so after 12 × 3 = 36, typing + 4 and = gives 40. You can also type Ans anywhere in an expression, as in √(Ans).

Why is tan(90) an error?

tan is sine divided by cosine, and cos(90°) is exactly 0, so tan(90°) would be a division by zero. The same happens at 270° and every 180° from there, or π/2 + kπ in radians. The calculator also shows cos(90°) as exactly 0 rather than a tiny rounding leftover such as 6.1E−17.

How does the percent key work?

On its own % divides by 100, so 50% = 0.5 and 80 × 25% = 20. After + or −, the percentage is taken of the number before it, as on a phone: 50 + 10% = 55 and 200 − 25% = 150.

What is the largest factorial it can calculate?

170! is the largest, about 7.257E306; 171! is beyond the largest number a computer can store (about 1.8E308), so the calculator reports an overflow. Factorials of fractions use the gamma function, for example 0.5! ≈ 0.886227, which is half of √π.

Functions and how to type them

Every key has a typed form, so you can work entirely from the keyboard. Function names need their argument in brackets; a missing closing bracket at the end is added for you, so sqrt(2 works like sqrt(2).

  • Arithmetic: + − × ÷ (or * and /), ^ for powers, ! for factorial, % for percent.
  • Trigonometry: sin, cos, tan and asin, acos, atan for the inverses (also arcsin...), in degrees or radians.
  • Hyperbolic: sinh, cosh, tanh and asinh, acosh, atanh.
  • Logarithms and exponentials: log (base 10), ln (base e), log(x, n), exp(x) or e^x, 10^x.
  • Roots: √ or sqrt, cbrt for cube roots, root(x, n) for any root.
  • Constants: π (or pi), e, and Ans for the previous answer.

Reference values for checking your work

These results are worth knowing by heart, since they make it easy to spot when the calculator is in the wrong angle mode or a bracket is missing.

  • sin 30° = 0.5, cos 60° = 0.5, tan 45° = 1, sin 90° = 1, cos 90° = 0.
  • π ≈ 3.14159265359, e ≈ 2.71828182846, √2 ≈ 1.41421356237.
  • log(2) ≈ 0.30103, ln(2) ≈ 0.693147, ln(10) ≈ 2.302585.
  • 10! = 3,628,800, and 2^10 = 1,024.

Precision and rounding

Calculations use double-precision floating point, the same as spreadsheets and programming languages, and results are shown to 12 significant digits. That hides binary rounding noise, so 0.1 + 0.2 shows 0.3 and sin(180°) shows 0 instead of 1.2E−16. For simple sums with a running total, the basic calculator is quicker, and percentage questions in words are easiest in the percentage calculator.

How your files stay private

This tool runs with JavaScript inside your browser tab. What you type, the settings you choose and the results stay in the page's memory and disappear when you close it. Nothing is sent to a server; a few display settings may be remembered in your own browser.

Last updated Nov 20, 2026