Luhn Checker (Mod 10)
NOVOCheck a card number with the Luhn (mod 10) algorithm or calculate its missing check digit, with a step-by-step breakdown.
Funciona 100% no seu navegador — o que você insere nunca é enviado nem armazenado nos nossos servidores.
Esta ferramenta ainda não está totalmente traduzida, por isso parte do texto continua em inglês. A ferramenta funciona da mesma forma em todos os idiomas.
Spaces and dashes are ignored.
| Digit | 4 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 | 1 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Value | 8 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 | 2 | 1 |
Exemplos rápidos
Entradas típicas e os resultados que esta ferramenta gera.
Visão geral
The Luhn algorithm, also called mod 10, is the checksum used in payment card numbers, IMEI codes and many other identifiers. Starting from the rightmost digit, every second digit is doubled, 9 is subtracted from any result above 9, and the total must be a multiple of 10.
This checker validates a full number or calculates the check digit for a number you are building. It shows the doubled digits so you can follow the math, and detects the card brand from the leading digits. It catches typos only: a valid Luhn result does not mean the card exists.
Developers, QA testers and support staff use it to check test PANs, find a mistyped digit or work out the last digit of a number they are composing. Spaces and dashes are ignored, the check runs as you type, and everything is calculated in your browser, so the number is not sent anywhere.
Por que usar esta ferramenta?
- Find typos in card numbers before sending a test transaction
- Calculate check digits when you build test PANs by hand
- Learn the algorithm from the step table
- Runs locally — the number never leaves your browser
Recursos
Instant validation
The result updates as you type; spaces and dashes are ignored.
Check digit calculator
Enter a number without its last digit to get the digit that makes it valid.
Step-by-step table
See which digits are doubled and the value each one adds to the sum.
Brand detection
Recognises Visa, Mastercard, Amex, Discover, JCB, UnionPay and Diners prefixes.
Como usar
Pick a mode
Choose "Validate number" or "Compute check digit".
Enter digits
Paste the number into the input field; spaces and dashes are ignored.
Read the result
Valid / invalid or the check digit appears instantly, with the sum, digit count and step table.
Copy
In check-digit mode use "Copy full number" to take the completed number.