Scientific calculator
A free online scientific calculator with sin, cos, tan in degrees or radians, logs, powers, roots, factorials, memory and history.
History
Tip: type with your keyboard too. Enter = result, Esc = clear. Functions: sin, cos, tan, asin, acos, atan, sinh, cosh, tanh, ln, log, log2, sqrt, cbrt, root(x, n), abs, exp, nCr(n, r), nPr(n, r), mod.
🔒 Works offline in your browser. Your files are not uploaded anywhere.
How to use Scientific Calculator
- Tap the keys or type with your keyboard. The answer preview updates as you type.
- Press = (or Enter) to get the result. Press 2nd for inverse functions such as sin⁻¹, eˣ, 10ˣ, x³ and ∛.
- Use DEG/RAD to switch the angle unit for sin, cos and tan. The current mode is shown at the top of the display.
- Store numbers with M+ and M−, recall them with MR, and tap any line in History to reuse it.
About this tool
This scientific calculator follows the same rules as a school or engineering calculator such as a Casio fx or TI model. It respects the order of operations, supports brackets, functions and constants, and shows a live preview before you press equals. Results are kept to 12 significant digits, which removes floating-point noise (0.1 + 0.2 shows 0.3, not 0.30000000000000004).
Order of operations
Expressions are worked out in this order: brackets, then functions (sin, log, √ …), factorial and percent, powers (right to left), a leading minus sign, then × and ÷ left to right, and finally + and − left to right. This is the BODMAS / PEMDAS rule.
| You type | Result | Why |
|---|---|---|
| 2 + 3 × 4^2 | 50 | 4² = 16, × 3 = 48, + 2 = 50 |
| (2 + 3) × 4 | 20 | brackets first |
| −2^2 | −4 | the power is done before the minus sign |
| 2^3^2 | 512 | powers go right to left: 3² = 9, 2⁹ = 512 |
| 2π | 6.28318530718 | a number next to a constant or bracket multiplies |
| 5! | 120 | 5 × 4 × 3 × 2 × 1 |
| 200 × 15% | 30 | 15% = 0.15 |
Trigonometry: degrees vs radians
A full circle is 360 degrees or 2π radians, so 1 radian ≈ 57.2958°. In DEG mode sin(30) = 0.5; in RAD mode sin(30) means 30 radians and gives −0.988. Use DEG for triangles and geometry homework, RAD for calculus, physics formulas and programming. tan(90°) has no value, so the calculator shows an error instead of a huge wrong number.
Logs, roots and combinations
- log(x) is base 10: log(1000) = 3. ln(x) is base e: ln(e) = 1. For another base use log(x, b): log(8, 2) = 3.
- √ is the square root, ∛ the cube root and root(x, n) any root: root(27, 3) = 3.
- EXP enters powers of ten: 6.02E23 = 6.02 × 10²³.
- nCr(n, r) counts combinations and nPr(n, r) permutations: nCr(5, 2) = 10, nPr(5, 2) = 20.
- Ans is the last result, and mod gives the remainder: 17 mod 5 = 2.
Frequently asked questions
How do I switch between degrees and radians?
Tap the DEG/RAD key. The display shows DEG or RAD at the top. The setting is remembered for your next visit.
How do I calculate inverse sine (sin⁻¹)?
Tap 2nd, then sin. The key changes to sin⁻¹ for one press. In DEG mode sin⁻¹(0.5) = 30.
Why does 2^3^2 give 512 and not 64?
Powers are evaluated from right to left, as in mathematics and on scientific calculators: 2^(3^2) = 2^9 = 512. Use brackets, (2^3)^2, to get 64.
How does the % key work?
x% means x ÷ 100, so 15% = 0.15 and 200 × 15% = 30. To add 15% to 200, type 200 × (1 + 15%) = 230.
Is my history saved?
Your last 30 calculations, memory value and angle mode are stored in your browser on this device only. Tap Clear to remove the history.
Can I use my keyboard?
Yes. Type numbers and + − * / ^ ( ) ! %, function names like sin or sqrt, then Enter for the result, Backspace to delete and Esc to clear.