
IIN ranges allocated to issuing networks 


Issuing Network 
IIN Ranges 
Active 
Length 
Validation 
Symbol 






American Express 
34, 37 
Yes 
15 
Luhn algorithm 
AmEx 
Bankcard 
5610, 560221560225 
No 
16 
Luhn algorithm 
BC 
China UnionPay 
622126622925, 624626, 62826288 
Yes 
1619 
unknown 
CUP 
Diners Club Carte Blanche 
300305 
Yes 
14 
Luhn algorithm 
DCCB 
Diners Club enRoute 
2014, 2149 
No 
15 
no validation 
DCeR 
Diners Club International 
36 
Yes 
14 
Luhn algorithm 
DCInt 
Diners Club United States & Canada 
54, 55 
Yes 
16 
Luhn algorithm 
DCUC 
Discover Card 
6011, 622126622925, 644649, 65 
Yes 
16 
Luhn algorithm 
Disc 
InstaPayment 
637639 
Yes 
16 
Luhn algorithm 
IPI 
JCB 
35283589 
Yes 
16 
Luhn algorithm 
JCB 
Laser 
6304, 6706, 6771, 6709 
Yes 
1619 
unknown 
Lasr 
Maestro 
5018, 5020, 5038, 6304, 6759, 6761, 6763 
Yes 
1219 
Luhn algorithm 
Maes 
MasterCard 
5155 
Yes 
16 
Luhn algorithm 
MC 
Solo 
6334, 6767 
Yes 
16, 18, 19 
Luhn algorithm 
Solo 
Switch 
4903, 4905, 4911, 4936, 564182, 633110, 6333, 6759 
Yes 
16, 18, 19 
Luhn algorithm 
Swch 
Visa 
4 
Yes 
16 
Luhn algorithm 
Visa 
Visa Electron 
4026, 417500, 4508, 4844, 4913, 4917 
Yes 
16 
Luhn algorithm 
Visa 







Luhn algorithm 


The Luhn algorithm or Luhn formula, also known as the "modulus 10" or "mod 10" algorithm, is a simple checksum formula used to validate a variety of identification numbers, such as credit card numbers, IMEI numbers, National Provider Identifier numbers in US and Canadian Social Insurance Numbers. It was created by IBM scientist Hans Peter Luhn and described in U.S. Patent No. 2,950,048, filed on January 6, 1954, and granted on August 23, 1960.
The algorithm is in the public domain and is in wide use today. It is specified in ISO/IEC 78121[1]. It is not intended to be a cryptographically secure hash function; it was designed to protect against accidental errors, not malicious attacks. Most credit cards and many government identification numbers use the algorithm as a simple method of distinguishing valid numbers from collections of random digits. 




