The Denmark VAT Number Validator checks whether a Danish VAT number is structurally valid by recomputing the official modulo-11 checksum on the 8-digit CVR. It accepts the number with or without the DK prefix and tells you whether the check digit is consistent — all in your browser.
How it works
A Danish VAT number is the prefix DK followed by the 8-digit CVR
(Det Centrale Virksomhedsregister) number. The CVR carries a built-in modulo-11
check digit, which is the mechanism that catches transposed or mistyped digits.
The tool multiplies the eight digits, left to right, by the weights
[2,7,6,5,4,3,2,1], sums the products, and divides by 11. If the remainder is
zero, the number is internally consistent and the check passes. The eighth digit
is the check digit, so a non-zero remainder means at least one digit is wrong.
Example
For DK 12345678 the tool computes the weighted sum, takes it modulo 11, and
reports the remainder, which must be 0 for the number to be valid. Entering the
same digits without the prefix, or with spaces, produces the same result because
separators are stripped first.
Notes
A valid check digit confirms the CVR is internally consistent under the modulo-11 rule — it does not confirm the company is currently VAT-registered or trading. For live status, check the CVR registry or the EU VIES service before relying on the number for Nemhandel e-invoicing or intra-EU transactions. Everything runs locally in your browser.