Scientific Calculator
Trigonometry, logarithms, powers and factorials, with a keypad and a running history.
A Calculator That Does Not Evaluate Your Typing As Code
Almost every online calculator hands your expression to the browser's own evaluator, because it is one line to write. That also means anything typed into the box is executed, and the box is filled from whatever link brought you here. This one parses the expression itself — a small grammar of sums, products, powers and functions — and anything outside it is refused by name rather than run.
The arithmetic follows the conventions you learned rather than the ones that happened to fall out of an implementation: powers bind tighter than a leading minus, so minus two squared is minus four; powers group from the right, so 2^3^2 is 2^9; and results are rounded to the precision the hardware can actually defend, which is why 0.1 + 0.2 reads as 0.3.
Key features
- Full function set — sine, cosine and tangent with their inverses, hyperbolics, natural and base-10 logarithms, exponentials, roots, absolute value and factorial.
- Degrees or radians — switched with one click, applied to inputs and inverse outputs alike.
- Live preview — the result updates as you type, before you press equals.
- Reusable history — the last dozen calculations, each clickable to bring it back.
- Errors in plain words — "a bracket was opened and never closed" rather than NaN.
This tool runs entirely inside your browser using native Web APIs. Your files and text are never uploaded to a server, never logged and never shared with third parties.
How to use: Scientific Calculator
- Type or press keys
The keyboard works throughout; Enter evaluates. - Choose degrees or radians
sin(45) is 0.7071 in degrees and 0.8509 in radians. - Press equals
The result is added to the history and becomes available as Ans. - Reuse a line
Click any history row to bring that expression back for editing.
Technical specifications
| Processing location | Entirely in your browser — no server round trip |
|---|---|
| Data uploaded | None. Files and text never leave your device |
| Price | Free — no account, no trial, no usage cap |
| Category | Calculators |
| Works offline | Yes, once the page has loaded |
| Browser support | Chrome 90+, Edge 90+, Firefox 90+, Safari 15+ |
| Interface languages | English, 中文, हिन्दी, Español, العربية |
Frequently asked questions
Why is -2^2 negative four?
Because exponentiation binds more tightly than a leading minus sign, so the expression means -(2^2). That is the standard mathematical convention and what a scientific calculator, a textbook and most programming languages all do. To square negative two, write (-2)^2, which gives four.
What does 2^3^2 equal?
512. Exponentiation groups from the right, so it means 2^(3^2), which is 2^9. Reading it left to right would give 8^2, which is 64 — a difference big enough to matter, and the reason the convention is worth knowing.
Why does 0.1 + 0.2 show as 0.3 here?
The hardware really does compute 0.30000000000000004, because neither 0.1 nor 0.2 can be represented exactly in binary. The result is rounded to fifteen significant figures for display, which is the point past which the last digits are noise rather than information. Every calculator does this; most do not say so.
Can I use the answer from the last calculation?
Yes — the Ans key inserts it. It holds the last result you pressed equals on, so you can chain a long calculation without copying numbers back and forth.
Does anything I type get sent anywhere?
No. The parser runs in the page, the history lives in memory and disappears when you close the tab, and no request is made. Nothing is stored between visits either, deliberately — a calculator that remembers your last session is a calculator that has kept it somewhere.