Scientific Calculator
Type a full expression and get an instant answer, with trig, logs, powers, roots, factorials and a history.
=
Memory: 0
History
Press = (or Enter) to store a calculation here. Click any entry to reuse it.
Supported: + − * / ^ ! mod, brackets, pi, e,
ans, and sin cos tan asin acos atan sinh cosh tanh ln log log2 sqrt cbrt
abs exp round floor ceil.
How it works
This scientific calculator evaluates a whole expression at once instead of one keystroke at a
time, so you can type or tap something like sin(30) + 2^5 and read the answer the
moment it becomes valid. It follows standard order of operations — brackets, factorials,
powers, then multiplication and division, then addition and subtraction — and powers are
right-associative, so 2^3^2 is 512, not 64. Trigonometric functions respect the
Degrees / Radians switch, and ans pastes the previous answer into a new
calculation.
Everything is parsed and calculated by JavaScript inside your browser using a small
recursive-descent parser and the native Math library: nothing is uploaded, there
is no account, and no ads or trackers watch what you compute. Press = or
Enter to push a calculation into the history list, click a history entry to load it
back into the input, and use Copy or Download to take the result or the full history with you
as plain text. Memory keys (MC, MR, M+, M−) work like the ones on a physical calculator.
Frequently asked questions
How do you calculate sin, cos and tan in degrees or radians?
Type the function with brackets, for example sin(30), and pick the angle unit with the Degrees / Radians switch above the keypad. In Degrees, sin(30) = 0.5; in Radians, sin(pi/2) = 1. The inverse functions asin, acos and atan return their answer in the same unit you selected, so switching the toggle instantly re-calculates every trig result on the page.
What does the ^ button mean on a calculator?
The caret ^ raises a number to a power: 2^5 means 2 to the fifth power, which is 32. Powers are right-associative, so 2^3^2 is read as 2^(3^2) = 512, not (2^3)^2 = 64 — add brackets if you want the other reading. For roots use sqrt(x) or cbrt(x), or a fractional exponent such as 8^(1/3) = 2.
Is this scientific calculator free and private?
Yes. Every expression is parsed and evaluated by JavaScript running inside your own browser, so nothing you type is uploaded, logged or sent to a server. There is no account, no ads and no trackers, and the calculation history lives only in the page until you clear it or close the tab. You can copy the result or download the whole history as a plain text file.