Scientific Calculator

Type it or tap it. Trig, logs, powers, roots, constants, memory and a history you can click back into.

Instant answers Works offline once loaded Nothing you type is sent anywhere Full keyboard entry Clickable history DEG / RAD
0
M 0 Enter evaluates · Esc clears · Ctrl+↑ recalls

History

Click any line to drop it back into the entry box. Answers are also available as ans.

Instructions

How to use this calculator

Step by step

  1. Type an expression the way you would write it — 3(4+5), 2^10, sin(30) — or tap the keys. The two are interchangeable.
  2. Press Enter (or =) to commit the answer. Until then the big number is a live preview, so you can watch a long expression take shape.
  3. Switch between DEG and RAD before doing trig. The flag applies at the moment you evaluate, so flipping it re-runs the preview immediately.
  4. Use ans to reuse the last answer and m to use memory. M+ adds whatever is currently in the box to memory.
  5. Click any line in the history to paste it back in — useful for changing one number in a long formula instead of retyping it.

Good to know

  • Multiplication signs are optional next to brackets and constants: 2pi, 3(x+1) and 4sqrt(9) all work.
  • Functions always need their brackets. sin 30 is rejected on purpose — sin 30 + 5 is ambiguous and silently guessing is how wrong answers happen.
  • ^ is right-associative, so 2^3^2 is 2⁹ = 512, matching standard mathematical convention rather than left-to-right.
  • Bars give absolute value: |3-7| is 4. So does abs(3-7).
  • Factorial works on non-integers too, via the gamma function — 0.5! is ≈ 0.8862, which is √π ⁄ 2.
  • Use E for scientific notation: 6.02E23.

The maths behind it

  • Order of operations brackets → functions → ! → ^ → × ÷ mod → + − Unary minus binds tighter than ×, looser than ^, so −3² is −9.
  • Change of base log_b(x) = ln(x) ÷ ln(b) Use this when you need a logarithm in a base other than 10 or e.
  • Degrees and radians radians = degrees × π ÷ 180 The DEG/RAD switch does this for you on the trig functions.
  • Factorial by gamma n! = Γ(n + 1) Lets the factorial key answer for fractional inputs.
Which functions are available?

sin, cos, tan and their inverses; sinh, cosh, tanh; ln, log (base 10), log2, exp; sqrt, cbrt, abs, sign; round, floor, ceil; min, max; and the constants pi, e, plus ans and m.

Why does sin(30) give 0.5 here but −0.988 on my phone?

Your phone is in radians. This page starts in degrees because that is what most homework uses; the RAD button switches it and the flag always shows which mode is live.

How precise are the answers?

Everything runs in IEEE-754 double precision — about 15–17 significant digits — and results are shown to 12 to hide the usual binary-floating-point noise. That is the same precision as a typical desktop scientific calculator.

Is anything sent anywhere?

No. The parser and evaluator run entirely in your browser. Once this page has loaded it works with the network off.