Skip to main content

Online Calculator

0
History

Your calculations will appear here. Click one to use its result again.

Keyboard: numbers and + − * / % ( ), Enter for =, Backspace to delete, Esc to clear. You can also paste an expression.

A free online calculator with nothing to install: tap the buttons or type the whole expression on your keyboard, or paste a line of numbers. It follows the order of operations, handles brackets and percentages, and gets decimals exactly right. Every time you press = it is saved in the history, so you can check a total later or copy everything at once.


How to use the online calculator​

  1. Enter the expression with the number and operator buttons. The expression shows on top and a live preview of the result (in grey) below it.
  2. Press = or Enter for the answer. Pressing + − × ÷ next carries on from that answer; pressing a number starts a new calculation.
  3. Use ⌫ to delete one character and AC to clear everything. ± makes the last number negative.
  4. Press Copy result to paste the answer somewhere else. It is copied without thousands separators, so it works in a spreadsheet straight away.
  5. The History below lists your calculations; click one to bring its result back and keep going.

Keyboard shortcuts​

On a computer you don't need to click the buttons, just type:

KeyAction
0–9 and .Digits and decimal point (a comma also works as the decimal point)
+ − * /Add, subtract, multiply, divide (x also multiplies)
%Percent
( )Brackets
Enter or =Calculate
BackspaceDelete one character
Esc or DeleteClear everything

You can also paste an expression such as "1,280 × 3" copied from a web page; thousands separators and full-width digits are handled for you.

How to calculate percentages​

The % key works like the one on a phone calculator, which makes discounts and tax quick:

What you wantPressAnswer
10% off a price of 1,2801280 − 10%1,152
Add 5% tax to 2,0002000 + 5%2,100
15% of 860860 × 15%129
45 as a percentage of 6045 ÷ 60 × 10075

The rules: "A + B%" adds B% of A to A, "A − B%" takes B% of A away, "A × B%" is B% of A, and "B%" on its own is B ÷ 100.

Order of operations​

The calculator follows the usual order of operations: brackets first, then multiplication and division, then addition and subtraction.

ExpressionAnswerWhy
2 + 3 × 4143 × 4 = 12 first, then add 2
(2 + 3) × 420Brackets first: 2 + 3 = 5
100 − 20 ÷ 49520 ÷ 4 = 5 first
2(3 + 4)14A number right before a bracket means multiply

Some basic calculators work one step at a time and give 20 for 2 + 3 × 4. Here you can type the whole expression in one go without noting down partial results, and a missing closing bracket is added for you.

Exact decimals​

Many programs, including some web calculators, use binary floating-point numbers, so 0.1 + 0.2 comes out as 0.30000000000000004. This calculator works with exact fractions internally, so 0.1 + 0.2 is simply 0.3 and money totals don't pick up odd trailing digits. Results that don't divide evenly are rounded to 10 decimal places, for example 1 ÷ 3 = 0.3333333333.

Use the history to add up expenses​

Each time you press =, the expression and answer are saved in the history. It is stored only in your browser (nothing is uploaded) and is still there after a reload or next time you visit:

  • Check: for example 120 + 85 + 230 = 435, so you can see later which amounts you added.
  • Carry on: click an entry to bring its answer back and keep multiplying, dividing or adding.
  • Copy all: press Copy all to paste every calculation into a message, a note or a spreadsheet.

Up to 100 entries are kept; press Clear history when you no longer need them.

Using it on a phone​

The buttons are large enough to tap comfortably, and tapping the expression line doesn't open the phone keyboard over them. If you use it often, add the page to your home screen from the browser menu and it opens like an app.

FAQ​

Is this online calculator free? Do I need an app?​

It is free and needs no app or sign-up. It works in the browser on computers, tablets and phones.

Can I type with my keyboard?​

Yes. Digits, + − * /, % and brackets can all be typed; Enter calculates, Backspace deletes and Esc clears. You can also paste a whole expression.

How do I calculate a discount or add tax?​

For 10% off, press the price − 10%, for example 1280 − 10% = 1,152. To add 5% tax, press the price + 5%, for example 2000 + 5% = 2,100. For 15% of a number, press the number × 15%.

Does it follow the order of operations?​

Yes. Brackets come first, then multiplication and division, then addition and subtraction, so 2 + 3 × 4 = 14.

Why is 0.1 + 0.2 = 0.3 here when other calculators show 0.30000000000000004?​

Many programs use binary floating-point numbers, which causes tiny errors like that. This calculator uses exact fractions, so the answer is 0.3. Results that don't divide evenly are rounded to 10 decimal places.

Will my history disappear?​

The history is stored in your browser, so it survives a reload or closing the tab, up to 100 entries. It is only removed if you press Clear history, clear your browser data or use a private window. Nothing is uploaded.

What happens if I divide by 0?​

The calculator shows a message that you cannot divide by 0 instead of a wrong number. Fix the expression and press = again.

More math calculators