Home NIT Colombia

Colombia NIT validator

How the NIT format works

Format
9-10 digits: taxpayer body + 1 check digit (dígito de verificación)
Example
9001234568

Things to watch for

  • The check digit (dígito de verificación) is always the last digit, calculated from the rest of the number using a right-to-left weighted mod-11 formula
  • Format + check digit only — a pass doesn't confirm the NIT is currently active or registered with DIAN
  • A personal NIT is often a person's cédula number plus a check digit, so treat the number as potentially identifying — this check runs entirely in your browser
Regex for NIT
^[0-9]{9,10}$

The NIT (Número de Identificación Tributaria) is the tax identification number Colombia’s tax authority, DIAN, assigns to businesses, self-employed people, and other taxpayers — for example 900123456-8. It appears on invoices, tax filings, and contracts, and for a sole proprietor the NIT is frequently just their cédula (national ID) number with a check digit appended.

The number is 9 or 10 digits: a taxpayer body followed by a single check digit, the dígito de verificación, always the last digit. DIAN calculates it by taking the body digits right to left and multiplying each by a fixed sequence of prime-number weights — 3, 7, 13, 17, 19, 23, 29, and on up to 71 — then summing the results and reducing modulo 11. Because those weights grow quickly and irregularly rather than in a simple repeating pattern, a transposed or mistyped digit almost never lands on the same check digit by coincidence.

How this validator works

This tool checks the digit count and re-runs DIAN’s real right-to-left, prime-weighted mod-11 calculation against the final digit, entirely in your browser. Nothing is sent to a server, and there’s no signup.

What a pass doesn’t tell you

A pass confirms the number is internally consistent — not that it’s currently active with DIAN, or that it belongs to the taxpayer you expect. Because a personal NIT is often built directly from someone’s cédula, treat it as potentially identifying an individual, not just a business.

Scope: this page and tool cover NIT format and check-digit validation only — not DIAN registration status.

Content last reviewed 2026-07-23.

NIT FAQ

What is a NIT used for?

A NIT (Número de Identificación Tributaria) is the tax ID Colombia's DIAN assigns to businesses, self-employed people, and other taxpayers. It's required on invoices, contracts, and tax filings, and any company or individual operating formally in Colombia needs one.

Why are the check-digit weights prime numbers?

DIAN's formula multiplies each digit of the NIT body — read right to left — by a fixed sequence of prime numbers, 3, 7, 13, 17, and on up to 71, before summing and reducing modulo 11. The irregular, fast-growing weights mean a single mistyped or transposed digit almost always produces a different check digit rather than another valid one.

Does a valid checksum mean the NIT is active with DIAN?

No. This tool only confirms the last digit matches the weighted mod-11 calculation DIAN uses to generate a NIT's dígito de verificación — it doesn't confirm the number is currently registered, active, or belongs to the taxpayer you expect.

← More NIT validators