Scientific Calculator
A full expression calculator with trigonometry, powers, roots, logarithms, constants and keyboard input.
The formula behind it
value = evaluate(expression) — precedence: ( ) · functions · ! · ^ · × ÷ % · + −- ^
- power (right-associative: 2^3^2 = 512)
- %
- modulo remainder (18 % 5 = 3)
- !
- factorial (5! = 120)
The calculator parses your expression the way mathematical convention reads it: parentheses first, then functions and factorials, then powers, then multiplication/division/modulo, and finally addition/subtraction. Trigonometric functions accept degrees or radians depending on the selected mode, and inverse functions return angles in that mode. Evaluation is performed by a dedicated parser — never by executing your input as code.
How to use this calculator
- 1
Type an expression, or tap the keypad — both input methods work at any time.
- 2
Choose Degrees for everyday angles or Radians for calculus and physics contexts.
- 3
Press = (or Enter) to evaluate; the result panel shows the value and any angle conversions.
- 4
Correct with ⌫, clear with AC, and reuse earlier expressions from the history list.
Worked examples
Mixed precedence
2 + 3 × 4^2 − 10/5 = 2 + 48 − 2 = 48. The parser applies powers before ×, and × before +.
Trigonometry in degrees
sin(30) + cos(60) with DEG mode: 0.5 + 0.5 = 1 — each angle converted internally to radians.
Constants and implicit multiplication
2π(3 + 1)^2 = 2π·16 ≈ 100.53 — implicit multiplication between numbers and parentheses is understood.