Made on Earth Donate

One wrong digit in your Steuer-ID puts you in tax class VI: how Germany’s ID numbers catch typos, and which number is which

16 November 2026 · 11 min read · by Varun Agrawal

The tool this post is aboutGerman ID Number Checker: Steuer-ID, Social Security Number & IBANPaste a German Steuer-ID, social security number, health insurance number or IBAN to check its check digit and layout and see what each part means: the birth date in a social security number, the bank and BIC behind a German IBAN, the tax office behind a Steuernummer.

Your first German payslip arrives. The gross is what the contract says, the health insurance looks about right, and then there is the wage tax: nearly twice what the online calculators promised. Your new colleagues shrug. Payroll, asked politely, says the tax office gave them nothing for you, so the law told them to use tax class VI. The reason, it turns out, is one digit. You typed a 3 for a 2 in your Steuer-ID on the onboarding form, and nobody noticed.

Moving to Germany means collecting numbers. Within a few weeks you get a tax ID, a social security number, a health insurance number and a bank account, each from a different authority, each on its own letter, and each asked for again by employers, insurers, landlords and ELSTER. They look alike (strings of digits, some with a letter), and the forms that ask for them seldom tell you when one is wrong. This post explains what each number is, how each one carries a built-in check against exactly the typo above, and what each one reveals about you. Every example was worked out with the German ID Number Checker, which does all of these checks on one number or a list.

Five numbers in your first month

Here is the set, in roughly the order they arrive:

  • Steuer-ID (steuerliche Identifikationsnummer): 11 digits, like 86 095 742 719. The Federal Central Tax Office (BZSt) posts it after you register an address. One per person, for life; it doesn’t change when you move, marry or change jobs.
  • Social security number (Sozialversicherungsnummer, officially Rentenversicherungsnummer): 12 characters, like 15 070649 C 103. The pension insurance issues it when you are first registered for social insurance, usually through your first employer.
  • Health insurance number (Krankenversichertennummer, KVNR): a letter and 9 digits, like A000500015, printed on your health insurance card. It stays the same when you switch insurer.
  • IBAN: for a German account, DE and 20 digits, like DE89 3704 0044 0532 0130 00.
  • Steuernummer (tax number): only once you file a tax return or start working for yourself. It comes from your local tax office (Finanzamt), is written with slashes in a layout that depends on the state, like 198/815/08152 in Bavaria, and changes when you move to another office’s area.

The one that causes the most trouble is the first, because payroll runs on it.

Why a wrong Steuer-ID costs you tax class VI

German employers don’t ask you for your tax class. They fetch it. Each month, payroll software asks the tax authorities’ ELStAM database for your wage tax details (tax class, church tax, allowances), using two keys you gave them: your Steuer-ID and your date of birth. If the two don’t match a record, the database sends back a rejection instead of a tax class.

The law has a fallback for that, in § 39c of the Income Tax Act. If the employee hasn’t provided the Steuer-ID, or the tax authority rejects the request, the employer must deduct wage tax in tax class VI, the class meant for a second job, which has no basic allowance at all. There is a gentler rule for people who have no Steuer-ID yet through no fault of their own: then the employer may use the expected tax class for up to three months. A typo isn’t that case. As far as the system can tell, you gave a number and it was wrong.

The difference is large. On a salary of €4,500 a month in 2026, single, with statutory health insurance, the Gross to Net calculator puts wage tax in class I at €650.16 a month and the net pay at €2,871.09. In class VI the wage tax is €1,156.91 and the net pay €2,364.34. That is €506.75 less in your account each month until someone finds the typo.

The money isn’t lost. Once payroll has the right number, the employer can correct the year’s wage tax, and whatever is still over-withheld comes back with your tax return. But it is a month or two of rent you didn’t get, during the months when moving costs are highest, all for a digit that a check would have caught on the onboarding form.

How a check digit catches a typo

The Steuer-ID was designed to catch exactly that typo. Its last digit isn’t part of the identity: it is computed from the first ten, with a method called ISO 7064 MOD 11,10. ELSTER’s specification for tax software spells it out. Start with a running value of 10, then for each of the first ten digits: add the digit to the running value and keep the last digit of the sum (a 0 counts as 10), double that, and take the remainder after dividing by 11. That remainder is the new running value. At the end, the check digit is 11 minus the running value (10 becomes 0).

