🧮 Scientific Calculator
A free scientific calculator with sin, cos, tan, logs, roots, powers, factorials and degree/radian modes. Type or tap; the answer updates as you type.
Type directly with your keyboard — Enter evaluates, Esc clears. Works with *, /, ^, sqrt(), pi, and 6.02E23 notation (capital E; a lowercase e is Euler’s number).
What Scientific Calculator Does
This scientific calculator evaluates full expressions — trigonometry, logarithms, roots, powers, factorials and percentages — with a live answer that updates as you type. You can click the keys like a handheld calculator or type straight into the box, and every result is kept in a history list you can click to reuse.
Under the keys is a real expression parser with written-down rules rather than a call to JavaScript’s eval. That matters because calculators genuinely disagree on some expressions. The rules this one follows are listed in full below, so when your textbook, phone and this page give different answers you can see exactly why.
In degree mode, the standard angles return exact values: sin(180) is 0 and cos(90) is 0, rather than the 1.22 × 10⁻¹⁶ that raw floating-point arithmetic produces, and tan(90) is reported as undefined instead of as an enormous number.
How to Use Scientific Calculator
- Choose DEG or RAD for trigonometric functions
- Type an expression or build it with the buttons — the answer preview updates live
- Press = or Enter to store the result as Ans
- Click any line in History to reuse that expression
Order of Operations Used
Highest priority first. Operators on the same row are applied left to right unless noted.
| Priority | Operation | Example | Result |
|---|---|---|---|
| 1 | Parentheses and function calls | 2 × (3 + 4) | 14 |
| 2 | Factorial !, percent % | 5! ÷ 4 | 30 |
| 3 | Powers ^ (right to left) | 2^3^2 | 512 |
| 4 | Negation − | −3^2 | −9 |
| 5 | Multiply ×, divide ÷, implied multiplication | 6 ÷ 2(1 + 2) | 9 |
| 6 | Add +, subtract − | 10 − 4 + 1 | 7 |
Exact Trig Values in Degree Mode
Returned exactly for these angles (and their equivalents every 360°).
| Angle | sin | cos | tan |
|---|---|---|---|
| 0° | 0 | 1 | 0 |
| 30° | 0.5 | 0.866025403784 | 0.57735026919 |
| 45° | 0.707106781187 | 0.707106781187 | 1 |
| 60° | 0.866025403784 | 0.5 | 1.73205080757 |
| 90° | 1 | 0 | undefined |
| 180° | 0 | −1 | 0 |
How to Read Your Result
Why −3² is −9 and not 9
In written math, −3² means “the negative of three squared”. The minus sign is applied after the power, so the answer is −9. If you mean the square of negative three, write (−3)^2, which gives 9. Some phone calculators apply the minus sign first; this one follows the written convention.
The 6 ÷ 2(1 + 2) argument
Implied multiplication — a number written directly against a parenthesis — is treated here exactly like ×, so the expression is worked left to right as (6 ÷ 2) × 3 = 9. A different convention, still found in some textbooks and on older handhelds, gives implied multiplication higher priority and returns 1. Neither is a calculator bug; the expression is ambiguous, and extra parentheses remove the doubt.
Why results are shown to 12 significant digits
Numbers are stored as IEEE 754 double-precision binary floating point, which cannot represent most decimals exactly. Rounding the displayed answer to 12 significant digits hides that storage noise — 0.1 + 0.2 displays as 0.3 — while still showing far more precision than any practical measurement has.
Limitations & Accuracy Notes
- Calculations use double-precision floating point: about 15–17 significant digits. Results beyond ±1.8 × 10³⁰⁸ overflow, and factorials stop at 170!.
- It evaluates numbers, not symbols — it cannot simplify algebra, solve for x or give exact fractions and surds.
- Negative numbers raised to fractional powers, such as (−8)^(1/3), are reported as not real rather than returning the real cube root. Use ∛(−8) for that.
- Statistics, complex numbers, base conversion and graphing are not included; use a dedicated tool for those.
Frequently Asked Questions
Should I use DEG or RAD mode?
What order of operations does this calculator follow?
What is the answer to 6 ÷ 2(1 + 2)?
Why does 0.1 + 0.2 show 0.3 here but 0.30000000000000004 elsewhere?
How do I enter scientific notation like 6.02 × 10²³?
How does the % key work?
What is the largest factorial it can calculate?
Can I type instead of clicking the buttons?
References & Further Reading
- Goldberg, “What Every Computer Scientist Should Know About Floating-Point Arithmetic” (ACM Computing Surveys, 1991) — Why decimal results carry tiny binary errors