How to Subtract on the Windows Calculator

To subtract on the Windows Calculator, open the Calculator app, type the first number, select the minus button (or press the - key), type the number you want to take away, then select = or press Enter. The answer replaces the numbers in the display. These steps cover the Calculator app that comes with Windows 11 and Windows 10, in Standard mode, with extra sections for mixed problems, percentages, memory and dates.

Before you start: the app, the mode and two keys that look alike

You only need the built-in Calculator app. To open it, select Start, type Calculator in the search box, and pick Calculator from the results. If you use it often, right-click it in Start and pin it to the taskbar so it is one click away.

A few terms used below:

  • Mode: Calculator has several layouts. Standard is the basic four-function layout. Scientific, Graphing, Programmer and Date calculation are the others. You switch between them from the navigation menu, the button with three horizontal lines in the top-left corner.
  • Minus button: the - operator on the right-hand column of buttons. It tells Calculator to subtract the next number from the one already entered.
  • Negate button: labeled +/- on the bottom row. It does not subtract anything. It flips the sign of the number currently in the display, so 8 becomes -8 and -8 becomes 8.
  • CE and C: CE (Clear Entry) wipes only the number you are typing. C clears the whole calculation so you can start fresh.

Mixing up the minus button and the negate button is the most common reason a subtraction comes out wrong, so it is worth knowing which is which before you begin.

Subtract two numbers in Standard mode

Standard mode is the right place for everyday subtraction like change owed, a remaining balance, or the difference between two readings. This example works out 245 minus 78.

  1. Open Calculator. If the title at the top does not say Standard, select the navigation menu (three lines, top left) and choose Standard.
  2. Select C once so nothing from an earlier calculation carries over.
  3. Type the starting number, 245, by clicking the digit buttons or typing on your keyboard. It appears in the large display.
  4. Select the minus button (-). The small line above the display now shows 245 -, which confirms the operation is waiting for a second number.
  5. Type the number to take away, 78.
  6. Select =. The display shows 167, and the line above it shows the full expression 245 - 78 =.

That expression line is your built-in receipt. Glance at it before you copy the answer anywhere, because it shows exactly which numbers were used.

Doing it from the keyboard instead

If you are copying figures off a document, typing is quicker than clicking. Calculator accepts input from both the number row and the number pad.

  1. Click once inside the Calculator window so it has focus.
  2. Press Esc to clear any previous calculation.
  3. Type the first number.
  4. Press the minus key. Either the hyphen key next to the zero on the number row or the minus key on the number pad works.
  5. Type the second number and press Enter to see the result.

On a laptop without a number pad, the number-row hyphen does the same job. If the number pad digits do nothing, check that Num Lock is on. In current versions of the app, Delete clears only the current entry (the same as CE) and Backspace removes the last digit you typed.

Taking away several numbers in a row

You do not need to press = after each step. To work out 500 – 120 – 45 – 60, type 500, minus, 120, minus, 45, minus, 60, then =. Each time you press minus again, Standard mode shows the running total so far (380, then 335), and the final answer is 275.

This running total is handy for checking a list of expenses against a starting balance. If you lose your place, the expression line above the display keeps the whole chain visible.

Standard or Scientific when a problem mixes operations

This is where Windows Calculator surprises people. In current versions of the app, Standard mode works through a problem in the order you type it, completing each step as you go. Scientific mode follows the usual math order of operations, doing multiplication and division before addition and subtraction.

Type 10 - 2 × 3 = in each mode and you get two answers:

ModeHow it reads 10 – 2 × 3Result
Standard(10 – 2), then × 324
Scientific10 – (2 × 3)4

Which one to choose:

  • For plain subtraction, or a chain of subtractions and additions only, both modes agree. Stay in Standard.
  • If the problem also multiplies or divides, switch to Scientific from the navigation menu. It also has parenthesis buttons, so you can type (10 - 2) × 3 when you really do want the subtraction done first.
  • If you prefer staying in Standard, break the problem into pieces: work out 2 × 3 first, then subtract that result from 10.

Subtract a percentage

To take 15 percent off a price of 200 in Standard mode, type 200, select minus, type 15, select %, then select =. In current versions, when you select %, the display changes to 30 (15 percent of 200), and the final result is 170.

If the percent key behaves differently than you expect, use the decimal route, which gives the same answer in any mode: multiply the price by the portion you keep. For a 15 percent discount, that is 200 × 0.85 =, which is 170.

Subtract from a running figure with M-

Memory buttons let you hold one figure aside while you work out other numbers. The row under the display includes MC, MR, M+, M- and MS.

  1. Type your starting amount, for example a budget of 1200, and select MS to store it.
  2. Work out a cost, such as 3 × 85 = (255).
  3. With that result in the display, select M-. Calculator subtracts the displayed number from the stored one.
  4. Repeat for each cost.
  5. Select MR to recall what remains. In this case it shows 945.

Select MC when you are done so the old figure does not get mixed into your next job.

Subtract dates with Date calculation

Typing two dates into Standard mode will not work, but Date calculation mode handles both kinds of date subtraction. It is listed in the same navigation menu as the other modes.

Find how many days separate two dates

  1. Open the navigation menu and select Date calculation. Difference between dates is selected by default.
  2. Pick the earlier date in the From field.
  3. Pick the later date in the To field.
  4. Read the result under Difference.

