Scientific Calculator
Perform advanced mathematical calculations with ease.
Calculate
Learn
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
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
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
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
Modes & formulas
Expression Evaluation
The angle mode (DEG, RAD, GRAD) affects trigonometric functions. The memory register (M+, M−, MS, MR, MC) stores a value across calculations.
Memory & Ans
Memory and Ans persist across separate calculations within the same session, making multi-step calculations easy without retyping intermediate values.