How-to guides
What Is Soundex? How the Code Works, With Examples
Soundex is a code that groups surnames that sound alike, so Smith, Smyth and Schmidt all become S530. Each code is the first letter of the surname plus three digits for the consonants that follow. The US government used it to index the 1880 through 1930 censuses, so knowing your code helps you find ancestors under misspelled names.
Key takeaways
- A Soundex code is the first letter of a surname followed by three digits, such as S530 for Smith.
- Vowels and the letters H, W and Y are ignored, and similar-sounding consonants share a digit.
- The 1880, 1900 and 1920 censuses have Soundex indexes for every state; 1910 and 1930 cover only some states.
- Names that share a code are not necessarily related, and names that sound alike can still get different codes.
- Every surname page on Surname Archive shows its Soundex code and other names with the same code.
Soundex is a code that groups surnames that sound alike, so that Smith, Smyth and Schmidt all share the same code, S530. Every Soundex code is the first letter of the surname followed by three digits, and the US government used it to index the 1880 through 1930 censuses. If you know your family’s code, you can find ancestors whose names a census taker spelled wrong.
That last point is why genealogists still care about a system invented more than a century ago. Clerks and census takers wrote what they heard, and spelling was not fixed. Soundex lets you search for the sound of a name rather than one exact spelling.
What is a Soundex code?
A Soundex code has four characters: one letter and three numbers. The letter is the first letter of the surname. The numbers stand for the next consonant sounds, grouped by where they are made in the mouth.
| Digit | Letters |
|---|---|
| 1 | B, F, P, V |
| 2 | C, G, J, K, Q, S, X, Z |
| 3 | D, T |
| 4 | L |
| 5 | M, N |
| 6 | R |
The vowels A, E, I, O and U are skipped, and so are H, W and Y. That is how Smith and Schmidt end up together: S, then M (5), then T or D (3), padded with a zero to make S530. In the 2010 Census, 2,442,977 people were named Smith and 147,034 were named Schmidt, so the code puts two very different names, from two languages, in the same drawer.
How to work out a Soundex code by hand
You don’t need a Soundex calculator. With the table above, it takes about a minute.
- Write down the first letter of the surname. It stays a letter.
- Cross out every A, E, I, O, U, H, W and Y after the first letter.
- Change the remaining letters to digits using the table.
- Write adjacent letters with the same digit only once. This includes the first letter: in Pfister, P and F are both 1, so the F is dropped.
- Stop at three digits. If you have fewer, add zeros.
Worked examples
| Surname | How it codes | Soundex |
|---|---|---|
| Washington | W, S=2, N=5, G=2 (stop) | W252 |
| Lee | L, no consonants left | L000 |
| Gutierrez | G, T=3, R=6, Z=2 (double R counts once) | G362 |
| Pfister | P, F ignored (same digit as P), S=2, T=3, R=6 | P236 |
| Jackson | J, C, K and S are all 2 and side by side, so one 2, then N=5 | J250 |
| Tymczak | T, M=5, C=2, Z ignored, K=2 (a vowel separates it from Z) | T522 |
| Ashcraft | A, S=2, C ignored (H between it and S), R=6, F=1 | A261 |
The last two rows show the two rules that trip people up.
- A vowel between two same-digit letters splits them. Both get coded. That is why Tymczak has two 2s.
- H or W between two same-digit letters does not split them. The second one is dropped. That is why Ashcraft is A261, not A226. The National Archives gives this rule, but some older index cards and software were coded the other way, so if one code fails, try the other.
Prefixes, Mc and Mac
Surnames that begin with Van, Con, De, Di, La or Le were not coded consistently. The National Archives advises coding them both with and without the prefix and searching under both: VanDyke is V532, but the same family may be filed as Dyke, D200.
Mc and Mac are not treated as prefixes. McDonald and MacDonald both code as M235, because the C and the D are what get coded either way.
A short history of Soundex
Soundex was patented by Robert C. Russell in 1918, with a further patent by Russell and Margaret King Odell in 1922. The idea was simple: file names by sound so a clerk could find a record without knowing the spelling.
It became famous in genealogy because of the Social Security Act of 1935. Millions of older Americans had no birth certificate and needed to prove their age. In the late 1930s, Works Progress Administration workers indexed census returns on Soundex cards, so the Census Bureau could look people up and confirm their age. The National Archives’ Prologue article on the WPA Soundex projects tells the story.
That purpose explains a quirk of the 1880 index: it includes only households with a child aged 10 or under, the people who would be applying for benefits decades later. Your ancestor can be in the 1880 census and still be missing from its Soundex.
Which records use Soundex?
The best-known Soundex indexes are the federal censuses, now on microfilm at the National Archives and searchable through FamilySearch and other sites:
- 1880: all states, but only households with a child aged 10 or under.
- 1900: all states.
- 1910: only 21 states, some in a variant called Miracode. The National Archives’ 1910 census page lists them.
- 1920: all states.
- 1930: about a dozen states, mostly in the South.
The 1940 and 1950 censuses have no Soundex index; they were indexed by name. Some state and local indexes also use Soundex. Some years of Pennsylvania’s death indexes, for example, are arranged by code rather than alphabetically, so you need the code before you can look up a name.
Soundex myths, corrected
Myth: “Soundex catches every spelling.” It doesn’t. The first letter never changes, so Kuhn (K500) and Coon (C500), or Carlson (C642) and Karlsson (K642), are in different codes even though they can sound the same. And one consonant can move a name: Thompson is T512, but Thomson is T525.
Myth: “Names with the same code are related.” A code is about spelling, not family. Smith, Schmidt and Smyth share S530, but each is carried by many unrelated families, and the code says nothing about where a name comes from. For meanings and origins, see a guide such as German last names.
Myth: “Soundex is a phonetic alphabet that captures pronunciation.” It is a rough filing system designed around English spelling. It ignores vowels completely, so Reid and Reed (both R300) match, but so would names that sound nothing alike to a native speaker.
Myth: “You need special software.” The rules fit on an index card. Our surname pages show each code for you.
How to use Soundex in your family history research
Soundex is most useful when a plain name search has failed. Here is a practical routine.
- Get the code for every spelling you know. Write down the family’s spelling, the spelling on older documents and any spelling a clerk might have heard. Note when spellings start with different letters, since they need separate codes.
- Search the census indexes by code when names fail. On the microfilmed federal Soundex, cards are filed by code, then alphabetically by given name. Online, many search forms have a “sounds like” or Soundex option; tick it and compare results with the exact-name search.
- Check the names that share your code. Each surname page on Surname Archive lists other surnames with the same Soundex code. On the Schneider page, for example, you will find Snyder and Snider, which share S536. German families in America often appear under several of these.
- Try the other first letter. If Kuhn fails, run Coon. If Carlson fails, try Karlsson. Immigrant names were often respelled starting with a different letter.
- Try both prefix versions. Search VanDyke and Dyke, DeLong and Long.
- For Jewish and Eastern European names, use Daitch-Mokotoff. This later system, developed in 1985 by Gary Mokotoff and Randy Daitch, gives six digits and handles Slavic, Germanic and Yiddish spellings better. JewishGen’s Soundex coding page explains both systems.
- Confirm with other facts. A Soundex hit is a lead, not proof. Match the person’s age, birthplace, spouse and children before you add them to your tree.
Soundex works well alongside the other free steps in our guide to tracing your family tree for free, and it is worth trying in our own death records index, where older entries were often written down as they sounded.
Where to learn more
The National Archives’ Soundex page is the official description of the coding rules used for the census indexes. The FamilySearch Research Wiki article on Soundex explains how to use the indexes on microfilm and online. When in doubt about a code, work it out by hand with the table above, then check it against your surname page.
Frequently asked questions
What is the Soundex code for my last name?
Keep the first letter, then turn the next consonants into digits: B, F, P, V = 1; C, G, J, K, Q, S, X, Z = 2; D, T = 3; L = 4; M, N = 5; R = 6. Skip vowels, H, W and Y, write adjacent same-digit letters once, and stop at three digits or pad with zeros. Or look up your surname page on Surname Archive, which shows the code.
Why does Soundex keep the first letter?
The system was designed for sorting index cards, and the first letter kept the index in a familiar alphabetical order. The drawback is that names whose first letter changed, such as Kuhn and Coon or Carlson and Karlsson, land in different codes. When a search fails, try the code for every likely first letter.
Which census records use Soundex?
The federal Soundex indexes cover the 1880 census (only households with a child aged 10 or under), 1900 and 1920 for all states, 1910 for 21 states, and 1930 for a dozen states, mostly in the South. The 1940 and 1950 censuses were indexed by name instead. Online search sites now index these censuses by name as well.
What is the difference between Soundex and Daitch-Mokotoff Soundex?
American Soundex gives a letter and three digits and was built around English spellings. Daitch-Mokotoff Soundex, developed in 1985 by Gary Mokotoff and Randy Daitch, gives six digits and handles Slavic, Germanic and Yiddish spellings better, such as names that start with different letters but sound alike. JewishGen uses it in many of its databases.
Do names with the same Soundex code come from the same family?
No. A shared code only means the names are spelled with similar consonant sounds. Smith and Schmidt share S530 but come from different languages, and thousands of unrelated families carry each one. Use the code to find records, then prove a connection with names, dates, places and relatives.
Sources
- National Archives: The Soundex Indexing System
- National Archives, Prologue Magazine: The WPA Census Soundexing Projects (Spring 2002)
- National Archives: 1910 census, general information
- JewishGen: Soundex Coding
- FamilySearch Research Wiki: Soundex
- US Census Bureau 2010 surname file (counts via Surname Archive)
Found a mistake? Tell us and we'll check and correct it. See our editorial policy.