Online Calculator
Add, subtract, multiply, and divide using the buttons below or your keyboard. Decimals and negative numbers are supported.
Need parentheses, powers, or square roots? Use the scientific calculator.
How to use the basic calculator
- Enter a number, choose an operator (+, −, ×, or ÷), then enter the next number.
- Press = to see the result, or press another operator to keep going. Multiplication (×) and division (÷) are worked out before addition (+) and subtraction (−), and operations at the same level go from left to right.
- Use ± to make the current number negative, ⌫ to delete the last digit, and C to start over.
- On a keyboard, type digits and + - * /, press Enter or = for the result, Backspace to delete, and Escape to clear.
Worked examples
Splitting a cost
84 ÷ 4 = 21. Four people sharing an 84 bill each pay 21.
Decimals
12.5 × 4 = 50, and 19.99 + 5.01 = 25. Results skip the tiny rounding errors computers can produce, so 0.1 + 0.2 shows 0.3.
Chained operations
2 + 3 × 4 = 14, because multiplication comes before addition: 3 × 4 = 12, then 2 + 12 = 14. For calculations with parentheses, such as (2 + 3) × 4, use the scientific calculator.
Working with negatives
5 − 8 = −3, and −3 × −2 = 6.
Good to know
- Results are rounded to 12 significant digits, and very large or very small results use exponent notation, such as 1.5e+20.
- Dividing by zero shows an error. Enter a new number or press C to continue.
Frequently asked questions
Can I use the calculator with my keyboard?
Yes. Type digits and + - * / (or x for multiply), press Enter or = for the result, Backspace to delete the last digit, and Escape to clear. It works anywhere on the page without clicking the calculator first.
Does the calculator follow the order of operations?
Yes. Multiplication and division are worked out before addition and subtraction, so 2 + 3 × 4 = 14, not 20. For calculations with parentheses, such as (2 + 3) × 4, use the scientific calculator.
How do I enter a negative number?
Press ± before or after typing the number. For example, 5 ± × 2 = gives −10, and 3 × ± 2 = gives −6.
Why does 0.1 + 0.2 show 0.3 here but 0.30000000000000004 elsewhere?
Computers store decimals in binary, which adds tiny errors. This calculator rounds results to 12 significant digits, which removes those errors without changing real answers.
More calculators
Looking for something else? See all tools.