How Morse Code Works — History, Timing, and How to Learn It

Learn how Morse code encodes letters as dots and dashes, the timing rules behind it, and practical methods for learning it. Includes a full reference chart and worked examples.

Morse code is a method of encoding text as sequences of short and long signals — dots (·) and dashes (−). Each letter, number, and punctuation mark has a unique pattern. It was the dominant form of long-distance communication for over a century, and it remains in use today in aviation, amateur radio, and emergency signaling.

This guide explains how Morse code works, its precise timing rules, its history, and practical methods for learning it.

What Is Morse Code?

Morse code is a character encoding system that maps each text character to a unique sequence of dots and dashes. A dot is a short signal. A dash is a long signal, exactly three times the length of a dot. The pauses between signals carry structural information — they tell the receiver where one character ends and the next begins.

For example:

  • E = · (one dot — the shortest code)
  • T = (one dash)
  • SOS = ··· −−− ··· (three dots, three dashes, three dots)
  • HELLO = ···· · ·−·· ·−·· −−−

The encoding is medium-independent. It works over electrical wire (telegraph), radio waves, sound, light, or physical tapping.

How Morse Code Timing Works

The entire timing system is built on one base unit: the duration of a single dot.

Element Duration Description
Dot (·) 1 unit Short signal
Dash (−) 3 units Long signal
Intra-character gap 1 unit Silence between dots/dashes within one character
Inter-character gap 3 units Silence between characters
Word gap 7 units Silence between words

Calculating Dot Duration from WPM

Morse code speed is measured in words per minute (WPM). The standard reference word is "PARIS," which contains exactly 50 dot units (including all internal and trailing gaps).

Formula:

dot_duration_seconds = 1.2 / WPM

At 20 WPM:

  • One dot = 60 ms
  • One dash = 180 ms
  • Letter gap = 180 ms
  • Word gap = 420 ms

At 10 WPM:

  • One dot = 120 ms
  • One dash = 360 ms

The slower the speed, the longer each element lasts. The ratios stay the same.

The Full Morse Code Alphabet

Shorter codes are assigned to more frequently used letters. E (the most common letter in English) is a single dot. T is a single dash.

Letters

Letter Code Letter Code Letter Code
A ·− J ·−−− S ···
B −··· K −·− T
C −·−· L ·−·· U ··−
D −·· M −− V ···−
E · N −· W ·−−
F ··−· O −−− X −··−
G −−· P ·−−· Y −·−−
H ···· Q −−·− Z −−··
I ·· R ·−·

Numbers

Numbers all have five elements. Digits 1–5 start with dots and end with dashes. Digits 6–0 start with dashes and end with dots.

Digit Code Digit Code
1 ·−−−− 6 −····
2 ··−−− 7 −−···
3 ···−− 8 −−−··
4 ····− 9 −−−−·
5 ····· 0 −−−−−

Common Punctuation

