Canonical: https://toolipedia.app/check-digit-algorithm-calculator

# Check Digit Algorithm Calculator

Calculate and validate check digits with Luhn, Verhoeff, Damm, Mod 10, Mod 11 and Mod 97-10 for any digit string, with the working shown step by step.

Breadcrumbs: Toolipedia > Developer tools > Code and developer utilities > Check Digit Algorithm Calculator

## About Check Digit Algorithm Calculator

A check digit is a number added to an identifier so that typing mistakes can be caught. This calculator implements Luhn (cards, IMEI), Verhoeff and Damm (which catch all single-digit errors and adjacent swaps), Mod 10 with weights 3 and 1 (EAN, UPC, GTIN), Mod 11 with ISBN-10 weights, Mod 11 with weights 2 to 7, and ISO 7064 Mod 97-10 (used inside IBANs). Choose calculate to get the check digit for a payload or validate to test a full number, and the working is shown. Luhn on 7992739871 gives 3.

## How to use Check Digit Algorithm Calculator
1. Choose the algorithm that your number format uses.
2. Choose calculate for a payload without its check digit, or validate for a complete number.
3. Type the digits and read the result and the step table; spaces and dashes in the input are ignored.

## Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.

## Also known as
- check digit algorithm calculator
- luhn check digit
- verhoeff algorithm
- damm algorithm
- mod 97 check digits
- mod 11 check digit calculator

## Frequently asked questions

### Does a valid check digit mean the number is real?

No. It only means the digits are consistent with the rule. A made-up number can pass by chance, roughly one in ten for single-digit checks.

### Which algorithm catches the most errors?

Verhoeff and Damm catch every single-digit error and every swap of neighbouring digits. Luhn misses a swap of 09 and 90, which is why newer schemes avoid it.

### Why does Mod 11 sometimes give X or 10?

A remainder of 10 does not fit in one digit. ISBN-10 writes it as X, while other standards use 0 or 1, so the page says so instead of picking one.

### Is Check Digit Algorithm Calculator free?

Yes. Check Digit Algorithm Calculator on Toolipedia is free to use, with no sign-up and no watermark.

### Is it safe to use?

Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.

### Does it work on my phone?

Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.

### Do I need an account?

No. Just open the page and use the tool. There's no sign-up and no email needed.

## Related tools

More free tools that go well with Check Digit Algorithm Calculator:
- [Test Number Generator with Valid Check Digits](https://toolipedia.app/test-number-generator-with-valid-check-digits)
- [Algorithm and Data-Structure Visualizer](https://toolipedia.app/algorithm-and-data-structure-visualizer)
- [Page replacement algorithm simulator](https://toolipedia.app/page-replacement-simulator)
- [XML Schema Tool: Validate and Infer XSD](https://toolipedia.app/xml-schema-tool)
- [Identifier and Format Validator](https://toolipedia.app/identifier-and-format-validator)
