Scientific Calculator

Evaluate expressions with trig, logs, roots, powers, and factorials.

Ad placeholder (leaderboard)

Scientific calculator

Type any maths expression and get the answer instantly. It supports trigonometry, logarithms, square roots, powers, factorials, parentheses, and the constants pi and e — a full replacement for a handheld scientific calculator, right in the browser.

How it works

You type a complete expression rather than pressing one button at a time. The input is read by a safe custom parser that respects standard operator precedence (powers before multiplication and division, those before addition and subtraction) and parentheses. It never uses JavaScript eval, so a typo can only produce an error, never run code. A degrees/radians toggle controls how the trig functions interpret their inputs.

Supported tokens:

CategoryTokens
Operators+ − × ÷ ^ (power) ! (factorial)
Functionssin, cos, tan, asin, acos, atan
ln, log, sqrt, abs, exp
Constantspi, e

Example

With the degrees toggle on, entering (3 + 4) * sqrt(16) - log(100) evaluates as 7 × 4 − 2 = 26. Switch to radians and sin(pi / 2) returns 1.

Everything runs locally in your browser, so nothing you type is uploaded.

Ad placeholder (rectangle)