Scientific Calculator

A full scientific calculator with trigonometric, logarithmic, exponential, and memory functions.

0

How to Use the Scientific Calculator

Build an expression with the on-screen buttons or your keyboard, then press = to evaluate it. Use parentheses to group operations, the AC button to clear everything, and the backspace key (⌫) to delete the last character. Invalid expressions and division by zero return Error.

Order of Operations

Expressions follow standard mathematical precedence (PEMDAS): parentheses first, then exponents (x^y), then multiplication and division, and finally addition and subtraction. Exponentiation is right-associative, so 2^3^2 equals 2^(3^2) = 512.

DEG vs RAD

The angle-mode toggle controls how the trigonometric functions interpret their input. In DEG mode, angles are measured in degrees (a full circle is 360°). In RAD mode, angles are measured in radians (a full circle is 2π). For example, sin(90) equals 1 in DEG mode, while sin(π/2) equals 1 in RAD mode. Inverse trig functions (asin, acos, atan) return their result in the currently selected unit.

Available Functions

  • Trigonometry: sin, cos, tan and their inverses asin, acos, atan (honoring the DEG/RAD toggle).
  • Logarithms: ln (natural log, base e) and log (base 10).
  • Powers and roots: x² (square), x^y (power), √ (square root) and 1/x (reciprocal).
  • Other: x! (factorial), % (percent), +/− (sign change), Ï€ and e constants.
  • Memory: MC clears memory, MR recalls it, M+ adds the current result to memory and M− subtracts it.