Sign up
🧮

Scientific Calculator

Perform advanced mathematical calculations with ease.

Ans: 0
Enter an expression
0

Functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, log, ln, sqrt, cbrt, abs, exp. Operators: + − × ÷ ^ mod, nPr = P, nCr = C, postfix ! % ² ³ ⁻¹. Use Ans for the previous answer.

Result

💡

Tips

Type function names directly — sin(30), log(100) — or scientific notation like 1e3.

Note: % divides by 100 (50 + 10% = 50.1).

Perform advanced trigonometry, logs, and complex expressions.

About this topic

Expression Parsing (BODMAS) How the calculator understands complex math equations.

The calculator uses a recursive-descent parser to enforce the standard order of operations (BODMAS/PEMDAS). It understands parentheses, exponents, multiplication/division, and addition/subtraction.

Key formulas & rules

  • •Evaluates expressions left-to-right for equal precedence
  • •Handles nested parentheses
  • •Supports implicit multiplication (e.g., 2(3) = 6)
  • •Unary minus is handled correctly (e.g., -3² = -9)
  • •Throws syntax errors for mismatched brackets
  • •Prevents invalid operations like dividing by zero

Examples

Input Output Note
2 + 3 × 4 14 Multiplication first
(2 + 3) × 4 20 Parentheses first
2^3^2 512 Right-associative exponents
10 / 2 × 5 25 Left-to-right division

Real-world uses

Computer programming Spreadsheet formulas Physics equations
Trigonometric & Hyperbolic Functions Angles and waves in degrees, radians, or gradians.

The calculator supports basic trig (sin, cos, tan), their inverses (asin, acos, atan), and hyperbolic equivalents (sinh, cosh, tanh). The angle mode determines how inputs are interpreted.

Key formulas & rules

  • •DEG mode: 90 means 90 degrees
  • •RAD mode: π/2 means 90 degrees
  • •GRAD mode: 100 means 90 degrees
  • •Inverse trig outputs match the current mode
  • •Hyperbolic functions are based on e^x
  • •Snaps tiny floating-point errors to zero

Examples

Input Output Note
sin(30) in DEG 0.5 Common angle
sin(π/6) in RAD 0.5 Same angle
acos(0) in DEG 90 Inverse trig
sinh(0) 0 Hyperbolic sine

Real-world uses

Engineering Physics (waves) Computer graphics
Logarithms & Exponents Base-10, natural logs, and arbitrary powers.

Supports calculating powers (x^y), square roots (√), cube roots (∛), base-10 logs (log), and natural logs (ln). Also supports scientific notation inputs like 1e3.

Key formulas & rules

  • •log() is base 10
  • •ln() is base e
  • •x^y handles fractional and negative powers
  • •√() is equivalent to x^(1/2)
  • •1e3 is interpreted as 1000
  • •Logarithms reject inputs ≤ 0

Examples

Input Output Note
log(100) 2 10² = 100
ln(e) 1 e¹ = e
2^0.5 1.4142 Square root
1e3 + 500 1500 Scientific notation

Real-world uses

Chemistry (pH) Acoustics (dB) Finance (interest)
Memory & Ans Functions Chaining calculations and storing intermediate values.

The calculator features a memory register (M+, M-, MS, MR, MC) and an Ans key that recalls the previous result. This allows for multi-step calculations without writing down intermediate numbers.

Key formulas & rules

  • •Ans holds the very last evaluated result
  • •MS stores the current display in memory
  • •M+ adds to memory, M- subtracts
  • •MR recalls the stored memory value
  • •MC clears the memory entirely
  • •Memory is preserved across different modes

Examples

Input Output Note
5 × 5 = 25 Result is in Ans
Ans × 2 50 Using Ans
MS Stored Store in memory
MR + 10 Recalled + 10 Memory recall

Real-world uses

Accounting Multi-step physics problems Data entry

Modes & formulas

1

Expression Evaluation

• Type or click a mathematical expression. • The BODMAS parser evaluates it according to standard precedence. • Supports trig (sin, cos, tan and inverses), logs (ln, log), roots, powers, factorials, nPr, nCr, and constants (π, e).
sin(30°) = 0.5 (in DEG mode)

The angle mode (DEG, RAD, GRAD) affects trigonometric functions. The memory register (M+, M−, MS, MR, MC) stores a value across calculations.

2

Memory & Ans

• Use Ans to recall the previous answer. • Use M+ / M− to add or subtract from memory. • Use MS / MR / MC to store, recall, and clear the memory register.
Ans = previous result

Memory and Ans persist across separate calculations within the same session, making multi-step calculations easy without retyping intermediate values.

How to use it

Type directly on the keypad or use your physical keyboard. Press Enter or = to evaluate. Use DEG/RAD/GRAD to change the angle mode. Use 2nd and HYP toggles for inverse and hyperbolic trig.

Frequently asked questions

What does the % key do?
It divides by 100. So 50 + 10% evaluates to 50.1, not 55. This is a common source of confusion — for percentage changes, use the Percentage Calculator.
Why is tan(90°) undefined?
Because cos(90°) = 0, and tan = sin/cos. The calculator detects this and returns an error.
What does BODMAS mean?
It is the standard order of operations: Brackets (Parentheses), Orders (Exponents), Division and Multiplication (left to right), and Addition and Subtraction (left to right).
What is the difference between DEG, RAD, and GRAD?
They are units for measuring angles. DEG uses degrees (90 = quarter circle), RAD uses radians (π/2 = quarter circle), and GRAD uses gradians (100 = quarter circle).
Why does 50 + 10% give 50.1 instead of 55?
The % key simply divides the current number by 100. It does not mean "add 10% of 50". To do that, you must enter 50 + (50 × 0.10).
What is the Ans key?
Ans stores the result of the most recent calculation. It lets you chain operations without manually retyping the previous answer.

Related calculators

Read the full Scientific guide — examples & 18 FAQs