Symbol Code Symbol Code
Period (.) ·−·−·− Comma (,) −−··−−
Question mark (?) ··−−·· Exclamation (!) −·−·−−
Apostrophe (') ·−−−−· Slash (/) −··−·
Colon (:) −−−··· Semicolon (;) −·−·−·
At sign (@) ·−−·−· Hyphen (-) −····−

A Brief History of Morse Code

The Telegraph Era (1830s–1900s)

Samuel Morse, a painter and inventor, conceived the idea of an electric telegraph in 1832. Working with Alfred Vail, he developed the code that bears his name. The first successful telegraph message — "What hath God wrought" — was sent on May 24, 1844, between Washington, D.C. and Baltimore.

The original system (now called American Morse Code) used a slightly different set of codes and included variable-length intra-character spaces. It was designed for landline telegraph wires.

International Standardization (1865)

As telegraph networks spread across Europe, a unified code was needed. The International Telecommunication Union (ITU) adopted a revised version — International Morse Code — at the 1865 Paris conference. This is the version used worldwide today.

Key differences from American Morse Code:

  • International Morse uses only dots and dashes (no intra-character spaces)
  • Several letter assignments were changed for clarity
  • It became the global standard for wireless (radio) communication

Radio and Maritime Use (1900s–1990s)

With the invention of radio, Morse code became the primary communication method for ships and aircraft. The distress signal SOS (··· −−− ···) was internationally adopted in 1906. The Titanic's radio operators transmitted SOS in Morse during its sinking in 1912.

Maritime Morse code requirements were officially retired in 1999 when the Global Maritime Distress and Safety System (GMDSS) replaced it with satellite-based communication. The US Navy sent its final Morse code message the same year.

Modern Use (2000s–Present)

Despite its retirement from official maritime use, Morse code continues in several areas:

  • Aviation: Navigational beacons (NDB, VOR) transmit their identifiers in Morse code
  • Amateur radio: CW (continuous wave) remains one of the most popular ham radio modes, valued for its reliability and low bandwidth
  • Accessibility: Morse code input is built into Android and iOS as an alternative text input method for people with limited mobility
  • Emergency signaling: Flashlight SOS signaling is taught in wilderness survival courses
  • Art and culture: Morse code appears in jewelry, tattoos, music, and film

How to Learn Morse Code

Method 1: The Koch Method

Developed by German psychologist Ludwig Koch, this is considered the most effective approach:

  1. Start at your target speed (e.g., 20 WPM)
  2. Begin with just two characters (usually K and M)
  3. When you can copy those two characters with 90% accuracy, add one more character
  4. Repeat until all characters are learned

The key insight: learning at full speed from the start prevents the bad habit of counting dots and dashes. You learn to recognize each character as a sound pattern, not a visual sequence.

Method 2: The Farnsworth Method

Similar to Koch, but with a spacing trick:

  1. Individual characters are sent at full speed (e.g., 20 WPM)
  2. Extra pauses are added between characters to give you thinking time
  3. As you improve, the inter-character gaps are gradually reduced
  4. Eventually, the overall speed matches the character speed

This method lets beginners hear characters at their real speed while having time to process them.

Method 3: Mnemonics and Visual Charts

Less effective long-term, but useful for initial memorization:

  • Associate each letter's dot-dash pattern with a word or image
  • Use binary tree diagrams (left = dot, right = dash)
  • Practice with flashcards

The downside: mnemonic learners often hit a speed ceiling around 10–15 WPM because they mentally translate through the mnemonic instead of recognizing the sound directly.

Practice Tips

  • Consistency matters more than duration. 15 minutes daily beats 2 hours on weekends.
  • Learn by sound, not sight. Listen to Morse code; don't just read dot-dash patterns on a page.
  • Practice sending and receiving. They use different mental pathways.
  • Use a straight key or paddle. Physical sending builds muscle memory.
  • Join a community. Ham radio clubs and online CW groups provide practice partners and motivation.

Worked Examples

Example 1: Encoding "HELLO WORLD"

Break the phrase into individual characters, look up each code, separate letters with spaces, and words with slashes:

H = ····
E = ·
L = ·−··
L = ·−··
O = −−−
(word gap)
W = ·−−
O = −−−
R = ·−·
L = ·−··
D = −··

Result: ···· · ·−·· ·−·· −−− / ·−− −−− ·−· ·−·· −··

Example 2: Decoding −· −−− ·−− / ·· ··· / − ···· · / − ·· −− ·

Split by word gaps (/), then split each word by letter gaps (single space):

Word 1: −· = N, −−− = O, ·−− = W → NOW
Word 2: ·· = I, ··· = S → IS
Word 3: − = T, ···· = H, · = E → THE
Word 4: − = T, ·· = I, −− = M, · = E → TIME

Result: NOW IS THE TIME

Example 3: Timing Calculation

How long does "SOS" take to transmit at 15 WPM?

Dot duration at 15 WPM: 1.2 / 15 = 0.08 seconds = 80 ms

S: · (80ms) + gap (80ms) + · (80ms) + gap (80ms) + · (80ms)
Letter gap: 240ms
O: − (240ms) + gap (80ms) + − (240ms) + gap (80ms) + − (240ms)
Letter gap: 240ms
S: · (80ms) + gap (80ms) + · (80ms) + gap (80ms) + · (80ms)

Total: S (400ms) + gap (240ms) + O (800ms) + gap (240ms) + S (400ms) = 2,080 ms ≈ 2.1 seconds

Common Confusions and Edge Cases

Easily confused letter pairs:

  • B (−···) vs. D (−··) — B has one extra dot
  • U (··−) vs. V (···−) — V has one extra dot
  • G (−−·) vs. W (·−−) — mirror patterns
  • R (·−·) vs. K (−·−) — swapped first two elements

Prosigns (procedural signals): Morse code includes special combined characters for operational use:

  • AR (·−·−·) — end of message
  • SK (···−·−) — end of contact
  • BT (−···−) — break / new paragraph
  • SOS (···−−−···) — distress (sent without letter gaps)

Note that SOS as a prosign is sent as a continuous sequence without pauses between S-O-S, making it sound different from "S O S" sent as three separate letters.

Try It Yourself

Use our Morse Code Translator to convert text to Morse code and back. It includes audio playback so you can hear the dot-dash patterns at different speeds and frequencies — useful for learning to recognize characters by sound.

Frequently Asked Questions

What is Morse code?

Morse code is a character encoding system that maps letters, numbers, and punctuation to sequences of short signals (dots) and long signals (dashes). Developed in the 1830s–1840s for the electric telegraph, it was the first practical method of long-distance communication.

Is Morse code still used today?

Yes. It is used in aviation navigation beacons, amateur radio, accessibility technology, and emergency signaling. Ham radio CW mode remains one of the most reliable long-distance communication methods because it uses minimal bandwidth and works in poor signal conditions.

How long does it take to learn Morse code?

The alphabet can be memorized in 2–4 weeks with daily practice. Reaching comfortable proficiency at 15–20 WPM typically takes 2–6 months. The Koch method (learning at full speed, adding two characters at a time) is the most effective technique.

What is SOS in Morse code?

SOS is ··· −−− ···. Adopted as the international distress signal in 1906, it was chosen for its distinctive, easy-to-recognize pattern. It does not stand for "Save Our Souls" or any other phrase.

Why is E just one dot?

E is the most frequently used letter in English. Morse and Vail assigned the shortest possible code to the most common letter to minimize average transmission time. This is the same optimization principle used in modern data compression (Huffman coding).

What is the difference between International and American Morse Code?

International Morse Code uses only dots and dashes with defined spacing rules. American Morse Code (used on early US telegraph lines) also included variable-length spaces within characters and had different code assignments for some letters. International Morse Code is the worldwide standard today.

How fast is Morse code?

Speed is measured in words per minute using "PARIS" (50 dot units) as the standard word. Beginners operate at 5–10 WPM. Experienced operators reach 20–30 WPM. The world record exceeds 75 WPM.

Can you send Morse code with a flashlight?

Yes. Short flash = dot, long flash (3× duration) = dash. Pause between flashes = gap. Any device that can produce short and long signals works — flashlights, mirrors, phone screens, or even blinking.

What is CW in amateur radio?

CW stands for Continuous Wave. It is the radio transmission mode used for Morse code. An unmodulated carrier wave is turned on and off to create dots and dashes. CW is one of the most bandwidth-efficient communication modes — a Morse signal occupies only about 150 Hz of spectrum, compared to 2,400 Hz for voice (SSB).

How do you write Morse code?

Dots are written as · or . and dashes as or -. Separate elements within a character have no space. Separate letters with one space. Separate words with three spaces or a forward slash (/).

Related Tools