Scientific Calculator

A full scientific calculator in your browser — trig in degrees or radians, logarithms, powers, roots, factorials, and memory keys with proper order of operations.

Reviewed by Ankit Gupta· Builder · AllSmartCalculators
DEG
0
Result

This free online scientific calculator works like a TI or Casio handheld, right in your browser. It handles everything a basic calculator can't: trigonometry, logarithms, exponents, roots, factorials, and constants like π and e — with a memory bank and a clear running display of your expression.

How it's calculated

The calculator evaluates your expression using the standard order of operations (PEMDAS): parentheses first, then exponents, then multiplication and division left to right, then addition and subtraction.

2 + 3 × 4^2  =  2 + 3 × 16  =  2 + 48  =  50
sin(30°)     =  0.5          (degree mode)
log(1000)    =  3            ln(e) = 1
5!           =  5 × 4 × 3 × 2 × 1  =  120

The keypad, briefly:

  • Trig keys (sin, cos, tan) respect the DEG/RAD toggle. In degree mode, sin(30) = 0.5; in radian mode, sin(30) ≈ −0.988 because 30 radians is about 4.77 full turns around the circle. Inverse functions (sin⁻¹, cos⁻¹, tan⁻¹) return angles in the current mode.
  • Logarithms: log is base 10, ln is base e (natural log). For any other base, use the change-of-base identity: log₂(x) = ln(x) ÷ ln(2).
  • Powers and roots: x² squares, x^y raises to any power, √ takes the square root. Negative inputs to √ return an error rather than a complex number.
  • Factorial (n!) multiplies all whole numbers from n down to 1. It is defined here for non-negative integers; 170! is the largest value double-precision math can hold (~7.26 × 10³⁰⁶), so this calculator rejects anything above 170 with an error.
  • Memory keys: M+ adds the displayed value to memory, M− subtracts it, MR recalls it, and MC clears it — handy for multi-step problems.

Assumptions and limitations: all arithmetic uses IEEE-754 double-precision floating point, which is accurate to roughly 15–17 significant digits. Tiny rounding artifacts (like 0.1 + 0.2 showing 0.30000000000000004 on naive calculators) are cleaned up in the display, but extremely large or small intermediate values can still lose precision. For symbolic math (exact fractions, algebra), use a CAS instead.

Frequently asked questions

Why does sin(30) show 0.5 in degree mode but something else in radian mode?

In degree mode, 30 means 30°, and sin(30°) = 0.5 exactly. In radian mode, 30 means 30 radians — about 1718° — so sin(30 rad) ≈ −0.988. Check the DEG/RAD toggle before any trig calculation; it is the single most common source of "wrong" answers.

What is the difference between log and ln?

log is the base-10 logarithm (log 1000 = 3), used in pH, decibels, and earthquake magnitudes. ln is the natural logarithm with base e ≈ 2.71828 (ln e = 1), used in compound growth and calculus. For any other base, divide: log₂(x) = ln(x) ÷ ln(2).

How large a factorial can this calculator compute?

170! ≈ 7.26 × 10³⁰⁶ is the largest factorial that fits in double-precision floating point. 171! and above exceed that range, so the calculator shows an error instead of a number. Factorials are only defined here for whole numbers 0 and up (0! = 1 by definition).

Does it follow the correct order of operations?

Yes. Expressions are evaluated using PEMDAS: parentheses, exponents, then multiplication/division left to right, then addition/subtraction. So 2 + 3 × 4 = 14, not 20. Use parentheses to force a different order: (2 + 3) × 4 = 20.

Can I type with my keyboard instead of clicking?

Yes. Digits, the operators + − * / ^, the decimal point, parentheses, the % and ! keys, Enter (equals), Backspace (delete), and Escape (clear) all work from a physical keyboard, which is much faster for long expressions.

What do the memory keys MC, MR, M+, and M− do?

M+ adds the current display value to a stored memory total, M− subtracts it, MR recalls the stored value onto the display, and MC empties the memory (the M badge disappears). They let you accumulate intermediate results across separate calculations without writing anything down.

Related calculators