You are trying to write a math equation or code, but pressing the key next to 'Q' or 'P' spits out a 1, 2, or 3 instead of the minus sign. This happens because your computer is reading that key as part of the numeric keypad layout, not the main alphabet section. This page explains exactly why this occurs and gives you the quickest steps to get a proper minus symbol back, whether you are on a full desktop board or a compact laptop.
In short: The minus key located between the 'Q' and 'P' keys (or next to the Enter key on a numpad) often doubles as a number key when NumLock is active.
To type a minus sign, ensure NumLock is off if using the numpad, or check if your keyboard layout is set to US Standard rather than a numeric keypad override.
If the main body minus key is still wrong, a driver reset or physical key inspection is required.
Our pick
Tap to see today's price on AmazonSeparates number entry from main typing so the minus key on the main board works correctly.
Why the Minus Key Types Numbers Instead
Your keyboard’s minus key often shares a circuit with number keys. On many full-size desktop keyboards, the key labeled – = on the main board is distinct from the key on the numeric keypad. However, on some compact or non-US layout keyboards, the physical key that should be the main body minus might actually be a remapped numeric key. The other half of this decision is adjusting screen levels.
The most common cause is that you are pressing the key on the numeric keypad while NumLock is on. In this mode, that key outputs 7 (or sometimes acts as an alternative number depending on the OS setting). If you are pressing a different key entirely, your keyboard layout may be misconfigured.
- Numpad Minus (-): Types 7 when NumLock is ON.
- Main Body Minus (-): Should always type –.
- Key Next to Enter: On some compact layouts, this might be a number key.
Quick Fix: Toggle NumLock and Check Layout
Start by toggling the NumLock key. Look for an LED indicator on your keyboard. If the light is on, the numpad is in number mode. Turn it off to allow the numpad keys to function as their alternative symbols (including minus, if that is the key you are pressing).
If you are using the main body minus key (between Q and P), NumLock is usually not the issue. Instead, check your keyboard layout. Go to Settings > Time & Language > Language & Region in Windows 10/11. Ensure your keyboard layout is set to US or your preferred standard, not a numeric override.
- Press NumLock and check the LED.
- If using the numpad, ensure NumLock is OFF to type symbols.
- If using the main body key, verify your layout is not set to a numeric keypad mode.
Tip: On laptops, the NumLock function is often combined with the Insert key. You may need to press Fn + Insert to toggle it.
Pro tip: On many laptops, NumLock is hidden on the Insert key. Press Fn + Insert to toggle it.
How to Type the Minus Sign on Any Keyboard
The standard minus sign – is found on the main alphabet board, usually to the right of the 0 key or above the right Shift key. It is the key that also has the = symbol on it. We cover laptop volume not changing in a guide of its own.
If you need a true mathematical minus for coding or formulas, ensure you are using this key. Do not use the hyphen – on the main board if you require a specific Unicode character, though for most users, they are identical. If you are using the numeric keypad, turn NumLock OFF and press the key below the 7 key.
- Main Minus: Key with – and =. Works always.
- Numpad Minus: Key below 7. Works only when NumLock is OFF.
- Alt Codes: Hold Alt and type 000 on the numpad for a minus in older Windows systems (may not work on all modern setups).
A dedicated numpad ensures you have a clear set of number keys separate from your main typing area, reducing accidental inputs.
- Wide Compatibility: This numpad works with Windows (2000/XP/Vista/7/8/10/11) and
- Plug-and-Play Simplicity: This number pad requires no driver or battery; just plug the
Common Mistakes: Hyphen vs. Minus vs. En Dash
Users often confuse three similar keys. The hyphen – is on the main keyboard. The minus sign in math is visually the same character in most fonts. However, a en dash – is a different character used for ranges.
If you are typing code, always use the standard hyphen-minus from the main board. Using a dash from a word processor or a smart quote feature can break scripts. This is a common mistake when copy-pasting from Word into a terminal or code editor.
- Hyphen (-): Short line, used in words like “well-known”.
- Minus (-): Same code point as hyphen in ASCII, used in math.
- En Dash (–): Longer line, used in ranges like “pages 1–10”.
- Em Dash (—): Longest line, used for breaks in thought.
Pro tip: In coding, always type the hyphen-minus from the main keyboard. Do not use dashes from word processors.
When the Key Still Types Numbers: Driver Reset
If toggling NumLock and checking the layout does not work, your keyboard driver may be stuck in a faulty state. A simple driver reset often fixes mapping errors where keys send the wrong signal.
Go to Device Manager in Windows. Expand Keyboards, right-click your keyboard device, and select Uninstall device. Restart your computer. Windows will automatically reinstall the driver on boot. The other half of this decision is business laptop standards.
- Press Windows + X and select Device Manager.
- Expand the Keyboards section.
- Right-click the keyboard and choose Uninstall device.
- Restart your computer.
If you use a mechanical keyboard and the issue persists, check if the keycap for the minus key is loose or if the switch underneath is a different type (like a blue switch that might be misaligned).
If you are replacing switches on a mechanical keyboard, these blue switches offer a tactile click to help confirm key registration.
- Package Includes: You will get 50 Pcs blue keyboard switches in one bag! Each set of
- Enhanced Durability: Engineered with dust-proof and waterproof construction, these
Test Your Keyboard Hardware Before Buying Parts
If software fixes fail, the issue might be physical. A keycap might be slightly off, or the switch under the minus key could be damaged. Before replacing an entire keyboard, use a tester to diagnose the port or connection.
A universal keyboard tester allows you to check if your keyboard cable and connectors are sending the correct signals. This is useful if you are using a proprietary laptop keyboard that is failing to register the minus key correctly.
- Visual Check: Ensure the keycap sits flat and not at an angle.
- Listening Check: Press the key. Does it sound muffled or silent?
- Cable Check: Reseat any internal laptop keyboard cables if you are comfortable opening the back.
The bottom line
Most cases of the minus key typing 1, 2, or 3 are due to NumLock being on the numpad or a layout mismatch. Start by toggling NumLock and checking your language settings in Windows. If you type frequently, a dedicated numpad reduces confusion, and a driver reset is the next safe step for persistent software glitches.
- Wide Compatibility: This numpad works with Windows (2000/XP/Vista/7/8/10/11) and
- Plug-and-Play Simplicity: This number pad requires no driver or battery; just plug the
Frequently asked questions
Why does my minus key on the numpad type 7?
When NumLock is on, the key below the 7 key on the numpad often acts as a number key or is mapped to 7 on certain layouts. Turn off NumLock to make that key function as a minus sign or special character, depending on your OS settings.
How do I type a plus and minus symbol together?
My minus key on the main board types a number. How do I fix it?
Check if your keyboard layout is set to a numeric keypad override. Go to Settings > Time & Language > Language and ensure the input method is standard. If that fails, uninstall the keyboard driver in Device Manager and restart. If it still fails, the keycap switch may be physically damaged.


