Skip to main content
Check Digit Calculator
Diagnostic

Check Digit Validator

Compare a supplied check character with the value calculated from its payload. Follow valid and invalid identifier examples.

Last updated:

Diagnostic, Analysis & Utilities

Compare supplied and calculated check characters.

Length: 10 chars
Calculated Check Character / Checksum
--Ready
Complete Validated Sequence:
--
Arithmetic Steps & Mathematical Specification

Initialising algorithm engine for Check Digit Validator...

How Check Digit Validator Works?

The Check Digit Validator compares a supplied check character with a freshly calculated value. It splits the code into payload and check field, then runs the payload through the chosen rule.

  1. 1Paste the complete identifier including its check character.
  2. 2Select the scheme or let the tool detect it from the format.
  3. 3Separate the supplied check character from the payload.
  4. 4Recompute the expected check character.
  5. 5Report Valid when both match, or Invalid with the expected value.

Check Digit Validator Formula

The validator formula is valid ⇔ supplied = f_scheme(payload).

payload, supplied = split(identifier)
expected = f_scheme(payload)
result = (supplied == expected)
  • supplied is the check character in the input.
  • expected is the recomputed value.
Worked example: EAN-13 5901234123458
Payload = 590123412345, supplied = 8
Expected = 7
Result = Invalid (expected 7)

Check Digit Validator Conversion Table

The validator table compares supplied and calculated check characters for 8 identifiers.

SchemeIdentifierSuppliedCalculatedResult
EAN-13590123412345777Valid
EAN-13590123412345887Invalid
Luhn7992739871333Valid
Luhn7992739871003Invalid
ISBN-10030640615XX2Invalid
ISBN-10030640615222Valid
Verhoeff236333Valid
Damm572444Valid

What is Check Digit Validator?

A Check Digit Validator is a tool that confirms whether the check character of an existing identifier matches the value its payload requires. The validator returns both the result and the expected character.

Showing the expected character tells the user whether the payload or the check digit holds the typo.

What are the uses of Check Digit Validator?

There are 3 main uses of the Check Digit Validator, including data entry checks, supplier file review, and support troubleshooting.

  • Data entry checks: Staff verify codes typed from paper documents.
  • Supplier file review: Buyers spot-check identifiers in supplier sheets.
  • Support troubleshooting: Agents check numbers customers read aloud.