Luhn algorithm - Calculate check digit

Calculate check digit using the Luhn algorithm.

Fill in the box below to have it instantly computed.

The Luhn algorithm, a simple checksum verification algorithm, is also known as Luhn formula, modulus 10 algorithm, or mod 10 algorithm. It is most notably used to validate credit card numbers and IMEI phone identification numbers.

enter numbers only, without check digit
0 digits
calculated
calculated, with trailing check digit
0 digits

See also

Calculation and conversion tools:

Text Conversions
Computation
Unit Conversions
international and imperial
Measurement
size, perimeter, area, volume...