Scientific Calculator

Scientific calculator with trigonometry, logarithms, powers, roots, factorials and constants, plus degree and radian modes.

All calculations happen locally in your browser. Nothing leaves your device.

Display
Memory

Expression Syntax

Build an expression with the keypad or your keyboard, then press = to evaluate. The calculator supports the usual precedence — powers before multiplication, multiplication before addition — plus parentheses, unary minus, and a postfix factorial. Everything is evaluated locally by a small parser; no eval, no network.

ButtonMeaning
sin( cos( tan(Trigonometric functions; argument in degree or radian mode.
log(Base-10 logarithm: log(1000) = 3.
ln(Natural logarithm (base e): ln(e) = 1.
√(Square root: √(16) = 4.
x!Factorial (non-negative integers): 5! = 120, 0! = 1.
^Power, right-associative: 2^3^2 = 512.
πPi constant (3.14159…): π/180 converts degrees to radians.
eEuler's number (2.71828…): the base of the natural logarithm.
( )Grouping: (2+3)^2 = 25.
M+ MC MRMemory: add the current display value, clear, or insert the stored value.

Frequently Asked Questions

How do I write an expression?

Type or press buttons: numbers, + - × ÷, parentheses, ^ for power and ! for factorial. Function buttons insert sin(, cos(, tan(, log(, ln( and √( — just close the parenthesis and press =. Examples: sin(30) = 0.5 in degree mode, 2^10 = 1024, 5! = 120.

What is the difference between degree and radian mode?

Trigonometric functions take their argument in the selected unit. In degree mode, sin(30) means 30 degrees (result 0.5). In radian mode, sin(π/6) gives the same 0.5. All other operations are unaffected by the mode.

What do log and ln mean?

log is the base-10 logarithm (log(1000) = 3) and ln is the natural logarithm with base e (ln(e) = 1). They are the same operation with different bases, which is why calculators keep both.

What limits does the factorial have?

x! requires x to be a non-negative integer. 0! = 1 and 1! = 1. Anything above 170! overflows JavaScript's number range and is reported as an error, as are factorials of fractions or negative numbers.

Is my input stored anywhere?

No. The expression is parsed and evaluated locally in your browser by a small recursive-descent parser — no eval, no network calls. Memory (M+/MR/MC) also lives only in the page and is lost when you reload it.

When the expression gets heavy, hand it to a specialist: powers and roots in the Exponent Calculator, ratios in the Fraction Calculator, any integer’s prime building blocks with Prime Factorization, and a whole data set summarized in the Standard Deviation Calculator.