Calculator

A free online calculator you can use with buttons or your keyboard. It follows the order of operations and keeps your calculation history on this device.

0

History

    Your calculations appear here. Tap one to reuse its result.

    ⌨️ Keyboard: digits · + - * / · Enter equals · Backspace delete · Esc clear · %

    iPhone app · Free to downloadQR Code Reader · Barcode ScansScan any QR code or barcode instantly and keep a history of codes you create.View on the App Store

    About the Calculator

    This basic calculator handles addition, subtraction, multiplication, division, percentages and sign changes. It follows the standard order of operations, so 2 + 3 × 4 = 14, and it cleans up floating-point noise so that 0.1 + 0.2 shows 0.3 instead of 0.30000000000000004.

    On a computer you can type with the number keys and use Enter, Backspace and Esc. Tap any entry in the history to bring its result back and keep calculating.

    It is meant for quick everyday sums: totting up a shopping basket, splitting a bill, checking a discount or a tip. It opens instantly in the browser, and because the history stays on the page you can compare earlier results with a receipt without writing anything down.

    How to use

    1. Tap the number buttons (or type digits) and choose an operator: + − × ÷.
    2. Press = or Enter to see the result. Press an operator right away to keep calculating with it.
    3. ⌫ (Backspace) deletes one digit, AC (Esc) clears everything.
    4. Tap an entry in the history to reuse its result, or use Copy to copy the current result.

    Worked examples

    Splitting a restaurant bill

    Input
    3 × 12.99 + 5.49 = (three mains and one side)
    Result
    44.46

    Because multiplication comes first, you can type it straight through without brackets: 3 × 12.99 = 38.97, plus 5.49. Divide the result by the number of people to get each share.

    Adding an 18% tip

    Input
    64.80 + 18 % =
    Result
    The expression line shows 64.8 + 11.664 = and the result is 76.464

    The % key works out 18% of 64.80 (11.664) and adds it. Round to 76.46 when you pay; the tip calculator can also split the total and round per person.

    Up 10%, then down 10% (a common surprise)

    Input
    100 + 10 % =, then − 10 % =
    Result
    First 110, then the expression line shows 110 − 11 = and the result is 99

    The second percentage is taken from 110, not from the original 100, so you end up 1% lower. To strip a tax that is already included, divide instead: 54 ÷ 1.08 = 50, whereas 54 − 8% gives 49.68.

    Keyboard shortcuts

    KeyAction
    0–9, .Digits and decimal point
    + − * /Add, subtract, multiply, divide (x also multiplies)
    Enter or =Show the result
    BackspaceDelete the last digit
    Esc or DeleteClear everything (AC)
    %Percent

    How the % key works

    It works like the calculator on your phone:

    • 200 + 10% → adds 10% of 200 (20) = 220 (adding tax or a tip)
    • 200 − 10% → subtracts 20 = 180 (a 10% discount)
    • 50 × 10% → 50 × 0.1 = 5
    • A number followed by % alone is divided by 100 (10% → 0.1)

    Order of operations and rounding

    Multiplication and division are done before addition and subtraction (PEMDAS). Some desk calculators work strictly left to right and would show 20 for 2 + 3 × 4; this calculator shows the mathematically correct 14.

    Computers store decimals in binary, which causes tiny errors such as 0.1 + 0.2 = 0.30000000000000004. Results are rounded to 12 significant digits so these errors don’t show.

    FAQ

    Where is my calculation history stored?

    Your last 50 calculations are saved only in this browser. Nothing is sent to a server, and you can delete the history at any time with “Clear history”.

    Why is 2 + 3 × 4 equal to 14 and not 20?

    Because multiplication comes before addition in the order of operations: 3 × 4 = 12 first, then 2 + 12 = 14.

    How are very large or very small numbers shown?

    You can enter up to 15 digits. Results of a quadrillion (10^15) or more, or extremely small decimals, are shown in scientific notation such as 1.5e18.

    What happens if I divide by zero?

    You’ll see “Cannot divide by zero”. Press any number to start a new calculation.

    How do I remove sales tax or VAT from a price that already includes it?

    Divide by 1 plus the rate rather than subtracting a percentage. For an 8% tax, 54 ÷ 1.08 = 50. Subtracting 8% (54 − 8%) takes 8% of the taxed price and gives 49.68, which is too low. The VAT calculator does this split for you.