Scientific Calculator
A full scientific calculator with trigonometry, logarithms, powers, and memory.
About This Scientific Calculator
This free online scientific calculator handles a wide range of mathematical operations including trigonometry (sin, cos, tan), logarithms (log base 10, natural ln), square roots, powers, constants (π, e), parentheses, and memory functions. It evaluates expressions safely in your browser — no data is sent anywhere.
Supported Functions
- Trigonometry: sin, cos, tan (toggle DEG/RAD for angle mode)
- Logarithms: log (base 10), ln (natural log)
- Roots & powers: √ (square root), ^ (power)
- Constants: π (3.14159…), e (2.71828…)
- Memory: MC (clear), MR (recall), M+ (add), M− (subtract)
- Operators: +, −, ×, ÷, parentheses
Degrees vs Radians
Trigonometric functions depend on the angle mode. Degrees divide a circle into 360 units; radians use 2π. Most everyday calculations use degrees, while advanced mathematics and calculus typically use radians. Use the DEG/RAD button to switch. The current mode is shown above the button grid.
How Expressions Are Evaluated Safely
The calculator sanitises every expression before evaluation. Only numbers, the operators + − × ÷ ^, parentheses, decimal points, and recognised function names (sin, cos, tan, log, ln, sqrt, pi, e) are permitted. This prevents any arbitrary code from running, so you can type expressions with confidence.
Frequently Asked Questions
Yes, this scientific calculator is completely free and runs entirely in your browser. No installation or sign-up is required. It supports trigonometric, logarithmic, exponential, and power functions.
You can toggle between degrees and radians using the DEG/RAD button. The default mode is degrees, which suits most everyday calculations. Switch to radians for advanced mathematics and calculus.
The calculator sanitises the input to allow only numbers, operators, parentheses, and recognised function names before evaluation. This prevents arbitrary code from running while supporting full mathematical expressions.