Why Mastercard has two ranges: 51-55 and 2221-2720

For decades every Mastercard began with 51 to 55. As available numbers ran low, Mastercard activated the 2-series in 2017: BINs from 2221 through 2720 route identically to the classic range. Any system that validates cards by first digits must accept both, which is exactly why searches for the official ranges are so common among developers and payment teams.

BIN, IIN and what the first digits mean

The first 6 to 8 digits of a card number form the Bank Identification Number (BIN), formally called the Issuer Identification Number (IIN) in ISO/IEC 7812. The very first digit is the Major Industry Identifier: 3 is travel and entertainment (Amex, JCB, Diners), 4 and 5 are banking networks (Visa, Mastercard), 6 is merchandising and finance (Discover, UnionPay). Everything after the BIN identifies the individual account, ending in a Luhn check digit.

Check a specific BIN

These ranges tell you the network only. To see the issuing bank, country and card type for an exact BIN, use the free BIN checker or browse the bank directory.