For ELSTER’s own example, 86 095 742 719, the running value goes 10 → 5 → 2 → 4 → 6 → 2 → 7 → 2 → 8 → 10 → 2. Eleven minus 2 is 9, and the number does end in 9. Now type the 2 as a 3, giving 86 095 743 719: from that digit on the running value takes a different path, and the computed check digit no longer matches the 9 at the end. In the checker’s own test, changing any one of the 11 digits to any other digit, on each of ELSTER’s published examples, was caught every time. Swapping two neighbouring digits is caught too, though not always: across 20,000 random numbers, about 2 swaps in 100 slipped past the check digit.

The Steuer-ID has a second, stranger rule. In its first ten digits, exactly one digit appears twice or three times, and every other digit at most once. In 8609574271 the 7 appears twice and the 3 not at all. And if a digit appears three times, the three are never all side by side. Nothing about you is encoded in the number: it is random within those rules, and says nothing about your birthday, your tax office or where you live. The rules make some careless inputs fail even before the check digit is looked at. A phone number pasted into the wrong field, for example, rarely has exactly one repeated digit.

One more detail from ELSTER’s specification: when the check fails, tax software must not tell the user what the right check digit would be. It seems unhelpful until you think about what people do with that information. A failed check says that some digit is wrong, usually not the last. Someone told “should end in 4” changes the last digit, the check passes, and the form now holds a valid-looking Steuer-ID that belongs to nobody, or to somebody else. The checker follows the same rule for every kind of number. It tells you the number is wrong and which rule failed, and leaves you to compare it with the letter it came on.

Your social security number carries your birthday

Unlike the Steuer-ID, the social security number is not random. Take a widely published example, 15 070649 C 103:

CharactersHereMeaning
1–215The area number: the pension insurer that issued it, here Deutsche Rentenversicherung Bayern Süd for Lower Bavaria and the Upper Palatinate. 42 to 79 are DRV Bund’s, as 40 plus a regional number.
3–8070649Date of birth, day, month, year: 7 June ’49. The century isn’t there.
9CThe first letter of the surname at birth.
10–1110A serial number, to tell apart people who share everything before it.
123The check digit.

So the number tells anyone who reads it your date of birth and an initial. That is worth knowing before you paste it into a form that didn’t need it. And when payroll reads it back to you, the birth date is a quick check that you have the right person’s number.

Its check digit works differently from the Steuer-ID’s. The letter is replaced by its place in the alphabet as two digits (C is 03), which makes 12 digits. Those are multiplied by the weights 2, 1, 2, 5, 7, 1, 2, 1, 2, 1, 2, 1, the digits of each product are added up, and the last digit of the total is the check digit. For the example: 1×2, 5×1, 0×2, 7×5 = 35 (counted as 3 + 5 = 8), 0×7, 6×1, 4×2, 9×1, 0×2, 3×1, 1×2, 0×1, adding up to 2 + 5 + 0 + 8 + 0 + 6 + 8 + 9 + 0 + 3 + 2 + 0 = 43. The check digit is 3, and the number ends in 3.

The odd weights have a blind spot. The weight 7 sits on the fifth character, the first digit of the birth month, and 7 × 0 and 7 × 4 have digit sums that end in the same digit (0 and 2 + 8 = 10). So a 0 typed as a 4 there passes the check. In practice it doesn’t pass the checker: a month starting with 4 isn’t a month, and the date rule flags it. In the checker’s test, that was the only single-digit change to the example the check digit missed.

Dates aren’t always real dates, either. When every serial number for one birth date in one area has been used, numbers are given a stand-in day above 31. The checker accepts those with a note rather than calling them wrong.

The health insurance number on your card works more like the Steuer-ID: a random letter and eight random digits (the insurers’ guideline rules out more than three equal digits in a row, and 666), then a check digit from the weights 1, 2, 1, 2 with the same digit-sum trick. It is issued with the help of your social security number, so that nobody gets two, but neither number can be worked out from the other.

The IBAN: two check digits and a bank code

An IBAN carries the strongest check of the lot. Characters 3 and 4 are check digits computed with ISO 7064 MOD 97-10. Move the first four characters to the end, turn letters into numbers (D is 13, E is 14), and the whole thing, read as one huge number, must leave a remainder of 1 when divided by 97. For DE89 3704 0044 0532 0130 00, the bank details with “DE00” in place of “DE89” leave a remainder of 9, and 98 − 9 = 89: the check digits. Any single wrong character and any swap of two neighbouring characters is caught, which is why banking apps can refuse a mistyped IBAN before the money moves.

