Scientific Calculator
Type it or tap it. Trig, logs, powers, roots, constants, memory and a history you can click back into.
History
Click any line to drop it back into the entry box. Answers are also available as ans.
- Nothing yet — work something out and it will collect here.
How to use this calculator
Step by step
- Type an expression the way you would write it —
3(4+5),2^10,sin(30)— or tap the keys. The two are interchangeable. - 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.
- Switch between DEG and RAD before doing trig. The flag applies at the moment you evaluate, so flipping it re-runs the preview immediately.
- Use
ansto reuse the last answer andmto use memory. M+ adds whatever is currently in the box to memory. - 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)and4sqrt(9)all work. - Functions always need their brackets.
sin 30is rejected on purpose —sin 30 + 5is ambiguous and silently guessing is how wrong answers happen. ^is right-associative, so2^3^2is 2⁹ = 512, matching standard mathematical convention rather than left-to-right.- Bars give absolute value:
|3-7|is 4. So doesabs(3-7). - Factorial works on non-integers too, via the gamma function —
0.5!is ≈ 0.8862, which is √π ⁄ 2. - Use
Efor 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.