DUNS Number Validator
Finance & Global IDsValidate a Dun & Bradstreet DUNS number format instantly. Checks 9-digit structure and formats as XX-XXX-XXXX. Free, client-side, no data stored.
Reviewed by the thecalcu.com team ยท Last updated July 31, 2026
What is a DUNS?
The DUNS Number Validator checks whether a D-U-N-S Number follows the correct format: exactly 9 digits, entered in either plain form (123456789) or the standard hyphenated display format (12-345-6789). It also shows the formatted output for copy-and-paste into forms and procurement systems.
A DUNS number (Data Universal Numbering System) is a 9-digit business identifier assigned by Dun & Bradstreet to uniquely identify business entities in their global commercial database. Established in 1963, DUNS numbers are used in US federal government procurement (SAM.gov, USASpending.gov), global supply chain management, international trade finance, and business credit reporting.
Unlike identifiers such as the Routing Number or EIN, the DUNS has no public checksum algorithm, D&B assigns numbers from an internal sequential database. Format validation (9 digits, no letters) is therefore the only client-side check possible without a D&B API call.
What this validator checks: exactly 9 digits, no alphabetic or special characters (hyphens are accepted as separators and stripped before checking).
What it does not check: Whether the specific 9-digit number is assigned to a real business in D&B's database. That requires a D&B lookup.
All validation is client-side. No data is transmitted.
Why Use a DUNS Number Validator?
US federal procurement forms, ERP supplier onboarding workflows, and corporate vendor management systems all require DUNS numbers. Users frequently enter incorrect formats, 8-digit numbers, numbers with letters, or numbers with extra characters copied from formatted documents.
Government contracting use case: An Indian IT company registering in SAM.gov for US federal contracting must enter its DUNS number. A validator at the form level flags 8-digit entries (missing a digit) or 10-digit entries (extra digit from a formatting error) before submission, preventing a failed SAM.gov registration.
Procurement use case: A US Fortune 500 company's vendor onboarding portal requires suppliers to enter their DUNS number. A format validator catches obviously incorrect entries (wrong digit count) before they reach the D&B verification API, reducing unnecessary API calls and improving form UX.
Who Should Use This Validator?
Indian IT companies preparing for US federal contracting registration (SAM.gov) who need to verify their DUNS number format before submission.
Procurement and supply chain teams at companies that require DUNS numbers from suppliers during vendor onboarding.
Developers building US government contracting or ERP vendor management systems that collect DUNS numbers as part of supplier data.
Finance and accounting teams at Indian companies with US operations who manage supplier and contractor records including D&B DUNS identifiers.
What Insights Does the DUNS Number Validator Give You?
A valid result shows both the plain 9-digit DUNS and the standard XX-XXX-XXXX hyphenated display format. The display format note clarifies that no public checksum exists, only format (9 digits) can be validated without a D&B API.
An invalid result specifies the failure: wrong digit count or non-digit characters. The most common error is entering 8 digits (a digit was accidentally omitted).
How to use this DUNS calculator
- Enter the DUNS number in the input field, plain digits (123456789) or hyphenated (12-345-6789).
- Check the Valid/Invalid badge, updates instantly.
- Read the formatted output, the details panel shows the standard XX-XXX-XXXX display format.
- Copy the formatted DUNS for use in SAM.gov or supplier onboarding forms.
- Confirm assignment: for active business verification, search dnb.com or SAM.gov.
- Related tools: use the EIN Validator for US employer identification numbers.
Show formula & methodology โShow less โ
Formula & Methodology
Format rule: - Strip hyphens and spaces - Remaining characters must be exactly 9 digits (0โ9) - No publicly documented checksum, D&B assigns numbers sequentially Display format:XXXXXXXXX โ XX-XXX-XXXX 123456789 โ 12-345-6789Valid and invalid examples: | Input | Valid? | Note | |---|---|---| |123456789| โ | 9 digits, correct format | |12-345-6789| โ | Hyphenated format, strips to 9 digits | |12345678| โ | Only 8 digits | |1234567890| โ | 10 digits, extra digit | |12-345-678A| โ | Non-digit character |
Related Tools
You may also find these useful: NPI Number Validator.
Frequently Asked Questions