Credit card check digit calculator
ClientThe credit card check digit is the final Luhn mod-10 symbol. When OCR or manual entry misreads one digit, the prefix may still be correct. This page shows pass/fail and whether the checksum matches the other digits.
Using the calculator
Paste or type digits only. On pass, the full string satisfies Luhn mod-10. On fail, one transposed digit is the usual cause—compare against a known test PAN from your processor docs.
?
Spaces and dashes are stripped before counting digits and running Luhn. Card-network labels come from common public BIN/IIN ranges—they may mismatch exotic co-branded or new ranges.
16 digits after cleanup
Likely network: Visa
Luhn checksum: passes — algorithm-only; does not mean the card is active or genuine.
Common use cases
- Fix one wrong trailing digit without re-scanning a test document.
- Document expected check digit behavior in QA specs for checkout forms.
Common mistakes to avoid
Calculating check digit on partial PAN strings
Run Luhn on the full digit sequence including the check position.
FAQ
How is the credit card check digit calculated?
Luhn mod-10: double alternate digits from the right, sum, remainder mod 10—the check digit makes the total divisible by 10.
Which digit is the check digit?
The rightmost digit in the primary account number for Luhn validation.
Common search terms
Phrases people search for that match this tool. See the full long-tail keyword index.
- credit card luhn check online
- visa mastercard bin checker browser
- payment card checksum validator no upload
- validate primary account number luhn locally
- discover amex prefix checker heuristic online
More tools
Related utilities you can open in another tab—mostly client-side.
Luhn checksum (mod 10)
ClientPaste a digit string (spaces ignored)—pass or fail Luhn for PANs, IMEI-style IDs, and test vectors; browser-only.
IMEI & IMEISV checker
Client15-digit GSM IMEI: TAC/SNR split and Luhn verification; 14-digit check hint or 16-digit IMEISV segmentation—no carrier lookup; browser-only.
VIN check digit (17-char)
ClientNorth American–style vehicle ID: ninth-position mod 11 checksum, WMI and sequential split—no DMV or OEM decode API; browser-only.
ICCID checker (SIM)
Client18–22 digit ICCID: telecom MII hint (89), E.118 / ISO 7812 Luhn on full string—no carrier or SM-DP+ lookup; browser-only.