Skip to main content

Turkish VKN Tax ID Generator

Generate and format valid Turkish Vergi Kimlik Numarası (VKN) tax numbers for enterprise QA testing.

Waiting for generation...

About the Turkish VKN

The Vergi Kimlik Numarası (VKN) is the 10-digit corporate tax identification number issued by the Turkish Revenue Administration (GİB).

It uses an exponential cascading modulo 9 arithmetic algorithm over the first 9 digits to determine the 10th check digit.

Anatomy & Structure of the VKN (Vergi Kimlik Numarası)

The Turkish Tax Identification Number consists of 10 digits in 2 parts:

PositionFieldLengthMeaning & RuleExample
1 to 9Base Tax Identifier9 digitsSequential tax number issued by Turkish Revenue Administration (GİB)123456789
10Check Digit1 digitCalculated via power-modular base-10 and Modulo-9 algorithm0

Official Algorithm (Base-10 Modular Power / Modulo 9 — GİB)

Official check digit calculation for Turkish VKN:

c1 = (d[i] + (9 - i)) % 10; c2 = (c1 * 2^(9-i)) % 9; sum += (c1 !== 0 && c2 === 0 ? 9 : c2); DV = (10 - (sum % 10)) % 10
  1. 1. For each of the first 9 digits (i=0 to 8), calculate c1 = (d[i] + (9 - i)) mod 10.
  2. 2. Calculate c2 = (c1 × 2^(9-i)) mod 9.
  3. 3. If c1 is not 0 and c2 is 0, add 9; otherwise add c2.
  4. 4. Sum all partial results into total.
  5. 5. Check digit = (10 - (total mod 10)) mod 10.

Frequently Asked Questions