Scientific Calculator
Trigonometry, logarithms, powers, roots and factorials with degree/radian modes, memory, history and keyboard input.
Scientific Calculator
Type with your keyboard: Enter or = calculates, Esc clears. Use ^ for powers, ! for factorial, mod for remainder, and root(x, n) for the nth root. log is base 10 and ln is natural.
Your data is processed locally in your browser and is not uploaded to OZVILO servers.
How to use the Scientific Calculator
- 1Choose Deg or Rad for angles — the indicator above the display shows the current mode.
- 2Type an expression with your keyboard or tap the buttons, for example 2 × sin(30) + √16.
- 3Watch the live preview, then press = or Enter to calculate. Esc clears.
- 4Use M+, M−, MR and MC for memory, Ans to reuse the last answer, and History to bring back earlier calculations.
Examples
Trigonometry in degrees
- Input
- sin(30) (Deg mode)
- Result
- 0.5
Powers are right-associative
- Input
- 2^3^2
- Result
- 512 (2⁹, not 8²)
Logarithms
- Input
- log(1000) + ln(e^2)
- Result
- 5 (log is base 10, ln is natural)
Factorial and roots
- Input
- 5! + root(27, 3)
- Result
- 123
Scientific Calculator features
- sin, cos, tan, their inverses and hyperbolic functions
- log (base 10), ln, eˣ, powers, square, cube and nth roots, factorial, absolute value, modulo, reciprocal and percent
- π, e and ∞ constants; degree and radian modes with exact values at 0°, 90°, 180°…
- Memory (M+, M−, MR, MC), Ans and a clearable history
- Full keyboard support and a touch-friendly keypad
- Safe parsing with an allow-list — expressions are never run as code
Frequently asked questions
In what order are operations calculated?
Standard mathematical precedence: parentheses, then factorials and powers (powers group right to left, so 2^3^2 = 2⁹ = 512), then multiplication, division and modulo, then addition and subtraction. A leading minus applies after powers, so −2² = −4; write (−2)² for 4.
Why does sin(180) show 0 and not a tiny number?
Computers store π approximately, so sin(π) would normally give 1.22 × 10⁻¹⁶. This calculator recognizes exact multiples of 90° (or π/2 radians) and returns exact values there. Other results are shown to 12 significant digits.
What happens if I divide by zero or take the square root of a negative number?
You get a clear message instead of a broken display: division by zero, logarithms of zero or negative numbers, even roots of negative numbers, factorials of negative or non-integer numbers, and results too large to represent (overflow) are all reported. Very small results that round to zero show an underflow note.
How does the percent key work?
50% is 0.5. After a value, % refers to that value: 200 × 15% = 30 and 100 + 10% = 110, as on most calculators.
Is it safe to type expressions here?
Yes. Expressions are parsed by mathjs and checked against a strict allow-list of numbers, operators, constants and functions, then evaluated by the calculator's own code. Nothing is executed as JavaScript, and nothing you type leaves your browser.
Related tools
- Available
Unit Converter
Convert length, weight, volume, temperature, area, speed, time, data, energy, pressure, fuel economy and cooking units.
CalculatorsOpen tool - Available
Percentage Calculator
Work out percentages, percentage change and “what percent of” answers instantly.
CalculatorsOpen tool - Available
Prime Number Calculator
Check if a number is prime, factorize it, find the next prime, or list and count primes in a range.
CalculatorsOpen tool - Available
Simpson's Rule Calculator
Approximate a definite integral with Simpson's 1/3 rule, with a node table, graph and error estimate.
CalculatorsOpen tool