Scientific Calculator

Full expression-parsing scientific calculator with trig, logs, factorials, and constants. Degree or radian mode.

Runs entirely in your browser. Nothing is sent to our servers.

About this tool

A scientific calculator with proper expression parsing. Type an entire expression — sin(45) + sqrt(2)*pi — and get the answer. Supports order of operations, parentheses, the standard trig and log functions, and named constants.

Supported syntax

  • Operators: + - * / ^ % (where ^ is exponent and % is modulo)
  • Trig: sin cos tan asin acos atan (respects Degree/Radian mode)
  • Logs: log (base 10), ln (natural), exp(x) = eˣ
  • Other: sqrt cbrt abs floor ceil round, factorial with !
  • Constants: pi, e
  • Functions: min(a,b), max(a,b), mod(a,b), pow(a,b)

Examples

  • 2^10 → 1024
  • sin(30) in degree mode → 0.5
  • sqrt(2)*pi → 4.4428...
  • 5! → 120
  • log(100) → 2

Frequently asked questions

Why does <code>sin(30)</code> give me −0.988 instead of 0.5?
You're in radian mode. Click the "Degrees" toggle. By default this calculator starts in degree mode (the more common everyday choice), but radian mode is needed for calculus and physics work.
What does the <code>^</code> operator do?
Exponentiation. 2^10 = 1024. Right-associative like most math conventions: 2^3^2 = 2^(3^2) = 2^9 = 512.
Why is <code>log(2)</code> not the same as <code>ln(2)</code>?
log in this calculator is base 10 (so log(100) = 2), and ln is the natural logarithm, base e. This matches scientific-calculator convention. In computer science contexts log sometimes means natural log; here it doesn't.
Can I use variables?
Not in this version. The expression evaluator is stateless — each Enter computes a fresh expression. If you need to chain calculations, copy the previous answer and paste it where needed.

Last updated: May 17, 2026