Count back from a date

  1. In Date calculation, open the mode list at the top and choose Add or subtract days.
  2. Pick the starting date.
  3. Select Subtract.
  4. Enter the amount in the Years, Months and Days fields. You can combine them, such as 1 month and 10 days.
  5. Read the earlier date under Date.

Microsoft’s own walkthrough is at Calculate days between dates or a future or past date. If you need to do this for a whole column of dates, a spreadsheet is faster; see subtracting one date from another in Excel.

Worked example: Priya checks her week of spending

Priya starts the week with 320.00 in her spending account and wants to know what is left after these purchases. The figures are made up for this example.

ItemAmountRunning total after subtracting
Starting balance320.00320.00
Groceries86.40233.60
Bus pass45.00188.60
Lunch with Jordan23.75164.85
Phone top-up30.00134.85

In Standard mode she types 320 - 86.4 - 45 - 23.75 - 30 =. She can type the decimal point with the period key or the . button. The running totals appear each time she presses minus, and the final display reads 134.85. To check it, she adds the four purchases (86.4 + 45 + 23.75 + 30 =, which is 185.15) and then works out 320 - 185.15 =. Both routes land on 134.85, so the answer is solid.

Negative numbers: minus versus +/-

When you subtract a bigger number from a smaller one, the result is negative and the display shows it with a leading minus sign. For example, 40 - 65 = shows -25. That is correct, not an error.

To subtract a negative number, such as 5 – (-3), use both keys in the right order:

  1. Type 5 and select the minus button.
  2. Type 3, then select +/- so the display shows -3.
  3. Select =. The result is 8, because taking away a negative is the same as adding.

On the keyboard, F9 usually does the same thing as the +/- button. Pressing the minus key twice in a row does not create a negative number; it just replaces the pending operator.

When the answer looks wrong

  • The result is off by an old number. A previous calculation was still active. Select C (or press Esc) and start again.
  • Pressing = again keeps changing the answer. Calculator repeats the last operation each time you press =, so 20 - 5 = gives 15, and another = gives 10. Press it once, then stop.
  • A mixed problem gives a strange total. You are in Standard mode, which works left to right. Use Scientific mode or split the problem up, as shown in the table above.
  • The sign is backwards. You entered the numbers in reverse. Subtraction order matters: the number you type first is the one you take away from.
  • You flipped a sign by accident. If you selected +/- instead of minus, the number in the display became negative. Select +/- again to flip it back, or select CE and retype the number.
  • Typed digits do nothing. The window is not in focus, or Num Lock is off for the number pad. Click inside Calculator and check Num Lock.
  • A mode you expect is missing. Open the Microsoft Store, go to Library (or the downloads and updates page in older Store versions), and install any available update for Calculator.
  • The app freezes or will not open. In Windows 11, go to Start > Settings > Apps > Installed apps, select the More icon (three dots) next to Calculator, choose Advanced options, and select Repair. If that does not help, select Reset. Reset is the more drastic option, so try Repair first. The full process is on Repair apps and programs in Windows.

Checking the result and fixing a slip

The quickest check for any subtraction is to add the answer back to the number you took away. If 245 - 78 gave 167, then 167 + 78 should return 245. If it does not, one of the original entries was mistyped.

Calculator also keeps a History list of the calculations you have done. Open it with the History button (the clock icon at the top right) or, in current versions, press Ctrl+H. On a wide window the History panel stays open beside the keypad. Selecting an entry loads that calculation back into the display so you can carry on from it, which beats retyping a long chain.

To undo a mistake before you press =, use the smallest fix that works:

  • One wrong digit: Backspace (or the backspace arrow button) removes it.
  • The whole second number is wrong: CE clears it while keeping 245 - waiting.
  • Wrong operator: select minus again; the new operator replaces the old one.
  • Everything is a mess: C clears it all.

Other things people ask about subtracting in Calculator

Can Calculator subtract hours and minutes?

Not directly. Date calculation works in years, months and days, and Standard mode treats 2:30 as plain digits. For a clock-time difference, convert to minutes first (2 hours 30 minutes is 150 minutes) and subtract those, or use a spreadsheet. Working out time differences in Excel handles start and end times cleanly.

How do I keep Calculator visible while I work in another window?

Switch to Standard mode and select the Keep on top button, or press Alt+Up arrow. The compact window floats above your other apps, which is useful when you are reading figures off a web page or invoice. Press Alt+Down arrow (or select the button again) to go back to the full window. Details are on Microsoft’s Use the Calculator in Windows page.

Can I subtract in binary or hexadecimal?

Yes. Programmer mode, also in the navigation menu, lets you choose HEX, DEC, OCT or BIN and then subtract with the same minus button. The result is shown in the base you picked, with the other bases listed underneath. It works with whole numbers only.

Is subtracting on a Mac or phone any different?

The idea is the same, but the buttons and the way percentages and negatives work vary by app. If you switch devices, see the iPhone Calculator steps.

Next step

Try the 245 – 78 example once in Standard mode and once using only the keyboard, then run 10 – 2 × 3 in both Standard and Scientific so you can see the order-of-operations difference for yourself. After that, the minus button, the +/- key and the History list will cover nearly every subtraction you need on Windows.

Matthew Burleigh

Matthew Burleigh has been writing technology tutorials online since 2008. He holds Bachelor's and Master's degrees in Computer Science from Arizona State University and has worked in IT since 2003, from small-business IT support to IT management and consulting.