Scientific Calculator

A full scientific calculator in your browser — trigonometry, logarithms, powers, roots, factorial and the constants π and e. Switch between degrees and radians, type with your keyboard, and watch the result update live as you build each expression.

0
0
Use your keyboard too: digits, + − × ÷, ( ), ^, %, Enter = equals, Esc = clear.
🔒 100% private — runs in your browser, never uploaded.

How to use the scientific calculator

Build an expression by tapping the keys or typing on your keyboard, then press = (or Enter) to evaluate it. The top line shows the expression you are entering and the large line below shows the running result, so you usually see the answer before you even press equals. Use the key to delete the last entry and AC to clear everything.

  1. Basic maths: the four operators + − × ÷ follow the usual order of operations, and parentheses( ) let you group terms exactly how you want.
  2. Trigonometry: sin, cos and tan respect the DEG / RADtoggle. In the default degrees mode, sin(30) = 0.5; switch to radians for sin(π÷2) = 1.
  3. Logarithms: log is base-10 and ln is the natural log (base e). For examplelog(1000) = 3 and ln(e) = 1.
  4. Powers & roots: use to square a value, for any power, and for square roots. 1/x wraps the current value as a reciprocal.
  5. Factorial & constants: x! gives the factorial of a whole number, while π ande insert the mathematical constants.

Keyboard shortcuts

The whole keypad mirrors your physical keyboard. Digits and the decimal point work as expected; use + - * / for the operators, ( and ) for parentheses, ^ for powers and % for percent. PressEnter or = to calculate, Backspace to delete a character and Escapeto reset. This makes longer calculations far quicker than reaching for the mouse on every key.

Degrees versus radians

Trigonometric functions need to know whether your angle is measured in degrees or radians, and getting this wrong is the single most common calculator mistake. The DEG / RAD button makes the current mode obvious at a glance. Use degreesfor everyday geometry and most school problems, and radians for calculus and physics where angles are expressed as multiples of π. The result line updates the moment you switch, so you can sanity-check both readings instantly.

How the percent key works

The % key divides the value before it by 100, which keeps it predictable. So 100 × 15% becomes 100 × 0.15 = 15, the standard way to read “15 percent of 100”. If you ever need a different percentage behaviour, you can always type the division out in full with parentheses.

Is it private?

Yes. The Scientific Calculator is plain JavaScript that runs entirely inside your browser tab — there is no server doing the maths and nothing you type is ever uploaded, logged or stored. There are no accounts and no tracking of your inputs, and once the page has loaded you can keep using it offline. For safety, the expression you build is strictly validated to contain only numbers, the operators, parentheses and a fixed list of known math functions before it is calculated, so it can never run arbitrary code.

Frequently asked questions

Why does the result sometimes show in scientific notation?

Very large or very small numbers are shown using exponent notation (for example 1.2e+15) so the display stays readable instead of overflowing with digits.

What is the largest factorial it can compute?

Factorials are exact up to 170!; beyond that the value exceeds what JavaScript numbers can represent, so the calculator returns infinity. Factorial only accepts whole, non-negative numbers.

Why do I get an error for something like the square root of a negative number?

The calculator works with real numbers only. Operations with no real result — such as the square root of a negative number or dividing by zero — show “Error” rather than an imaginary or infinite value.

Results are rounded for display; for exams or engineering work, double-check critical figures.