Scientific Calculator
Evaluate trigonometric, logarithmic, exponential and factorial expressions. With history.
Quick answer: Scientific Calculator: evaluate trigonometric, logarithmic, exponential and factorial expressions. With history. Runs entirely in your browser, free, no signup.
Last updated
Good to know
The single biggest source of "wrong" trigonometry answers is the degree-versus-radian mode. sin(90) is 1 in degrees but roughly 0.894 in radians, and neither is a bug — it is the mode setting. Physics and calculus work almost always assumes radians, while everyday geometry assumes degrees, so glance at the toggle before you trust a trig result.
This evaluator uses a shunting-yard parser rather than JavaScript's eval, which means it respects standard operator precedence and never executes arbitrary code from the expression you paste. You can chain functions freely — something like log(1000) + sqrt(2) * e^2 parses the way a mathematician would read it, with exponentiation binding tighter than multiplication.
Values are IEEE-754 doubles, so you get about 15 significant digits and a range up to roughly 10^308 before hitting infinity. That is ample for engineering and finance, but if you need exact results on giant whole numbers — divisibility, common multiples — the arbitrary-precision GCD & LCM calculator avoids the rounding that floating point introduces.
Frequently asked questions
- Which functions are supported?
- sin, cos, tan and their inverses (asin, acos, atan), hyperbolic versions (sinh, cosh, tanh), log (base 10), ln (natural log), sqrt, cbrt, abs, exp. Constants pi and e. Operators + - * / ^ % !
- How does it choose degrees vs radians?
- There's a toggle at the top. Default is degrees because that's what most people expect; flip to radians for engineering or physics work.
- Will it handle very big or very small numbers?
- Numbers use IEEE-754 doubles, so the practical range is ±10^308 with about 15 significant digits of precision. For arbitrary-precision integer math, use the GCD/LCM calculator.
- Is it safe to paste expressions from untrusted sources?
- Yes — we never call <code>eval()</code>. Every expression is parsed and validated before evaluation, so there's no JavaScript injection risk.
- Does the history persist?
- Yes, in your browser's local memory for the current session. We don't sync history anywhere — close the tab and it's gone.