Scientific Calculator
Full keypad with trig, log, exponents and constants. Tap or use your keyboard.
Ad Slot — Top Banner
0
Ad Slot — In-Content
Operator Reference
| Operator | Meaning | Example |
|---|---|---|
| sin, cos, tan | Trig functions (DEG or RAD via toggle) | sin(30) = 0.5 in DEG |
| sin⁻¹, cos⁻¹, tan⁻¹ | Inverse trig | tan⁻¹(1) = 45° in DEG |
| log | Base-10 logarithm | log(100) = 2 |
| ln | Natural log (base e) | ln(e) = 1 |
| √ | Square root | √(25) = 5 |
| ^ | Exponent | 2^10 = 1024 |
| ! | Factorial | 5! = 120 |
| π | Pi = 3.14159… | Used in trig, area of circle |
| e | Euler's number = 2.71828… | Base of natural log |
| % | Percent (divides by 100) | 15% = 0.15 |
Operator Precedence
Follows standard order of operations (PEMDAS / BODMAS):
- Parentheses
- Exponents (and roots)
- Multiplication / Division (left to right)
- 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