Amex Card Number Validator
Check whether a number is a structurally valid American Express card: the 34 or 37 prefix, the 15-digit length and the Luhn check digit. Everything runs in your browser.
American Express card number format at a glance
| Starts with (IIN) | 34; 37 |
|---|---|
| Length | 15 digits |
| Security code | CID, 4 digits, front of the card, printed (not embossed) above the card number |
| Luhn check digit | Yes. The last digit is a Luhn (mod 10) check digit. |
| Issued in | Mostly issued by American Express itself, plus partner banks that issue Amex-branded cards in many other countries. |
| Network operator | American Express Company |
American Express IIN (BIN) ranges
| Prefix | Notes |
|---|---|
| 34 | American Express |
| 37 | American Express |
What the first digits mean
A first digit of 3 is the ISO/IEC 7812 travel and entertainment category, which Amex shares with Diners Club and JCB. Amex is the only major network using 34 and 37. Amex numbers are usually printed in a 4-6-5 grouping (for example 3782 822463 10005) rather than four groups of four.
A prefix tells you the network, not the bank. To see the issuing bank, country and card type behind a American Express BIN, use the BIN lookup tool or browse the full American Express BIN list.
Worked Luhn example with a American Express 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: 3782 8224 6310 005 (15 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 | 7 | 8 | 2 | 8 | 2 | 2 | 4 | 6 | 3 | 1 | 0 | 0 | 0 | 5 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Double? | - | x2=14 | - | x2=4 | - | x2=4 | - | x2=8 | - | x2=6 | - | x2=0 | - | x2=0 | - |
| Value | 3 | 5 | 8 | 4 | 8 | 4 | 2 | 8 | 6 | 6 | 1 | 0 | 0 | 0 | 5 |
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 55. The check digit is whatever brings that total to the next multiple of 10: (10 - 5) mod 10 = 5, which matches the last digit.
Why a valid American Express 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 American Express card is still declined:
Forms that expect 16 digits or a 3-digit code
Checkouts that hard-code 16-digit numbers or a 3-digit CVV reject a valid 15-digit Amex card with a 4-digit CID before it is ever authorized.
Amex not enabled on the merchant account
Some acquirer setups do not include American Express acceptance, so the payment fails regardless of the card.
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 American Express decline codes to see whether it is a soft decline worth retrying or a hard decline that needs the customer.
American Express card number FAQ
How many digits is a American Express card number?
A American Express card number is 15 digits. The last digit is a check digit calculated with the Luhn algorithm.
What does a American Express card number start with?
American Express card numbers start with 34 or 37. The first 6 to 8 digits (the BIN) identify the issuing bank.
What is the CID on a American Express card?
The CID (Card Identification Number) is the 4-digit security code on the front of the card, printed (not embossed) above the card number. It is not part of the card number, so a number validator cannot check it.
Do American Express card numbers use the Luhn algorithm?
Yes. The last digit is a Luhn (mod 10) check digit.
Why would a valid American Express card number still be declined?
A valid number only proves the format is right. Forms that expect 16 digits or a 3-digit code, Amex not enabled on the merchant account, Insufficient funds are common reasons a American Express payment still fails.