Diners Club Card Number Validator
Check whether a number is a structurally valid Diners Club card: the prefix, the 14 to 19 digit length and the Luhn check digit. Everything runs in your browser.
Diners Club card number format at a glance
| Starts with (IIN) | 300 to 305; 3095; 36; 38 to 39 |
|---|---|
| Length | 14 digits (36 range) or 16 digits; up to 19 |
| Security code | CVV, 3 digits, back of the card |
| Luhn check digit | Yes. The last digit is a Luhn (mod 10) check digit. |
| Issued in | Issued by franchise partners in many countries. Diners Club International is part of the Discover Global Network, which handles acceptance in many markets. |
| Network operator | Diners Club International (Discover Global Network) |
Diners Club IIN (BIN) ranges
| Prefix | Notes |
|---|---|
| 300 to 305 | |
| 3095 | |
| 36 | Classic 14-digit Diners Club International cards |
| 38 to 39 |
What the first digits mean
A first digit of 3 is the ISO/IEC 7812 travel and entertainment category. Diners Club uses 300-305, 3095, 36 and 38-39. Cards in the 36 range are often 14 digits and printed in a 4-6-4 grouping.
A prefix tells you the network, not the bank. To see the issuing bank, country and card type behind a Diners Club BIN, use the BIN lookup tool or browse the full Diners Club BIN list.
Worked Luhn example with a Diners Club 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: 3622 7206 2716 67 (14 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 | 3 | 6 | 2 | 2 | 7 | 2 | 0 | 6 | 2 | 7 | 1 | 6 | 6 | 7 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Double? | x2=6 | - | x2=4 | - | x2=14 | - | x2=0 | - | x2=4 | - | x2=2 | - | x2=12 | - |
| Value | 6 | 6 | 4 | 2 | 5 | 2 | 0 | 6 | 4 | 7 | 2 | 6 | 3 | 7 |
Total: 60. 60 mod 10 = 0, so the number passes the Luhn check.
Working backwards: without the check digit, the other digits add up to 53. 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 Diners Club 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 Diners Club card is still declined:
Forms that require 16 digits
A 14-digit Diners Club number is valid, but checkouts that hard-code 16 digits reject it.
Diners Club not enabled on the merchant account
Acceptance depends on the acquirer supporting Diners Club or Discover routing.
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.
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.
Diners Club card number FAQ
How many digits is a Diners Club card number?
A Diners Club card number is 14 digits (36 range) or 16 digits; up to 19. The last digit is a check digit calculated with the Luhn algorithm.
What does a Diners Club card number start with?
Diners Club card numbers start with 300 to 305, 3095, 36, 38 or 39. The first 6 to 8 digits (the BIN) identify the issuing bank.
What is the CVV on a Diners Club card?
The CVV (Card security code) 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 Diners Club card numbers use the Luhn algorithm?
Yes. The last digit is a Luhn (mod 10) check digit.
Why would a valid Diners Club card number still be declined?
A valid number only proves the format is right. Forms that require 16 digits, Diners Club not enabled on the merchant account, Insufficient funds are common reasons a Diners Club payment still fails.