Scientific Calculator
Type an expression or tap the keys. The answer previews as you type and follows the standard order of operations.
Calculator
Type on your keyboard or tap the keys. Enter gives the answer, Esc clears.
History
Answers appear here. Tap one to reuse it.
How to use the scientific calculator
Type an expression with your keyboard or tap the keys, for example (2 + 3)² × sin 30 ÷ 5!. The answer previews as you type; press = or Enter to keep it in the history. Use * or × to multiply, / or ÷ to divide and ^ for powers. A number next to a bracket, constant or function is multiplied, so 2π and 3(4 + 1) work. Switch between degrees and radians with the DEG/RAD key. Press an operator straight after an answer to keep working with it, or use Ans anywhere in a new expression. M+ and M− add the current answer to memory or subtract it, MR recalls it and MC clears it.
How expressions are worked out
The calculator follows the usual order of operations: brackets first, then postfix operators (! factorial, % percent, ²), then powers (worked right to left, so 2^3^2 = 2^9 = 512), then a leading minus sign (so −2^2 = −4), then nCr and nPr, then multiplication and division left to right, then addition and subtraction. Functions without brackets apply to the next number, so sin 30 means sin(30); use brackets for anything longer. % divides by 100, so 15% × 200 = 30. EE enters scientific notation: 6.02E23 is 6.02 × 1023. Lowercase e is always Euler's number, 2.71828… Missing closing brackets are added at the end.
Numbers are IEEE 754 double precision, accurate to about 15 to 16 digits. Answers show up to 12 significant digits and switch to scientific notation from 1012 up and below 10−6. In degrees, exact angles give exact results, so sin 30 = 0.5 and sin 180 = 0 rather than a tiny rounding error.
Worked example
In degree mode, (2 + 3)² × sin 30 ÷ 5!: the bracket gives 5, squared is 25; sin 30° = 0.5 and 5! = 120; then 25 × 0.5 ÷ 120 = 0.104166666667. Typing Ans + 1E3 next gives 1000.10416667. In radian mode sin 30 means 30 radians, so the same expression gives −0.205839921686.
FAQ
Why does tan 90 show an error?
The tangent of 90° is undefined because cos 90° = 0 and tan = sin ÷ cos. The calculator reports it instead of showing a huge meaningless number. The same goes for the square root or log of a negative number, factorials of fractions and 1 ÷ 0.
What is the difference between ln, log and log₂?
ln is the natural logarithm, base e. log is the common logarithm, base 10, so log 1000 = 3. log₂ is base 2, used in computing: log₂ 1024 = 10.
How do nCr and nPr work?
nCr counts combinations, the ways to choose r items from n when order does not matter: 5 nCr 2 = 10. nPr counts permutations, where order matters: 5 nPr 2 = 20. You can also type nCr(52, 5), which is 2,598,960 five-card poker hands.
Is anything I type sent anywhere?
No. CalculatorFly evaluates every expression on your device with WebAssembly. Your history stays on this page and is gone when you close it.