DPD (ISO 7064 mod 37/36) check digit
A DPD parcel number has 14 digits. Written out in full it can carry a 15th character, a check character from 0 to 9 or A to Z, calculated with the ISO/IEC 7064 MOD 37,36 method that DPD's label specification describes.
How to calculate it
Give each character a value: digits keep theirs, A is 10, B 11 and so on up to Z = 35. Start with a running value of 36, then for each character:
- Add the character's value.
- If the result is more than 36, subtract 36.
- Double it.
- If the result is 37 or more, subtract 37.
At the end, subtract the running value from 37. If that gives 36, the check character is 0; otherwise it is the character with that value.
DPD's worked examples
123AB: the running value goes 2, 8, 22, 27, 4. 37 − 4 = 33, so the check character is X.ABC987: 20, 25, 2, 22, 23, 23. 37 − 23 = 14, so the check character is E.
The 28 characters under a DPD barcode (a 7-digit destination postcode, the 14-digit parcel number, a 3-digit service code and a 3-digit country code) get their own check character, calculated the same way over all 28. It is usually different from the parcel number's.
Try it
Type the 14-digit parcel number. More about the number itself: DPD tracking number format.
Source: DPD Parcel Label Specification 2.4.1 (PDF), sections 4.5.2 and 4.6.