In a German IBAN the 18 digits after the check digits are the old domestic details: an 8-digit bank code (Bankleitzahl) and a 10-digit account number, padded with zeros. The bank code says which bank and branch the account is at. An official list of all bank codes is published four times a year, with each bank’s name, town and BIC. The checker uses that list, so 37040044 comes back as Commerzbank in Cologne, BIC COBADEFFXXX. When banks merge, old codes are marked for deletion with a successor. An IBAN with a closing bank code is flagged, because the account usually gets a new IBAN.

Two things the IBAN check can’t do. It can’t tell whether the account exists or is open: only the bank can. And it doesn’t check the account number’s own check digit, which German banks compute with one of more than a hundred methods of their own choosing.

One expat-specific note while we’re on IBANs. Many newcomers bank with an online bank whose IBAN starts with LT, BE or another EU country code, and then meet an employer or landlord whose form only takes DE. Article 9 of the EU’s SEPA Regulation (No 260/2012) says that someone paying you by transfer can’t dictate which EU country your account is in, and someone collecting from you by direct debit can’t either. The checker accepts any IBAN country in SWIFT’s registry for that reason: it names the country, checks the length and layout that country uses, and verifies the check digits.

Steuer-ID or Steuernummer?

The most common mix-up isn’t a typo at all, but the wrong number in the right field. Both are tax numbers, both are on letters from the tax office, and the names differ by two syllables. The Steuer-ID belongs to you as a person. The Steuernummer is your tax office’s file number for you. You get it once you file a return or register self-employment, a business gets its own, and it changes if you move to another office’s area.

Steuernummern are printed differently in every state: 198/815/08152 in Bavaria, 97/815/08154 in Berlin, 400/8150/8159 in North Rhine-Westphalia. ELSTER works with a single 13-digit form instead, which puts the 4-digit number of the tax office first: the Bavarian example becomes 9198081508152. The first digits of that office number are the state (9 is Bavaria, 5 North Rhine-Westphalia, 28 Baden-Württemberg, 11 Berlin), and the fifth digit is always 0. The check digit at the end follows one of three methods, depending on the state, and Berlin uses two sets of weights, picked by tax office and district. So the checker works backwards from the printed form: 13/815/08150 could be Berlin, Bremen, Hamburg, Lower Saxony, Rhineland-Palatinate, Schleswig-Holstein or Hesse, where office numbers end in 13. Only Berlin, Lower Saxony, Rhineland-Palatinate and Schleswig-Holstein have such an office, and only Berlin’s method gives a check digit of 0, so the number belongs to Finanzamt Charlottenburg in Berlin. Change the last digit to 1 and it fits Braunschweig-Helmstedt in Lower Saxony instead: a check digit catches most typos, but one wrong digit can still land on another office’s valid number.

The two can collide. A Bavarian Steuernummer is 11 digits without its slashes, the same length as a Steuer-ID. Typed without the slashes into a Steuer-ID field it will almost always fail the Steuer-ID’s rules. The checker then suggests writing it with its slashes, in case it was a Steuernummer all along.

Checking the numbers you have

A few habits save the most trouble:

  • Check before the first payroll. A Steuer-ID or social security number checked on the onboarding form costs nothing. One found wrong at the first payslip costs a month in tax class VI.
  • Read the decoded parts back. A valid social security number with the wrong birth date is somebody else’s. An IBAN whose bank code comes back as a bank you’ve never used points to a mix-up, even when every check passes.
  • Don’t fix a check digit by guessing. If a number fails, the typo is rarely in the last character. Compare it with the original letter, card or statement, character by character.
  • Know which number the form wants. “Steuernummer” on an ELSTER form, “Identifikationsnummer” on payroll forms, “Versicherungsnummer” for social security, “Versichertennummer” for the health card. They are four different things.
  • Check lists in one go. HR teams onboarding a group can paste every new starter’s numbers, of any kind, into the checker and download the results as CSV.

What no check can do is say a number is yours. A number can pass every rule here and still belong to someone else, or to nobody. The check digit only promises that the number wasn’t garbled on its way from the letter to the form. That is exactly the kind of mistake that puts a first payslip in tax class VI.

Try it now, freeGerman ID Number Checker: Steuer-ID, Social Security Number & IBANPaste a German Steuer-ID, social security number, health insurance number or IBAN to check its check digit and layout and see what each part means: the birth date in a social security number, the bank and BIC behind a German IBAN, the tax office behind a Steuernummer.

More from the blog

All posts →