In Windows Calculator on Windows 10 and Windows 11, you can keep a running total by storing a starting number with MS, adding displayed amounts with M+, and subtracting them with M−. Select MR to bring the total back to the display, or open the Memory list to review stored values. When you are finished, MC clears the stored memory.

A Windows Calculator displays 33 after 12 + 25 − 4, with 25 and 33 saved in memory. Before you start​

This guide uses Calculator’s Standard mode. The same basic procedure applies to Windows 10 and Windows 11, although the app’s appearance and the position of its Memory list can vary with the window size and app version.

  • Open the built-in Calculator app, not a calculator on a website or in another application.
  • You do not need an internet connection to perform the calculations, an administrator account, or a restart.
  • Calculator’s memory holds numbers for reuse. It is different from History, which shows previous calculations.
  • Keep a separate record of any total you cannot afford to lose. Do not treat Calculator memory as a permanent record.

The walkthrough below starts with an empty memory so there is only one stored value to track. That matters because Calculator can hold more than one value: using MS again can store another number rather than add it to your running total.

Start a running total​

For this example, imagine a total that starts at 25, increases by 12, and then decreases by 4. The result should be 33.

  1. Select Start, type Calculator, and open Calculator from the results.
  2. Select the Open navigation button—the three horizontal lines near the upper-left corner—and choose Standard.
  3. Look for the memory buttons above the number keypad: MC, MR, M+, M−, and MS. If the window is very compact and you cannot see them, enlarge the Calculator window. If you have turned on Keep on top, turn it off to return to the full Standard layout.
  4. Before clearing memory, check whether it contains numbers you need. The main MC button clears stored memory, not just the number on the display. If you need an existing value, recall it or write it down first.
  5. Select MC to clear existing memory. If MC is unavailable because memory is already empty, continue. Select C to clear the current calculation and start with a clean display.
  6. Enter 25, then select MS. This stores 25 as the starting value. The display may still show 25; storing a number does not require it to disappear from the display.
  7. Select C, enter 12, and select M+. Calculator adds the displayed 12 to the stored 25. The running total in memory is now 37.
  8. Select C, enter 4, and select M−. Calculator subtracts the displayed 4 from the stored 37. The running total in memory is now 33.
  9. Select MR. The main display should show 33. Recalling the value displays it without clearing it from memory, so you can use it again or continue updating the total.

You do not need to press = after entering a single amount before selecting M+ or M−. If the amount is itself a calculation, finish that calculation with = first, check the displayed result, and then choose the memory button.

Add a calculated amount to the total​

Memory is useful when each amount needs some arithmetic before it is added. For example, suppose the current stored total is 33, and you want to add the cost of three items at 6 each.

  1. Select C to clear the current calculation. This does not clear the value stored in memory.
  2. Enter 3 × 6, then select =. Confirm that the display shows 18.
  3. Select M+ once. Calculator adds the displayed 18 to the stored 33.
  4. Select MR to check the total. The display should show 51.

To remove a calculated amount instead, calculate it, verify the result on the display, and select M− once. For example, subtracting a displayed 5 from the stored 51 leaves 46 in memory.

Be careful not to select M+ or M− twice: each selection applies the displayed amount again. Also check the sign of the displayed amount. Subtracting a negative number is not the same as subtracting a positive one.

Review and clear stored values​

The Memory list lets you inspect stored numbers without relying only on the main display.

  1. In Standard mode, make the Calculator window wider. If a side panel appears, select Memory to view the stored values.
  2. In a narrower window, select the M button with the small drop-down arrow to open the Memory list.
  3. Review the numbers shown. Select a stored number if you want to bring it into the main display.

If you followed the first example without storing anything else, the list should contain the running total 33. If you also completed the calculated-amount example, it should show 51, or 46 if you performed the optional subtraction.

The main MR, M+, and M− buttons work with the most recently stored memory value. If you have stored several numbers with MS, inspect the list before continuing: the number you intend to update may not be the newest one. For a simple running total, the safest approach is to start with empty memory and use MS only for the initial value.

Before clearing the list, record any values you still need. To finish:

  1. Select the main MC button above the keypad to clear stored memory.
  2. Open the Memory list again, if needed, and check that it no longer contains the values you cleared.
  3. Select C if you also want to clear the current calculation from the display. Clearing memory and clearing the display are separate actions.

You can also remove an individual entry using its MC control in the Memory list. Take care to use the control associated with that entry rather than the main MC button if you want to keep other stored numbers.

Use the keyboard instead of clicking​

With Calculator active in Standard mode, these shortcuts correspond to the memory buttons:

ShortcutButtonAction
Ctrl + MMSStore the displayed number
Ctrl + PM+Add the displayed number to memory
Ctrl + QM−Subtract the displayed number from memory
Ctrl + RMRRecall the stored number
Ctrl + LMCClear memory

For example, after starting with empty memory, enter 25 and press Ctrl + M. Clear the display, enter 12, and press Ctrl + P. Press Ctrl + R to check for 37. These shortcuts act on Calculator, so click its window first if another app has keyboard focus.

Troubleshoot an unexpected total or missing controls​

  • MR or MC is unavailable: Memory may be empty. Enter a number and select MS, then try MR again. Remember that C clears the current calculation; it is not a substitute for MS.
  • The total is too large or too small: Check whether an old value was in memory before you started, or whether you selected M+ or M− more than once. Also check that you used M− for a subtraction rather than the ordinary minus key. If you know the mistaken amount, you can reverse one addition with M−, or reverse one subtraction with M+, using that same displayed amount. Otherwise, record the correct inputs, clear memory, and rebuild the total.
  • MR shows a different number than expected: Open the Memory list and look for additional values. A later press of MS may have stored another number. For a fresh tally, save anything needed, clear memory with the main MC, and store the starting value once.
  • The display still shows the amount you just entered: Select MR to display the running total. The number being entered and the number stored in memory serve different purposes.
  • The Memory list or buttons are missing: Return to Standard mode and enlarge the window. In the compact layout, use the M drop-down to view the list; in a wider layout, select Memory in the side panel.
  • A shortcut does nothing: Make Calculator the active window and try the corresponding on-screen button. For example, use M+ instead of Ctrl + P to check whether the issue is keyboard focus rather than memory itself.

If Calculator will not open or its controls still do not respond, first save any information you need from the app, then close and reopen it. If the problem continues, Microsoft provides an app repair option where available:

  1. On Windows 11, open Settings > Apps > Installed apps. Find Calculator, select the More button next to it, and choose Advanced options.
  2. On Windows 10, open Settings > Apps > Apps & features. Select Calculator, then choose Advanced options.
  3. Select Repair, if available. Reopen Calculator and repeat the 25-plus-12 test; MR should show 37.

If repair is unavailable or does not fix the app, Reset may be offered on the same Advanced options page. Reset can remove app data, so record any values you need before selecting it. Afterward, reopen Calculator and repeat the test. On a work or school PC, contact your administrator if the app or its repair options are unavailable.