Colombia NIT Check Digit Calculator
Enter a NIT or cédula to get its verification digit with the weights and products shown, check a number that already has a digit, or paste a list to validate, correct and format all of them and export the results.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Enter
A NIT or cédula.
- 2Digit
See the DV and the arithmetic.
- 3Check
Compare with a given digit.
- 4Batch
Paste a list.
- 5Export
Download the CSV.
About this tool
Every Colombian taxpayer has a NIT (número de identificación tributaria), registered in the RUT. For individuals it is usually the cédula number; for companies it is assigned by DIAN. Next to it comes a verification digit (dígito de verificación, DV), written after a dash, which DIAN's systems and electronic invoicing use to catch typing mistakes. The digit is computed with a modulus 11 method: the digits of the number are multiplied, from right to left, by the prime weights 3, 7, 13, 17, 19, 23, 29, 37, 41, 43, 47, 53, 59, 67 and 71, the products are added and the sum is divided by 11; if the remainder is 0 or 1 that is the digit, otherwise the digit is 11 minus the remainder. This calculator does it instantly and shows the table of digits, weights and products so the arithmetic can be checked. Enter a number alone to get its digit, or with a digit to see whether it is correct. The batch tab takes a pasted list from a spreadsheet, accepts dots, spaces and dashes, marks each line as valid, wrong or calculated, formats every number as 900.123.456-7 and exports the results to CSV, which is useful for supplier and customer master data and for preparing e-invoicing.
Weights
| Position from the right | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | |---|---|---|---|---|---|---|---|---|---| | Weight | 3 | 7 | 13 | 17 | 19 | 23 | 29 | 37 | 41 | Longer numbers continue with 43, 47, 53, 59, 67 and 71.
Worked example
DIAN's own NIT is 800197268. From the right: 8×3 + 6×7 + 2×13 + 7×17 + 9×19 + 1×23 + 0×29 + 0×37 + 8×41 = 733. 733 divided by 11 leaves 7, and 11 − 7 = 4, so the full NIT is 800.197.268-4.
Where the DV matters
Electronic invoices, withholding certificates, banking forms and supplier registration all ask for the NIT with its digit. A wrong digit causes rejections in DIAN's validation.
Valid is not registered
The check digit tells you the NIT is well formed, nothing more. To confirm that a NIT exists and see its tax responsibilities, consult the RUT through DIAN's public services.
Privacy
Everything runs in your browser; lists are not uploaded.
Cédulas and NITs
For individuals, the NIT is usually the cédula number with its verification digit added, so the same calculation works for both. Foreign individuals registered in Colombia receive a NIT assigned by DIAN.
Formatting
Use the batch tool to standardise a whole supplier list before importing it into accounting software.
Limits
Foreign tax IDs and some special identifiers do not use the DV. Not an official document.
Worked example
NIT 800197268 → weighted sum 733 → 733 mod 11 = 7 → DV 11 − 7 = 4 → 800.197.268-4.
Quick facts
- Category: Legal & Government
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in English.
- Content last reviewed:
- Official source: DIAN: dígito de verificación del NIT
Frequently asked questions
How is the NIT verification digit calculated?
With prime weights from right to left, the sum modulo 11, and 11 minus the remainder (or the remainder if it is 0 or 1).
Is the DV the same as the last digit of my cédula?
No, it is an extra digit calculated from the whole number.
Can I validate many NITs at once?
Yes, paste a list and export the results.
Does a correct DV mean the NIT exists?
No, check the RUT with DIAN for that.
How should a NIT be written?
With dots and the digit after a dash, for example 900.123.456-7.
Is anything uploaded?
No, all checks run in your browser.
