AskANumber.com

Scientific Calculator

The default expression, sin(pi/4) × sqrt(2), evaluates to exactly 1. Type a full expression — powers, roots, trig, logarithms, factorials, parentheses — and this calculator evaluates it in one pass, respecting the standard order of operations; it supports sin, cos, tan and their inverses, log (base 10), ln, sqrt, exponents with ^, factorial with !, and the constants pi and e.

Result
1
Inputs
Expression
Trig runs in radians
sin, cos, and tan expect radians, not degrees. Convert first by multiplying degrees by pi/180 — so sin(30·pi/180) = 0.5, whereas sin(30) is something else entirely.
log is base 10, ln is natural
log(x) uses base 10 while ln(x) uses base e. For any other base, use the change-of-base identity: logₐ(b) = ln(b) / ln(a).
Factorials blow up fast
n! grows explosively; around 170! it exceeds the largest representable number, so beyond that you'll see Infinity rather than a value.
Ask a follow-up
Uses your inputs above
1 result. Want to try a variation?
Type a question below to compare scenarios.

The math

Reviewed 2026
Formula
standard mathematical evaluation

Related calculators

Example: how scientific is calculated

Step-by-step with default inputs

Suppose you put the default values into Scientific Calculator:

Expression
sin(pi/4) * sqrt(2)

Plug those into the formula standard mathematical evaluation and the result is:

Result
1

How does the scientific calculator work?

Scientific Calculator uses the formula shown in the math card and is computed from first principles. Inputs are validated for sensible ranges; results are computed client-side for instant feedback and do not leave your browser.

Last reviewed July 2, 2026 · Editorial policy

Frequently asked questions

Are the trig functions in degrees or radians?

Radians. To work in degrees, convert inside the expression by multiplying by pi/180 — for example sin(30 × pi/180) gives 0.5. The constant pi is built in, so the conversion fits directly into what you type.

What's the difference between log and ln?

log is the base-10 logarithm and ln is the natural logarithm (base e). log(1000) = 3 because 10^3 = 1000, while ln(e) = 1. For any other base, use change of base: log base b of x is ln(x) ÷ ln(b).

How do I calculate a factorial?

Append ! to a non-negative integer: 5! multiplies 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast — beyond 170! the result exceeds what standard floating-point numbers can represent, so the calculator stops there.

How accurate is this scientific calculator?

The math is deterministic — the same inputs always produce the same output, and the formula is shown above. Accuracy of the answer for your situation depends on how well your inputs match reality and how well the formula models the question.

How do I share my result?

Hit Share at the top of the page. Every input you change is encoded in the URL, so a permalink reproduces exactly what you see. No account needed.