Weirdo
Search weird questions

Question

Addresses & NumbersNov 17, 2026

Why do Visa card numbers start with 4 and Mastercard often with 5?

VisaMastercardIIN
VerifiedShort Answer1 sources

The leading digits are the card’s IIN (Issuer Identification Number), which identify the network and issuer. Visa’s range starts with 4; Mastercard traditionally uses 51–55 and later also 2221–2720.1

Details

What an IIN is

Card numbers are structured. Leading digits (BIN/IIN) are assigned under ISO/IEC 7812 so checkout forms can detect the brand and apply the right length and spacing. Baymard’s reference table lists IIN ranges for major networks.1

What 4 and 5 mean

Baymard lists Visa (including V Pay) as IIN 4; Mastercard as 51–55 plus the newer 222100–272099 block; American Express as 34 or 37. “Starts with 4 → Visa” still holds; “starts with 5 → Mastercard” is common but incomplete now.1

Not a secret code

Leading digits are routing metadata, not a password. Validation still uses the Luhn check digit, expiry, CVV, and issuer authorization. Auto-detecting the brand simply reduces form mistakes.1

Also Asked As

Visa starts with 4 · Mastercard starts with 5 · credit card IIN · BIN number meaning