Soundex Code Calculator
Code a surname in American Soundex, the phonetic index used by US census and immigration records, and check whether two spellings are filed together.
Why census indexes used Soundex
Names were written down by enumerators, clerks and ship’s officers who spelled what they heard. Smith appears as Smyth and Smithe; Schmidt becomes Smit. To find families despite this, the US Works Progress Administration indexed the 1880, 1900 and 1920 censuses, and parts of 1910 and 1930, with Soundex in the 1930s and 1940s, a code that groups names that sound alike. The National Archives still publishes the rules, and Soundex remains a search option in many databases. Knowing a family’s code lets you search the original microfilm indexes and check variants that a modern wildcard search would miss.
The rules
A code is the first letter followed by three digits. Keep the first letter. Code the remaining consonants: B, F, P and V are 1; C, G, J, K, Q, S, X and Z are 2; D and T are 3; L is 4; M and N are 5; and R is 6. Ignore A, E, I, O, U, Y, H and W. When letters with the same code are next to each other, or separated only by H or W, code them once; this includes the first letter, so Pfister is P236, not P123. When a vowel separates them, code both: Tymczak is T522, because the Z is skipped after the C but the K after the A is coded. Stop at three digits, and pad short codes with zeros: Lee is L000 and Lloyd L300.
Worked examples
Ashcraft codes as A261: A, then S = 2, H is ignored and the C, also 2, is separated from the S only by H, so it is skipped; R = 6; F = 1. Ashcroft gives the same A261, so both spellings are filed together. Robert and Rupert are both R163, while Rubin is R150. Smith, Smyth and Schmidt are all S530. Washington is W252 and Gutierrez G362. McDonald and MacDonald are both M235. A common misconception is that Soundex groups all variants; it does not group names whose first letters differ, so Cohen, C500, and Kohn, K500, are filed apart, and you must search each initial separately.
Prefixes and quirks
The National Archives notes that surnames with prefixes such as Van, Von, De, Di, La and Le may be coded with or without the prefix, so a family may appear under either code: De Vries is D162 as written and V620 as Vries. The calculator shows both when a prefix is written as a separate word or with an apostrophe. Some 1880 and 1900 indexes were compiled with slightly different rules for H and W, so if a family is missing, try the code with those letters treated as separators. Mac and Mc are coded as written; they are not treated as prefixes.
How to use it
- Enter the surname as it appears in the record, including any prefix.
- Read the Soundex code, and the code without the prefix if one is shown.
- Enter a second spelling to check whether the two are filed together.
- Search the index under every code that applies, including different first letters.
Questions from the record office
How do you calculate a Soundex code?
Keep the first letter, then code the remaining consonants: BFPV as 1, CGJKQSXZ as 2, DT as 3, L as 4, MN as 5 and R as 6. Ignore vowels, H, W and Y, code repeated codes once unless a vowel separates them, and pad or cut the result to one letter and three digits.
What is the Soundex code for Smith?
S530. The S is kept, M is 5, I is ignored, T is 3, H is ignored and the code is padded with a zero. Smyth and Schmidt code to the same S530, which is why they appear together in Soundex census indexes.
Why does Soundex not match names with different first letters?
Because the first letter is kept as written rather than coded. Cohen is C500 and Kohn is K500, so they are filed in different places even though they sound alike. Search separately under each plausible initial.
Which censuses have Soundex indexes?
The US federal censuses of 1880 (families with children aged 10 or under), 1900, 1910 (some states), 1920 and 1930 (some states) were indexed with Soundex. Many immigration and naturalisation indexes also use it.
Disclaimer: Genealogy results apply published conventions and inheritance averages to the values you enter. They are not proof of a relationship, parentage or descent, and not legal, medical or genetic advice. Several relationships share each DNA figure, and calendars and spellings varied by place and time: check every conclusion against original records, and consider the privacy of living relatives before sharing it.