Bulk NPI Validator & Luhn Check-Digit Calculator
Verify 10-digit US National Provider Identifiers in bulk using the CMS ISO/IEC 7812-1 (prefix 80840) Luhn formula, catch typo digits, deduplicate lists, and export a clean one-column roster CSV directly in your browser.
- Parsed entries
- 0
- Unique valid NPIs
- 0
- Invalid syntax / check digit
- 0
- Duplicates removed
- 0
Paste a single 10-digit NPI, paste a column from Excel or Google Sheets, or open a local CSV file to run instant ISO/IEC 7812-1 Luhn validation.
How CMS calculates the 10th NPI check digit
- Take the first 9 digits of the candidate 10-digit NPI (for example, the CMS textbook example
123456789). - Prepend the ISO healthcare issuer prefix
80840, which contributes a fixed Luhn value of 24. - Double every alternating digit starting from the 9th digit moving left (positions 1, 3, 5, 7, and 9), subtracting 9 whenever doubling produces a two-digit number.
- Add the doubled digits, the undoubled digits, and the constant 24. The 10th check digit is the value (0–9) that brings the sum to the next multiple of 10 (for
123456789,24 + 43 = 67, giving check digit 3 →1234567893).
Important boundary: check-digit syntax validation does not verify active CMS NPPES status, federal OIG LEIE exclusion status, or state licensure. Read Why an NPI is not a state license →
Questions about NPI validation
How does the CMS NPI Luhn check-digit algorithm work?
CMS validates 10-digit NPIs under ISO/IEC 7812-1 by prepending the health-industry constant 80840 to the first 9 digits, doubling alternating digits from right to left (equivalent to adding a constant 24 for the 80840 prefix), summing the digits, and confirming the 10th digit brings the total to a multiple of 10.
Are the NPIs or CSV files I paste uploaded to Xcircl servers?
No. All parsing, check-digit calculation, deduplication, and CSV export run locally inside your browser. Zero inputs or files are sent across the network.
Does a valid Luhn check digit prove an NPI exists or is actively licensed?
No. Passing the Luhn check confirms valid mathematical NPI syntax only. It does not prove that the number is currently active in CMS NPPES, belongs to an open facility, or holds an active state license.
Why does the validator flag NPIs that do not start with 1 or 2?
Under CMS enumeration standards, valid 10-digit US NPIs start with the digit 1 or 2. Numbers beginning with 0 or 3 through 9 can pass a generic Luhn check but are not valid US CMS NPI assignments.
Looking for newly registered, noise-screened care organizations?
Xcircl Pulse delivers flat-rate packs ($500–$2,500, no annual contract) of newly enumerated and changed US care organizations with virtual offices, residential hubs, and corporate chains separated before your reps dial—paired with a Noise-Removed Audit Report and OIG LEIE screening.