Home / Guides

Hyphen vs Dash: The Difference and When to Use Each

Published 2026-10-31

A hyphen joins words or parts of words, and a dash separates or links ideas. That is the whole difference in one line. The details matter because there are three marks that look alike (the hyphen, the en dash and the em dash), plus a fourth, the minus sign, that is easy to confuse with them. This guide gives you a table, a four-step test for choosing, and a list of common mistakes, plus notes on what each mark does in files, web addresses and code.

Hyphen vs dash in one table

MarkNameCodeWhat it doesSpaces around it
-Hyphen (hyphen-minus key)U+002DJoins words and word partsNone
–En dashU+2013Links the two ends of a range or two equal partnersNone in most styles
—Em dashU+2014Breaks a sentence for an aside or a turnDepends on the style guide
−Minus signU+2212Subtraction and negative numbers in typeset mathsSpaces around it when it subtracts

The hyphen is the only one of the four with a key of its own. Its official name is hyphen-minus, because on a keyboard it has always done the work of both a hyphen and a minus sign. The two dashes and the true minus sign have to be typed some other way. Our guides on the en dash and the em dash list the shortcuts.

A four-step test

When you are not sure which mark belongs in a spot, ask these questions in order.

  1. Is the mark inside a word or a compound? Then it is a hyphen. Examples: a ten-minute walk, mother-in-law, re-sign the form.
  2. Could you say "to" or "through" in its place? Then it is an en dash. Examples: pages 4–9, Monday–Friday, the 2019–2020 season.
  3. Does the mark interrupt the sentence? Then it is an em dash. Example: The meeting went well—apart from the lunch.
  4. Is it arithmetic? Use the minus sign in typeset text, or the keyboard hyphen in code and spreadsheets. Example: 12 − 4 = 8.

Hyphen or dash: examples side by side

You meanWriteNot
A break that lasts five minutesa five-minute breaka five–minute break
Between five and ten minutes5–10 minutes5-10 minutes in formal text
A well-known writerwell-knownwell—known
A pause in a sentenceThe bus was late—again.The bus was late - again. in print
A route between two citiesthe Berlin–Prague trainthe Berlin-Prague train in formal text
A negative number in a spreadsheet-4 with the keyboard hyphen–4 with an en dash

The last column says "in formal text" where the plain hyphen is a normal choice in email, chat and plain-text fields. Few readers there notice, and many tools cannot type the dashes quickly.

Spaces around dashes

A hyphen never has spaces around it. For dashes, practice varies.

Whatever you choose, use it the same way throughout a document.

The double hyphen

On a typewriter there was one dash key, so writers typed two hyphens for an em dash. Word processors still convert -- into a real dash as you type, and phones do the same when smart punctuation is on. In plain text and in code, two hyphens remain two hyphens, and in code they have a different meaning: --help is a command-line option, not a dash.

Where hyphen vs dash matters in files and code

How to change dashes back to hyphens

The AI Text Cleaner has two options for this. The Em dash menu replaces each em dash with a spaced hyphen, a comma or a space, and the checkbox Replace en dash (–) with a hyphen does what it says. The em dash option is on by default and set to the spaced hyphen. The en dash option is off by default. The tool leaves the true minus sign alone.

In Word, use Find and Replace with ^+ for an em dash and ^= for an en dash. In a spreadsheet:

=SUBSTITUTE(SUBSTITUTE(A1, UNICHAR(8212), "-"), UNICHAR(8211), "-")

Other marks that pass for a hyphen

Some characters look like a hyphen and are not. A value that refuses to match may contain one of them.

CodeName
U+2010Hyphen
U+2011Non-breaking hyphen
U+2012Figure dash
U+00ADSoft hyphen (invisible unless a line breaks there)
U+FF0DFullwidth hyphen-minus

Two of these have their own guide: non-breaking hyphen and soft hyphen.

Quick answers

Is a dash the same as a hyphen? No. A hyphen joins and is short. A dash separates and is longer. There are two dashes in everyday writing, the en dash and the em dash.

Is the line on my keyboard a hyphen or a dash? It is a hyphen-minus, which is a hyphen that also serves as a minus sign.

Can I use a hyphen instead of an en dash? In plain text, yes. Formal documents usually expect the en dash in ranges.

Which is longer, en dash or em dash? The em dash. It is about twice as long as the en dash.

Mixed dashes in a text you pasted? The cleaner can turn em dashes and en dashes into plain hyphens in one step. Open the AI Text Cleaner

Related guides