Scientific Calculator

Full keypad with trig, log, exponents and constants. Tap or use your keyboard.

Ad Slot — Top Banner
0
📖 Read the full guide: Scientific Calculator Functions: When to Use Each One In-depth article explaining the math and real-world context.
Ad Slot — In-Content

Operator Reference

OperatorMeaningExample
sin, cos, tanTrig functions (DEG or RAD via toggle)sin(30) = 0.5 in DEG
sin⁻¹, cos⁻¹, tan⁻¹Inverse trigtan⁻¹(1) = 45° in DEG
logBase-10 logarithmlog(100) = 2
lnNatural log (base e)ln(e) = 1
Square root√(25) = 5
^Exponent2^10 = 1024
!Factorial5! = 120
πPi = 3.14159…Used in trig, area of circle
eEuler's number = 2.71828…Base of natural log
%Percent (divides by 100)15% = 0.15

Operator Precedence

Follows standard order of operations (PEMDAS / BODMAS):

  1. Parentheses
  2. Exponents (and roots)
  3. Multiplication / Division (left to right)
  4. Addition / Subtraction (left to right)

Use parentheses when in doubt: 2 + 3 × 4 = 14, but (2 + 3) × 4 = 20.

How It Works (Safety)

The calculator evaluates expressions without using JavaScript's eval() directly — it parses input, replaces functions and constants, validates the character set, and then computes via a controlled expression evaluator. This prevents malicious input from running arbitrary code. All computation happens in your browser; nothing is sent to a server.

Common Use Cases

  • Engineering homework — quick trig, log, and exponent calculations
  • Financial estimation — compound growth (use ^ for power-of-years)
  • Statistics — sample standard deviation, factorials for combinations
  • Physics — kinematic equations, energy calculations
  • Compound interest in head — FV = P × (1+r)^n quickly