DUNS Number vs EIN: What Is the Difference?

If you are setting up a business or applying for government contracts, you have likely encountered two important identifiers: the DUNS number and the EIN. While both are tied to your business identity, they serve very different purposes and are issued by entirely different organizations. Understanding the distinction between a DUNS number and an EIN is essential for staying compliant, winning contracts, and managing your company's financial profile.

What Is a DUNS Number?

A DUNS (Data Universal Numbering System) number is a unique nine-digit identifier assigned by Dun & Bradstreet (D&B) to individual business entities worldwide. It was created in 1963 and is now used by over 500 million businesses globally.

The DUNS number is primarily a commercial tool. It is tied to your company's credit profile in the D&B database and is used by lenders, suppliers, and government agencies to evaluate your business's creditworthiness and reliability. When a potential partner or government buyer looks up your DUNS number, they can see details about your company's size, industry, payment history, and financial health.

You can look up your DUNS number or any other company's number using the D&B database or third-party lookup tools.

Key Facts About DUNS Numbers

  • Issued by Dun & Bradstreet, a private company
  • Nine-digit numeric format (e.g., 12-345-6789)
  • Free to obtain for basic registration
  • Used globally across 200+ countries
  • Required for U.S. federal government contracts and grants
  • Tied to your business credit report (Paydex score)

What Is an EIN?

An EIN (Employer Identification Number), also called a Federal Tax Identification Number, is a nine-digit number assigned by the Internal Revenue Service (IRS). Think of it as a Social Security Number for your business. It is used to identify your business for federal tax purposes.

Nearly every business in the United States needs an EIN. You use it when filing tax returns, opening business bank accounts, hiring employees, and applying for business licenses. Unlike a DUNS number, the EIN is a government-issued identifier and is mandatory for most business operations in the U.S.

Key Facts About EINs

  • Issued by the IRS (Internal Revenue Service)
  • Nine-digit format with a hyphen (e.g., 12-3456789)
  • Completely free to obtain
  • Used only within the United States tax system
  • Required for filing business taxes and hiring employees
  • Not tied to any credit reporting system

Side-by-Side Comparison: DUNS Number vs EIN

FeatureDUNS NumberEIN
Issuing BodyDun & Bradstreet (private)IRS (U.S. government)
Format9 digits (XX-XXX-XXXX)9 digits (XX-XXXXXXX)
CostFree (basic); paid for expeditedFree
Primary PurposeBusiness credit & identificationTax identification
Geographic ScopeGlobal (200+ countries)United States only
Required ForFederal contracts, grants, SAM.govTax filing, hiring, banking
Linked ToD&B business credit reportIRS tax records
Who Needs ItBusinesses seeking credit or contractsNearly all U.S. businesses
Application TimeUp to 30 days (free) or 1-2 days (paid)Immediate (online) or 4 weeks (mail)
TransferableNo (unique to each entity/location)No (unique to each entity)

When Do You Need Each?

You Need an EIN When You:

  • Form an LLC, corporation, partnership, or nonprofit in the U.S.
  • Hire employees
  • Open a business bank account
  • File federal tax returns for your business
  • Apply for business licenses and permits
  • Set up a retirement plan (401k, SEP IRA, etc.)

For most U.S. businesses, getting an EIN is one of the very first steps after formation. You can apply online at IRS.gov and receive your number immediately.

You Need a DUNS Number When You:

  • Apply for federal government contracts or grants
  • Register on SAM.gov (System for Award Management)
  • Want to build a business credit profile separate from personal credit
  • Need to establish credibility with international suppliers or partners
  • Apply for certain business loans or lines of credit
  • Comply with the EU Digital Services Act as a platform operator

For small businesses looking to grow, a DUNS number is a strategic asset even when it is not strictly required. It unlocks access to government opportunities and builds your commercial reputation.

Can You Use One in Place of the Other?

No. A DUNS number and an EIN are not interchangeable. They serve fundamentally different purposes and are tracked by completely different systems.

You cannot use your EIN to register on SAM.gov or apply for federal grants. Similarly, you cannot use your DUNS number to file your taxes or open a bank account. Government forms and applications will ask for each number separately, and providing one does not satisfy the requirement for the other.

Many businesses need both. In fact, when you register on SAM.gov for government contracting, you will be asked to provide your DUNS number, your EIN, and other identifying information. They work as complementary pieces of your business identity.

How DUNS Numbers and EINs Work Together

Think of your EIN as your identity within the U.S. tax system and your DUNS number as your identity in the commercial and procurement world. Together, they give a complete picture of your business.

Here is a typical workflow where both come into play:

  1. Business formation: You register your LLC or corporation with your state and obtain an EIN from the IRS.
  2. DUNS registration: You request a free DUNS number from Dun & Bradstreet. During the application, you may provide your EIN as part of your business details.
  3. SAM.gov registration: You register on SAM.gov using both your DUNS number (or UEI) and your EIN. This makes you eligible for federal contracts.
  4. Credit building: As you do business, your payment history is reported to D&B under your DUNS number, building your Paydex score. Your tax obligations are tracked under your EIN.

The two identifiers do not directly interact with each other's systems, but they are both essential components of a well-documented business identity.

Other Business Identifiers You Should Know

Beyond the DUNS number and EIN, there are several other identifiers that businesses encounter:

UEI (Unique Entity Identifier)

In April 2022, the U.S. government transitioned from DUNS numbers to UEIs for federal award management through SAM.gov. The UEI is now assigned by SAM.gov itself. However, DUNS numbers remain widely used for commercial credit, international business, and many non-federal purposes.

LEI (Legal Entity Identifier)

The LEI is a 20-character alphanumeric code used to identify parties in financial transactions globally. It is required for companies involved in securities trading, derivatives, and other regulated financial activities. Unlike the DUNS number, the LEI must be renewed annually.

State Tax ID

Many states issue their own tax identification numbers for state-level tax obligations. These are separate from your federal EIN and are used for state income tax, sales tax, and payroll tax.

CAGE Code

A Commercial and Government Entity (CAGE) code is a five-character identifier assigned by the Defense Logistics Agency. It is required for businesses doing work with the Department of Defense and is obtained through your SAM.gov registration.

Frequently Asked Questions

Do I need both a DUNS number and an EIN?

If you plan to do business with the U.S. federal government, yes. Most U.S. businesses should have an EIN regardless. A DUNS number becomes important when you are pursuing contracts, grants, or want to build business credit.

Is a DUNS number the same as a tax ID?

No. A DUNS number is a commercial identifier issued by Dun & Bradstreet. A tax ID (EIN) is issued by the IRS for tax purposes. They are completely separate systems.

Can I get a DUNS number without an EIN?

Yes. International businesses routinely obtain DUNS numbers without having a U.S. EIN. Within the U.S., sole proprietors can sometimes use their SSN instead of an EIN when applying for a DUNS number, though getting both is recommended.

How much does each cost?

Both are free to obtain. DUNS numbers have an expedited processing option that costs money, and D&B offers paid services to enhance your business credit profile. EINs are always free through the IRS.

Next Steps

Understanding the difference between a DUNS number and an EIN is the first step toward managing your business identity effectively. Both numbers are free to obtain, and having both positions your business for growth in government contracting, commercial lending, and beyond.