EIN Validator
Finance & Global IDsValidate US Employer Identification Numbers (EIN) for correct XX-XXXXXXX format instantly. Checks structure and prefix — free, client-side, nothing stored.
What is a EIN?
The EIN Validator checks whether a US Employer Identification Number (EIN) follows the correct 9-digit format assigned by the Internal Revenue Service. An EIN — also called a Federal Employer Identification Number (FEIN) — identifies a business entity for US federal tax purposes, and must appear in the correct XX-XXXXXXX structure on tax forms, payroll documents, and vendor agreements.
An EIN consists of a 2-digit prefix (the IRS Campus code that assigned the number) followed by a hyphen and a 7-digit sequence. The validator checks:
- The input contains exactly 9 digits (stripping any hyphens or spaces)
- The first two digits form a valid IRS-assigned campus prefix
- The formatted output is XX-XXXXXXX
This is a format check only. The validator cannot confirm that the EIN is registered to an active business in the IRS database — that requires a real-time IRS query. For Indian business context, this is equivalent to validating the structure of a GSTIN using the GST Number Validator — the format can be checked locally, but authenticity requires official verification.
All validation runs client-side. The EIN is never transmitted to any server.
How to use this EIN calculator
- Enter the EIN in the 'EIN' field — with or without a hyphen (12-3456789 or 123456789).
- Check the Valid/Invalid badge — it updates instantly.
- Read the details panel — shows formatted EIN, prefix, and sequence; or the specific error (wrong digit count, invalid prefix).
- Format raw EIN digits using the EIN Formatter if you have unformatted 9-digit strings.
- Proceed to IRS verification for confirmed active status if needed — the validator checks structure only.
Formula & Methodology
Format rules: 1. Strip all non-digit characters. 2. Digit count must equal exactly 9. 3. First two digits (prefix) must be in the set of assigned IRS campus codes: 01–06, 10–16, 20–27, 30–32, 35–39, 41–48, 50–55, 57–68, 71–77, 80–88, 90–95. 4. No Luhn checksum — EINs have no check digit algorithm. Valid and invalid examples: | EIN | Valid? | Note | |---|---|---| |12-3456789| ✓ | Correctly formatted, valid prefix | |123456789| ✓ | Hyphens optional — 9 digits, valid prefix | |00-1234567| ✗ | Prefix 00 is not assigned | |12-345678| ✗ | Only 8 digits — one digit missing | |12-34567890| ✗ | 10 digits — one digit too many | |123-45-6789| ✗ | SSN format entered — 9 digits but wrong structure |
Frequently Asked Questions