The three dashes (and the minus sign) side by side
| Hyphen | En dash | Em dash | Minus | |
|---|---|---|---|---|
| Character | - | – | — | − |
| Unicode name | HYPHEN-MINUS | EN DASH | EM DASH | MINUS SIGN |
| Codepoint | U+002D | U+2013 | U+2014 | U+2212 |
| HTML | - | – | — | − |
| Windows | - key | Alt 0150 | Alt 0151 | Word: 2212, Alt+X |
| Mac | - key | Option + - | Option + Shift + - | No default shortcut |
| Used for | Compounds, line-end breaks, phone numbers | Ranges, connections, scores | Breaks in a sentence | Subtraction, negative numbers |
The key on your keyboard types U+002D, which Unicode calls HYPHEN-MINUS because ASCII had room for only one character to do both jobs. Unicode also has a dedicated hyphen (U+2010), but almost nobody types it and some fonts lack it, so the keyboard hyphen is the right choice for everyday hyphenation.
Hyphen: joining and splitting words
- Compound modifiers before a noun: a well-known author, a 10-page report (but the author is well known).
- Some prefixes and fixed compounds: re-enter, ex-partner, mother-in-law.
- Numbers that are grouped rather than ranged: phone numbers, ISBNs, twenty-one.
- Splitting a word at the end of a line (word processors do this for you).
A hyphen never has spaces around it. If you find yourself typing space-hyphen-space, you want a dash.
En dash: ranges and connections
The en dash is roughly the width of a capital N in traditional typesetting. It stands for “to,” “through” or “between”:
- Ranges: 1914–1918, pages 45–67, Monday–Friday, 9 a.m.–5 p.m.
- Scores and votes: a 3–1 win, passed 52–48.
- Relationships between equals: the US–Canada border, a parent–teacher meeting.
- Chicago style also uses it to attach a prefix to an open compound: pre–World War II.
Don't mix a word with the dash: write from 2019 to 2026 or 2019–2026, notfrom 2019–2026. In British publishing, a spaced en dash – like this – is the usual mark for a break in a sentence, doing the job Americans give the em dash.
Em dash: breaks in a sentence
The em dash, about the width of a capital M, sets off an interruption, an aside or an abrupt turn. It's stronger than a comma and less formal than a colon or parentheses: The fix was simple: restart the service.
Spacing depends on the style guide. The Chicago Manual of Style closes it up (word—word). AP style puts a space on each side (word — word). Many British publishers use a spaced en dash instead (word – word). All three are correct within their own house style; what matters is consistency inside one document.
Two em dashes (——) mark omitted letters in some styles, and three in a row can stand in for a repeated author's name in a bibliography.
Where the minus sign fits
The true minus sign (−, U+2212) is the same width as the plus sign and sits at the same height, so −5 + 3 lines up neatly. In typeset text, temperatures, and maths it looks better than a hyphen. Don't use it in code, spreadsheets or anything a computer has to parse: Excel, Python and JavaScript expect the hyphen-minus, and a U+2212 will cause an error or turn the number into text.
How to type each dash
Windows (any app): hold Alt and type 0150 on the number pad for the en dash, 0151 for the em dash. The leading zero matters. Without a number pad, open the emoji panel with Win + ., go to Symbols and pick the dash, or see our laptop Alt code guide.
Microsoft Word: Ctrl + Num - gives an en dash and Ctrl + Alt + Num - an em dash (both use the minus key on the number pad). Word's AutoFormat also converts as you type: word--word becomes an em dash, and a hyphen with a space on each side (word - word) becomes an en dash once you type the next word. The setting is under File › Options › Proofing › AutoCorrect Options › AutoFormat As You Type › “Hyphens (--) with dash (—)”.
Mac: Option + - for the en dash, Option + Shift + - for the em dash. These work in every app. With “Use smart quotes and dashes” turned on in Keyboard settings, many Mac apps also turn -- into an em dash.
iPhone and iPad: press and hold the hyphen key on the 123 page and slide to the dash you want; the pop-up offers the en dash, em dash and bullet. Smart Punctuation (Settings › General › Keyboard) also turns two hyphens into an em dash.
Android (Gboard): on the ?123 page, press and hold the hyphen key to see the dash options.
HTML: –, — and −.
Common mistakes
- A hyphen for a range: pages 10-20 is common and understood, but the en dash (10–20) is the correct form in edited text.
- Double hyphens left in the final text: -- is a typewriter stand-in for an em dash. Fix it before publishing.
- Typing Alt 150 instead of Alt 0150: without the zero, Windows uses the old DOS code page and you get û.
- Dashes in code: blog software often converts
--flaginto–flag. A command-line option with an en dash will not run. Paste commands as plain text and check them. - Mixing spacing styles in one document, such as closed em dashes in one paragraph and spaced ones in the next.
FAQ
Should there be spaces around an em dash?
It depends on the style guide. Chicago: no spaces. AP: one space on each side. Either is fine if you're consistent.
What is the Alt code for an em dash?
Alt 0151 on the numeric keypad. The en dash is Alt 0150.
Can I just use a hyphen instead of an en dash?
In emails and casual writing, most readers won't notice. In published or formal text, use the en dash for ranges; it's what editors and style guides expect.
Why did Word change my two hyphens into a long dash?
That's AutoFormat As You Type. Press Ctrl+Z right after it happens to undo just that change, or switch off “Hyphens (--) with dash (—)” in AutoCorrect options. See autocorrect changing symbols.

