No upload, 100% local, no account

Scientific calculator

Type or tap an expression, functions, powers and constants, and see the result instantly, all in your browser.

How Scientific calculator works

The scientific calculator evaluates whole expressions, not just one operation at a time. Type something like 2*sin(pi/4)^2 + ln(e) and get the answer instantly, with correct operator precedence, parentheses, powers, trigonometry (sin/cos/tan and their inverses), logarithms (log, ln), square root, exp, abs, and the constants π and e. A degree/radian switch controls the trig functions.

The expression is parsed by a shunting-yard tokeniser rather than JavaScript eval, so a stray bracket or unknown name returns a clear error instead of running arbitrary code.

Frequently asked questions

What can I type?

Numbers (including 1e3 notation), + − × ÷, ^ for powers, parentheses, the constants pi and e, and functions sin, cos, tan, asin, acos, atan, log (base 10), ln, sqrt, exp and abs.

Degrees or radians?

Switch the angle mode to control sin/cos/tan and their inverses. In degree mode, sin(90) = 1; in radian mode, sin(pi/2) = 1.

Is it safe, does it use eval?

No. The expression is tokenised and evaluated with a shunting-yard parser written from scratch, so arbitrary code cannot run. Everything stays in your browser.

Does it work offline?

Yes. Once the page has loaded the calculator runs entirely on your device with no network.