Free tool · Instant
Scientific calculator
Type the whole expression — 2(3+4)^2 - sqrt(16) — and watch the answer as you go. Brackets, trigonometry, logs, factorials, and implicit multiplication like 2pi.
Calculator
0
How to use it
Type directly into the display — the keypad is there for a phone, not instead of a keyboard. Press Enter to keep a line on the tape.
sin cos tan · asin acos atan · sinh cosh tanh
ln log log2 · sqrt cbrt abs exp
round floor ceil sign · mod · ! · % · pi · e
It does not use eval, and that is the point
Almost every calculator on the web takes what you type and hands it to eval() or new Function(). Both execute arbitrary JavaScript. It works, it is three lines, and it means the box you type 2+2 into is a box that will run whatever else is put in it — on a page people paste things into from elsewhere.
This one reads the expression properly: it splits it into tokens, rearranges them into reverse Polish notation with the shunting-yard algorithm, and evaluates that over a fixed table of numeric operations. The set of things it can do is the set of things listed above, and nothing typed into it can add to that set. The site's Content Security Policy blocks eval outright as well, so an eval-based calculator would not even run here.
Things it gets right that catch people out
-3^2is -9, not 9. The minus applies to the result of the power. Write(-3)^2for 9.2^3^2is 512, not 64 — powers group right to left, so it is 2^(3^2).2(3+4)is 14. Implicit multiplication works, which is what you would write on paper and whatevalwould refuse.0.1 + 0.2shows 0.3. Binary floating point actually gives 0.30000000000000004; the display rounds to twelve significant figures, which hides the noise without hiding anything real.7 mod 3is 1, and50%on its own is 0.5.
Degrees or radians
It starts in radians, which is what every programming language and every calculus course uses. The RAD button switches to degrees if that is what your question is in — and it converts both ways, so asin(0.5) gives 30 in degree mode and 0.5236 in radians.
Questions
Can I use my keyboard?
Yes — type straight into the display. The keypad exists for phones. Enter puts the current line on the tape above.
Is anything sent anywhere?
No. It runs in your browser, there is no history sent anywhere, and nothing is stored.
Why does it not have a graph?
Because doing graphing properly is a much bigger job than doing it badly, and a bad one helps nobody. If you would use it, say so and we will look at it.
More free tools
GPA & CGPA calculator · Typing speed test · Text case converter · Word counter · Resume & CV maker
All free, all running entirely in your browser. Built by Maxverse Lab, a software studio in Karachi.