Discover Card Number Format and Validator
Check whether a number is a structurally valid Discover card: the 6011, 644-649 or 65 prefix, the length and the Luhn check digit. Everything runs in your browser.
Discover card number format at a glance
| Starts with (IIN) | 6011; 644 to 649; 65; 622126 to 622925 |
|---|---|
| Length | 16 digits (up to 19) |
| Security code | CID, 3 digits, back of the card |
| Luhn check digit | Yes. The last digit is a Luhn (mod 10) check digit. |
| Issued in | Mainly the United States. Discover is part of Capital One since 2025, and its Discover Global Network also carries Diners Club International and partner networks abroad. |
| Network operator | Discover Global Network (Capital One) |
Discover IIN (BIN) ranges
| Prefix | Notes |
|---|---|
| 6011 | Original Discover range |
| 644 to 649 | |
| 65 | Some 65 ranges are co-branded RuPay or Troy cards |
| 622126 to 622925 | UnionPay cards that also run on the Discover network |
What the first digits mean
A first digit of 6 is the ISO/IEC 7812 merchandising and banking category. Discover uses 6011, 644-649 and the whole 65 range, and UnionPay cards in 622126-622925 are also routed as Discover in the US. The first 6 or 8 digits identify the issuer; the last digit is the Luhn check digit.
A prefix tells you the network, not the bank. To see the issuing bank, country and card type behind a Discover BIN, use the BIN lookup tool or browse the full Discover BIN list.
Worked Luhn example with a Discover test number
This uses a public test number from the Stripe testing docs. It passes every format check but is not a real account, so it cannot be charged.
Number: 6011 1111 1111 1117 (16 digits)
- Start from the rightmost digit (the check digit) and move left.
- Double every second digit, starting with the one just left of the check digit.
- If doubling gives a number above 9, subtract 9 (same as adding its two digits).
- Add every value together. The number is valid if the total ends in 0.
| Digit | 6 | 0 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Double? | x2=12 | - | x2=2 | - | x2=2 | - | x2=2 | - | x2=2 | - | x2=2 | - | x2=2 | - | x2=2 | - |
| Value | 3 | 0 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 7 |
Total: 30. 30 mod 10 = 0, so the number passes the Luhn check.
Working backwards: without the check digit, the other digits add up to 23. The check digit is whatever brings that total to the next multiple of 10: (10 - 3) mod 10 = 7, which matches the last digit.
Why a valid Discover card number still declines
Passing the Luhn and length checks only proves the number is well formed. Whether the payment goes through is decided by the issuer, and these are the common reasons a Discover card is still declined:
Incomplete prefix lists
Validators that only know 6011 reject valid 644-649 and 65 cards, and some reject 19-digit numbers outright.
Insufficient funds
The number is fine, but the account cannot cover the amount right now. This is a soft decline: retrying after payday or once the balance recovers often succeeds.
Expired or replaced card
Luhn and length checks never look at the expiry date. A card reissued after loss, fraud or expiry keeps failing until the customer updates it or a card updater service supplies the new details.
Acceptance gaps outside the US
Discover acceptance abroad depends on partner networks and on whether the merchant acquirer supports it.
Issuer fraud rules
Unusual amounts, a new merchant, or a country mismatch between the card and the customer can trigger a "do not honor" or suspected fraud decline even on a perfectly valid number.
Look up the exact response code in the decline code glossary to see whether it is a soft decline worth retrying or a hard decline that needs the customer.
Discover card number FAQ
How many digits is a Discover card number?
A Discover card number is 16 digits (up to 19). The last digit is a check digit calculated with the Luhn algorithm.
What does a Discover card number start with?
Discover card numbers start with 6011, 644 to 649, or 65. The 65 range is shared with some RuPay and Troy co-branded cards, and 622126-622925 is UnionPay. Use a BIN lookup to confirm the issuer.
What is the CID on a Discover card?
The CID (Card Identification Number) is the 3-digit security code on the back of the card. It is not part of the card number, so a number validator cannot check it.
Do Discover card numbers use the Luhn algorithm?
Yes. The last digit is a Luhn (mod 10) check digit.
Why would a valid Discover card number still be declined?
A valid number only proves the format is right. Incomplete prefix lists, Insufficient funds, Expired or replaced card are common reasons a Discover payment still fails.