Question
Addresses & NumbersNov 17, 2026Why do Visa card numbers start with 4 and Mastercard often with 5?
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.
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.
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.
Also Asked As
Visa starts with 4 · Mastercard starts with 5 · credit card IIN · BIN number meaning