Menu
Advertisement

Morse Code Numbers

The ten digits, opened in the translator: .---- ..--- ...-- ....- ..... -.... --... ---.. ----. -----. Play them, then type any number of your own.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

How numbers work in Morse code

The numbers in Morse code are the most regular part of the whole alphabet. Where the letters were assigned by how common they are - E, the most frequent letter, is a single dot - the digits follow a pattern. Each one is exactly five symbols long. The digit 1 is one dot and four dashes (.----), 2 is two dots and three dashes (..---), and so on up to 5, which is five dots (.....). Then it mirrors: 6 is one dash and four dots (-....), 7 two dashes and three dots (--...), through to 9 (----.), and 0 is five dashes (-----).

So the count of dots tells you the number: for 1 to 5 count the leading dots, for 6 to 9 count the trailing dots and add five, and no dots at all is zero. Operators learn the digits in an afternoon for exactly this reason - and because a digit is always five symbols, a number never runs into the letters around it.

The translator above opens on 1234567890. Press Play to hear the sequence and notice how the sound tilts: dots rising into dashes for the first five, dashes falling into dots for the rest. Type a phone number, a year or a coordinate and it writes it out for you.

The pattern behind the ten digits

  • Every digit is five symbols long - unlike letters, which run from one (E, T) to four.
  • 1 to 5: as many dots as the number, then dashes to make five. 1 = .----, 3 = ...--, 5 = ......
  • 6 to 9: (number minus five) dashes, then dots to make five. 6 = -...., 8 = ---.., 9 = ----..
  • 0 is five dashes, -----. It is the longest thing in the alphabet to send - 19 units - which is why operators on a busy circuit sometimes cut it to a single long dash.
  • Numbers and letters mix freely: A1 is .- .----, and the decoder never confuses the two because a letter is never five symbols in these shapes.
Advertisement

Numbers in Morse code, worked out

The ten digits

Text

1234567890

Morse

.---- ..--- ...-- ....- ..... -.... --... ---.. ----. -----

Read them left to right and watch the dots migrate: one dot, two dots, up to five, then the dashes take over from the front.

A year

Text

1906

Morse

.---- ----. ----- -....

The year SOS was adopted. Four digits, twenty symbols, each group of five separated by a letter gap.

A time with a colon

Text

12:45

Morse

.---- ..--- ---... ....- .....

Punctuation has codes too: the colon is ---.... See the full chart on the translator page.

Letters and digits together

Text

Gate 7B

Morse

--. .- - . / --... -...

7 (--...) and B (-...) start the same way; the fifth symbol is what tells them apart, which is why the digits are always sent in full.

Common mistakes with Morse numbers

  • Confusing 1 (.----) with the letter J (.---). J is four symbols, 1 is five - count them.
  • Reading 6 (-....) as B (-...) or 7 (--...) as Z (--..). Again, the digit has one more symbol than the letter it resembles.
  • Sending 0 as the letter O (---). Zero is five dashes; three dashes is the letter. Cutting zero to one long dash is an operators' shortcut, not standard Morse.
  • Writing digits without the gaps. .---- ..--- is 12; run together, .----..--- cannot be decoded at all.

Morse code numbers FAQ

What is 1 in Morse code?
.---- - one dot followed by four dashes. The rule for 1 to 5 is that many dots first, then dashes to fill five symbols, so 2 is ..---, 3 is ...--, 4 is ....- and 5 is ......
What is 0 in Morse code?
Five dashes, -----. It is the only digit with no dots. Do not confuse it with the letter O, which is three dashes (---). On busy circuits operators sometimes abbreviate zero to a single long dash, but the translator always uses the full form.
Why are all Morse code numbers five symbols long?
Because the digits were designed as a set rather than assigned by frequency the way letters were. A fixed length of five with a simple dots-then-dashes pattern makes them easy to learn and impossible to run into neighbouring letters, which none of the letters' shapes match at that length.
How do I write a decimal point or a phone number in Morse?
Digits are sent one at a time with a letter gap between them, so 555 is ..... ..... ...... The full stop is .-.-.-, so 3.14 is ...-- .-.-.- .---- ....-. Type the number into the translator above and it does the spacing for you.
Advertisement

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

GET STARTED