How to use the Scientific Calculator
- Choose Deg or Rad at the top of the display — this controls how sin, cos, tan and their inverses read and return angles.
- Build your expression with the keypad or your keyboard. Functions such as sin(, log( and √( open a bracket for you; close it with ).
- Watch the live preview under the expression, then press = or Enter to save the result to your history.
- Press an operator straight after a result to keep calculating with it (it becomes Ans), or click any history line to reuse that number.
How this scientific calculator works
This calculator reads your expression the way a maths textbook would, using the standard order of operations. It does not just evaluate left to right like a basic four-function calculator, so 2 + 3 × 4 gives 14, not 20. Expressions are parsed by a small, purpose-built parser in your browser — nothing is sent to a server.
- Powers are right-associative: 2^3^2 means 2^(3^2) = 2^9 = 512, not 8^2 = 64.
- Negation applies after powers: −3^2 = −9. Write (−3)^2 to get 9.
- Implied multiplication is supported: 2π, 3(4+1) and 2sin(30) are read as multiplication.
- Percent divides by 100, so 200 × 15% = 30.
Worked examples
| Expression | Mode | Result | Why |
|---|---|---|---|
| 2×(3+4)^2÷7 | — | 14 | brackets 7, power 49, then 2 × 49 ÷ 7 |
| sin(30) | Deg | 0.5 | sine of a 30° angle |
| sin(30) | Rad | −0.988031624093 | 30 radians ≈ 1,719° |
| cos⁻¹(0.5) | Deg | 60 | the angle whose cosine is 0.5 |
| log(1000) | — | 3 | 10³ = 1000 |
| ln(e^2) | — | 2 | ln and eˣ are inverses |
| 5! | — | 120 | 5 × 4 × 3 × 2 × 1 |
| 0.1+0.2 | — | 0.3 | binary rounding noise removed |
Degrees vs radians
Angles can be measured in degrees (a full turn is 360°) or radians (a full turn is 2π ≈ 6.2832). Getting the mode wrong is the most common reason a trig answer looks strange: sin(30) is exactly 0.5 in degree mode but about −0.988 in radian mode. Use degrees for everyday geometry, surveying and navigation, and radians for calculus, physics and most programming languages, where functions like Math.sin always expect radians.
In degree mode the calculator returns exact zeros where they belong — sin(180) is 0 and cos(90) is 0 — instead of tiny values such as 6.1×10^−17, and tan(90) correctly shows Error because the tangent is undefined there.
Function reference
- sin, cos, tan: trigonometric ratios of an angle.
- sin⁻¹, cos⁻¹, tan⁻¹ (arcsin, arccos, arctan): return the angle. sin⁻¹ and cos⁻¹ only accept values from −1 to 1; sin⁻¹ returns −90° to 90°, cos⁻¹ 0° to 180°.
- log: common (base-10) logarithm. ln: natural logarithm, base e ≈ 2.718281828. Both need a positive input. For any other base use the change-of-base rule: logb(x) = ln(x) ÷ ln(b), e.g. ln(8)÷ln(2) = 3.
- xʸ, x², √: powers and square roots. For other roots raise to a fractional power: the cube root of 27 is 27^(1÷3) = 3.
- n!: factorial, defined for whole numbers 0 to 170 (171! is too large for standard double-precision numbers).
- π and e: the mathematical constants, to about 15 significant digits.
Precision and why 0.1 + 0.2 shows 0.3
Computers store numbers in binary floating point (IEEE 754 double precision), which cannot represent most decimal fractions exactly. Done naively, 0.1 + 0.2 gives 0.30000000000000004. This calculator rounds every final result to 12 significant digits, which removes that noise while keeping more precision than most handheld calculators display. Very large or very small results are shown in scientific notation, such as 1.5×10^21.
Tips and common mistakes
- Close every bracket you open. sin(30 is incomplete and shows Error when you press =.
- Use brackets for fractions in exponents: 8^(1÷3) = 2, but 8^1÷3 = 2.667.
- Check the Deg/Rad badge before any trig calculation.
- For averages or spread of a list of numbers, the standard deviation calculator is faster; for percentage questions use the percentage calculator.
Frequently asked questions
How do I switch between degrees and radians?
Why does the calculator show Error?
Can I type with my keyboard?
What is the difference between log and ln?
How do I calculate a cube root or nth root?
Is my calculation history stored anywhere?
Last reviewed November 2026. Results are estimates for information only — see our disclaimer.