To type the inch symbol, press Shift + ' (the key just left of Enter on a US layout) — that gives you the double prime ″ or, more commonly, a straight quotation mark ("); to type the foot symbol, press Shift + ' once for a single straight quote ('). The “correct” typographic marks are the prime (′ = feet) and double prime (″ = inches), and the fastest way to get them on Windows is to hold Alt and type 8242 (prime) or 8243 (double prime) on the numeric keypad, then release. On a Mac, press Option + Shift + ] for ′ and Option + Shift + ’ for ″, or press and hold the quote key to pick the glyph from the pop-up accent menu. Everything below covers the shortcuts, the paste-free alternatives, and why the marks sometimes come out wrong in documents or on websites.
What You'll Need
- A keyboard with a working number row and, for the Alt-code method on Windows, a separate numeric keypad on the right side (the number row at the top does not trigger Alt codes).
- A document, note, message or text field you can type into — Word, Google Docs, Notes, a browser form, anything.
- Optional but useful: a system input method (Windows Touch Keyboard, macOS Character Viewer, or the emoji/symbol picker on your OS) for when you only type these marks occasionally.
- Optional: a text expander or autocorrect entry if you type dimensions repeatedly and want a fixed shortcut.
Step-by-Step
- Type the everyday version first. On a standard US keyboard, the apostrophe key sits two keys to the right of the L key. Holding Shift and pressing it produces a straight double quote ("); without Shift you get a straight single quote ('). Most people read " as inches and ' as feet, and this works fine in casual messaging, quick notes and fields that only accept plain ASCII.
- Get the true prime symbols on Windows. Turn on Num Lock, click into your text field, hold Alt, type 8242 on the numeric keypad for the prime (feet), or 8243 for the double prime (inches), then release Alt. The character appears at the cursor. Laptops without a numeric keypad usually need Fn to activate the embedded keypad, and some compact layouts cannot do it at all — fall back to the emoji/symbol picker (press Windows + .) or copy the character.
- Get the true primes on a Mac. Press Option + Shift + ] for the prime and Option + Shift + ' for the double prime (the exact combination depends on your layout — if it does nothing, use the alternative in the next step). Alternatively, press and hold the ' key until a small pop-up appears above it showing the typographic variants, then click or press the number next to the one you want.
- Use the Character Viewer on macOS. Press Control + Command + Space to open the Character Viewer anywhere you can type, search for “prime” or “double prime”, and double-click to insert. This also works for the prime in menus and text fields where the keyboard shortcut conflicts with an app.
- Use Word's built-in symbols. In Microsoft Word, go to Insert > Symbol > More Symbols, set the font to a plain text font such as Calibri, and look in the punctuation or mathematical operators group for the prime and double prime. Word also converts straight quotes to smart quotes automatically via File > Options > Proofing > AutoCorrect Options, but note that “smart” curly quotes are not the same as primes, even though they look close.
- Type them on phones and tablets. On iPhone and Android, tap and hold the apostrophe or quote key on the on-screen keyboard; a bubble appears with curly quotes and often the prime characters. Slide to the one you want and release. If the prime is missing, switch to the symbols/numeric keyboard panel and look there, or long-press the period key in some keyboards.
- Use the Google Docs method. In Google Docs, choose Insert > Special characters, search for “prime”, and click the character. It is slower than a shortcut but reliable, and it inserts real Unicode so the mark survives copy-paste and exports.
- Set up autocorrect for repeat typing. If you write dimensions all day (6' 2" etc.), create an autocorrect shortcut. In Word: File > Options > Proofing > AutoCorrect Options, type a trigger such as ftprime in “Replace” and the character ′ in “With”. In Google Docs: Tools > Preferences > Substitutions. The same idea works in most text expanders — map something unlikely like ;in to ″.
- Check how it looks before you publish. Straight quotes can be re-rendered by web platforms, forums and CMSs into curly quotes or dashes. Paste into a plain-text test field first if accuracy matters, and confirm your final document shows ′ and ″ with the correct slant, not “ and ” or ' and ".
Common Mistakes
- Confusing curly quotes with primes. Word processors and typography plugins turn straight quotes into curly ones (“ ”). Those are quotation marks, not inches or feet, and they read wrong in technical writing. Use Unicode primes from a symbol menu if the distinction matters.
- Putting the marks the wrong way round. The single mark means feet, the double means inches: 5′ 11″ is five feet eleven inches. Reversing them gives a nonsensical measurement.
- Using Alt codes without Num Lock. On Windows, Alt + 8243 silently does nothing if Num Lock is off or if you use the number row instead of the numeric keypad.
- Assuming Alt codes work on a laptop. Many laptops have no physical numeric keypad, so the embedded one (through Fn) may or may not produce the character. Use the symbol/emoji picker instead and stop hitting dead keys.
- Relying on autocorrect where it is off. AutoCorrect and smart quotes vary by app, version and language settings, so a shortcut that works in one program can fail in another. Always test once in the app you actually use.
- Typing the symbol instead of the number. In text, write the unit once and give the symbol for each dimension; mixing “six inch” with 6″ in one document looks careless.
Tips
- Keep a note on your phone or desktop with the two characters ′ and ″ in it. Copy-pasting is often faster than remembering an Alt code.
- Use the correct keyboard layout name when searching for help: the apostrophe key is in a different place on UK, German and French layouts, so shortcuts shift accordingly.
- For dimensions in code, formulas or spreadsheets, consider writing “in” and “ft” in the unit cell instead of the symbol — it is unambiguous and edits cleanly.
- In Google Sheets and Excel, an apostrophe at the start of a cell tells the program to treat the entry as text, so typing '6 enters the number 6 without a visible apostrophe. Do not use that trick when the mark itself must be visible.
- Set your document to a font that renders primes clearly, such as Calibri, Arial or Times New Roman, and compare ′ with a slanted, tapered shape against a straight quote.
Troubleshooting
- The Alt code does nothing. Check Num Lock is on, use the numeric keypad (not the number row), and confirm you are not in a field that blocks key combinations, such as some browser password boxes. If you are on a laptop, use Windows + . to open the symbol picker and insert the character from there.
- The Mac shortcut produces nothing. Your keyboard input source may not be US English — switch it under System Settings > Keyboard > Input Sources, or just use Control + Command + Space and pick the character from the Character Viewer.
- The symbol looks wrong after pasting. The receiving app probably applied “smart quotes”. Paste into a plain-text editor first, or set that app's typography/autocorrect settings to keep straight quotes.
- Autocorrect keeps changing it back. Turn the substitution off in the app's autocorrect/substitutions settings, or delete the rule, then retype the character manually.
- The document shows boxes or question marks. The chosen font lacks the glyph or the export stripped it. Switch to a common font and retype; if you are generating a PDF, check that the font is embedded.
- You need it in a webpage or CMS. Type the HTML entity ′ or ″ in the source view if the editor supports it; otherwise paste the character directly.
Frequently Asked Questions
What is the symbol for inches on a keyboard?
The everyday keystroke is Shift + ', which gives a straight double quote ("). The typographically correct double prime (″) is Alt + 8243 on Windows with the numeric keypad, or a symbol picker on Mac and mobile.
What key gives the feet symbol?
Press Shift + ' once for a single straight quote ('). For the proper prime (′), hold Alt and type 8242 on Windows, or insert it from the symbol menu on Mac and mobile.
Can I type them on a laptop without a number pad?
Yes, but not with Alt codes. Use Windows + . to open the emoji and symbol picker on Windows, Control + Command + Space on macOS, or the long-press menu on a phone keyboard.
Why do my quotes turn curly in Word?
AutoCorrect's smart-quote feature converts straight quotes to curly ones. Turn it off in File > Options > Proofing > AutoCorrect Options. Curly quotes are not the same characters as primes, even though they look alike.
Is ' the same as the foot symbol?
In meaning, yes — people write 6' for six feet. Technically the straight quote is a different character from the prime (′), so use the prime when precision matters, such as in engineering or technical documents.
Are ′ and ″ supported everywhere?
They are standard Unicode characters, so most modern apps and websites display them. Older systems, some fonts and plain-ASCII fields may show a box or fall back to a quote — test before publishing if the look matters.