🔬 Scientific Calculator
Trig, logarithms, powers and factorials with the whole expression visible on one line. Type on your keyboard or tap the keys.
How to use the scientific calculator
Tap the keys or just type on your keyboard. A live preview appears under the expression, and pressing = (or Enter) saves the result to the history. Because the whole expression stays visible on one line — like 2×sin(30)+√(16) — you can check exactly what you entered, click into the display to move the cursor, and fix or insert anything in the middle.
- 2nd switches sin, cos and tan to their inverses (sin⁻¹, cos⁻¹, tan⁻¹), ln, log and log₂ to eˣ, 10ˣ and 2ˣ, and x² to x³.
- DEG / RAD toggles the angle unit. Degrees is the default, and your choice is remembered in this browser.
- Ans is the last result. Right after a calculation, pressing an operator such as +, × or ^ continues from Ans automatically.
- MC · MR · M+ · M− are memory keys. M+ adds the current result (or Ans if the display is empty) to memory, and MR inserts the memory value.
- 1/x takes the reciprocal of the whole expression, and EXP enters scientific notation (
6.02E23= 6.02 × 10²³). - Click any line in the history panel to load that expression again. The last 30 calculations are kept on this device only.
Keyboard shortcuts
| Type | Meaning |
|---|---|
| 0–9 . + - * / ^ ( ) % ! | Numbers, arithmetic, powers, parentheses, percent, factorial (* → ×, / → ÷) |
| Enter or = | Calculate |
| Backspace / Esc | Delete one character (a function name is deleted as a whole) / clear all |
| sin cos tan asin acos atan | Trig functions and their inverses (sin⁻¹ also works) |
| ln log log2 sqrt abs | Natural log, common log, log base 2, square root, absolute value |
| pi e ans | π, Euler's number e, the last result |
| 1.5E-3 | Scientific notation = 0.0015 (an e right after a number is read as an exponent: 2e3 = 2000; to multiply by Euler's number type 2×e) |
Order of operations
The calculator follows standard math order of operations (PEMDAS / BODMAS). From highest priority to lowest:
| Rank | Operation | Example |
|---|---|---|
| 1 | Parentheses, functions sin( ) log( ) √( ) | 2×(3+4) = 14 |
| 2 | Postfix ! % ² ³ | 3! = 6, 50% = 0.5, 4² = 16 |
| 3 | Exponent ^ (right to left) | 2^3^2 = 2^9 = 512 |
| 4 | Negative sign − | −2^2 = −4, (−2)^2 = 4 |
| 5 | Multiply and divide (left to right, including implied multiplication) | 2π = 6.28318530718, 3(4) = 12 |
| 6 | Add and subtract (left to right) | 10 − 4 − 3 = 3 |
Implied multiplication such as 2π, 3(4+1), (1+2)(3+4) and 2sin(30) works. It has the same priority as ordinary multiplication, so 1÷2π is read as (1÷2)×π. Calculators disagree on this, so when in doubt add parentheses: 1÷(2π). Any parentheses left open at the end are closed for you.
% simply divides by 100. 200×15% = 30, but unlike a phone calculator, 200+15% is 200.15, not 230. For discounts, markups and percent change, the percentage calculator is easier.
Degrees vs. radians
In DEG mode a full turn is 360°; in RAD mode it is 2π. radians = degrees × π ÷ 180, so 30° = π/6 ≈ 0.5236 rad. The same sin(30) gives 0.5 in degrees but −0.988031624093 in radians, so check which unit your problem uses. Calculus and physics formulas (angular velocity, arc length) normally use radians; triangle and surveying problems usually use degrees.
| Degrees | Radians | sin | cos | tan |
|---|---|---|---|---|
| 0° | 0 | 0 | 1 | 0 |
| 30° | π/6 | 0.5 | 0.866025403784 | 0.57735026919 |
| 45° | π/4 | 0.707106781187 | 0.707106781187 | 1 |
| 60° | π/3 | 0.866025403784 | 0.5 | 1.73205080757 |
| 90° | π/2 | 1 | 0 | undefined |
| 180° | π | 0 | −1 | 0 |
Computers cannot store π exactly, so many tools show sin(180°) as 0.0000000000000001224. This calculator treats multiples of 90° (π/2) specially, so sin(180°) = 0 and cos(90°) = 0 exactly, and tan(90°) is reported as undefined.
Logs, exponents and factorials
- log is the common (base-10) logarithm: log(1000) = 3. It shows up in pH, decibels and earthquake magnitudes.
- ln is the natural logarithm, base e (≈ 2.71828182846): ln(e) = 1. Use it for continuous compounding, half-lives and calculus.
- log₂ is the base-2 logarithm: log₂(1024) = 10 — handy for bits and binary search steps.
- For any other base use the change-of-base formula
logₐ(x) = log(x) ÷ log(a). Example: log₃(81) = log(81) ÷ log(3) = 4. - n! (factorial) multiplies 1 through n: 0! = 1, 10! = 3,628,800. It works up to 170!. Use it for combinations: 5C2 = 5! ÷ (2! × 3!) = 10.
Floating-point errors and displayed digits
Computers store numbers in binary, so 0.1 + 0.2 is really 0.30000000000000004 internally. This calculator rounds results to 12 significant digits, so you see 0.3, and 1÷3 shows as 0.333333333333. Numbers of 10¹⁵ or more, or smaller than 0.000001, switch to scientific notation such as 1.23456789012E20 — the same way a handheld scientific calculator shows only 10 to 12 digits.
Handy examples
- Height of a triangle: hypotenuse 10, angle 30° →
10×sin(30)= 5 (DEG). - Pythagorean theorem:
√(3²+4²)= 5. - Compound growth: 5% a year for 10 years →
1.05^10= 1.62889462678 times the starting amount. For deposits and contributions, use the compound interest calculator. - Half-life: carbon-14 has a half-life of 5,730 years; the fraction left after 10,000 years is
0.5^(10000÷5730)≈ 0.298. - Running total: press M+ after each value, then MR to recall the sum.
All calculations run in your browser; expressions are never sent to a server. Results are rounded to 12 significant digits, so the last digits of very large numbers or high-precision scientific work may differ slightly. For exams and lab reports, double-check with an approved calculator or software.