Scientific Calculator
Free scientific calculator with a live result as you type: trig, logs, powers, roots, factorials, nCr, memory and saved history. DEG or RAD.
History
Formula, example and limits
Parsing follows normal precedence: brackets, then ! and %, then ^ (right to left), then * and /, then + and -. Note -2^2 = -4. Worked example: 2*(3+4)^2 = 2*49 = 98. sin(30) = 0.5 in degree mode.
- Double-precision arithmetic: tiny rounding differences are normal.
- Factorial supports whole numbers up to 170.
- Results of trig functions smaller than 1e-15 are shown as 0.
About Scientific Calculator
The Scientific Calculator works out a whole expression at once, with trig, logs, powers, roots, factorials, nCr, memory and a saved history.
Live result
The answer appears in grey as you type, so you see a mistake before pressing equals.
More functions
The 2nd key adds sinh, cosh, tanh and their inverses, e^x and more.
DEG or RAD
Choose before trigonometry: sin(30) is 0.5 in degrees but about -0.988 in radians.
Memory and history
MS, M+, M-, MR and MC hold a value; the history keeps your recent sums.
Precision
About 15 to 16 digits, so tiny rounding differences can appear.
Private
Everything is worked out in your browser. Nothing you type is uploaded.
Order of operations
Brackets come first, then powers and roots, then multiplication and division, then addition and subtraction. So 2 + 3 x 4 is 14, not 20; add brackets when you mean (2 + 3) x 4.
How to use Scientific Calculator
- Choose RAD or DEG if your expression uses sin, cos or tan.
- Type or tap the expression. The grey line shows the result as you go.
- Press 2nd for extra functions such as cube root, nPr, log2, gcd and lcm.
- Press = or Enter to confirm. Pick a result format if you need fixed decimals or scientific notation.
- Use ANS, the memory keys and the history to carry values into the next calculation.
Help & FAQ
Degrees or radians?
Pick RAD or DEG above the keypad. sin, cos and tan read the angle in that unit, and asin, acos and atan give their answer in it. The calculator starts in RAD.
Why does sin(30) not give 0.5?
The calculator is in RAD mode, where 30 means 30 radians and sin(30) is about -0.988. Switch to DEG and sin(30) gives 0.5.
What numerical precision does Scientific Calculator use for calculations?
It uses standard double-precision numbers, about 15 to 16 digits, and shows 12 significant digits in the automatic format. Some results, such as 0.1 + 0.2, are therefore shown rounded to 0.3.
What is the order of operations?
Brackets first, then ! and %, then ^ (right to left), then multiplication and division, then addition and subtraction. Note that -2^2 is -4, while (-2)^2 is 4.
What is the difference between log and ln?
log is base 10 and ln is the natural logarithm with base e. log2 (on the 2nd keys) is base 2, and you can type logb(x,b) for any other base, for example logb(8,2) = 3.
Can we type with our keyboard?
Yes. Type the expression in the display, press Enter for equals and Esc to clear. You can mix typing and tapping.
What does the 2nd key do?
It swaps the top three rows of keys for a second set: sinh, cosh, tanh, e^x, 10^x, cube root, asinh, acosh, atanh, nth root, nPr, log2, tau, mod, gcd, lcm, round and floor. Press 2nd again to go back.
How does the % key work?
It divides the number before it by 100, so 15% is 0.15 and 200*15% is 30. It does not add a percentage: 200+15% gives 200.15. To add 15 percent to 200, type 200*(1+15%), which gives 230.
How do we enter nCr, nPr, an nth root or a remainder?
These take two values separated by a comma: nCr(5,2) = 10, nPr(5,2) = 20, root(3,27) = 3, mod(17,5) = 2, gcd(12,18) = 6 and lcm(4,6) = 12. The comma key is next to the decimal point.
What is the grey result that appears while we type?
It is a live preview of the expression so far. It stays grey until you press = or Enter; only then is the result saved to the history and stored as ANS.
Is our history saved, and who can see it?
The last 30 results are stored in this browser on this device only. They are not sent to a server, and they will not appear in another browser or a private window. Clear history removes them.
How do the memory keys work?
MS stores the current result, M+ adds it to the memory and M- subtracts it. MR inserts the memory value into the expression and MC sets it back to 0. The memory is reset when you reload the page.
Why is a fraction shown under some results?
When the answer equals a fraction with a denominator up to 1000, it is shown as well, for example 0.75 as 3/4 or 1/3 + 1/6 as 1/2. Results such as pi or sqrt(2) have no such fraction, so nothing is shown.
How do we enter or read scientific notation?
Type 6.02e23 or use the x10^ key (6.02*10^23). Very large or very small results are shown in the form 6.02e+23 automatically, and the Scientific result format shows every answer that way.
What happens if we forget to close a bracket?
The calculator adds the missing closing brackets at the end, evaluates the expression and tells you it did so. If that is not what you meant, add the bracket where it belongs.
What are the limits of this calculator?
Factorials work for whole numbers up to 170. Only real numbers are supported, so sqrt(-1) or ln(0) gives an error message. Dividing by zero is reported as an error, and results too large for double precision are not shown.