ISBN Check Digit Calculator

ISBN-13 check digit and full number.

Other ToolsUpdated 2026-10-122 min read
ISBN Check Digit Calculator
Digits only; dashes and spaces are stripped.
Check digit
...
Full ISBN-13...
Weighted sum...

What it does

ISBN-13 ends with a check digit that catches typos. The first twelve digits weight alternately by one and three, sum up, and round the remainder out of ten. Scanners and catalogs run the same line before trusting a number.

The tool above runs the rule. With 978030640615 the odds give 27 with evens giving 66, so the sum is 93 and the check is 7 for a full 9780306406157. With 978186197271 the sum is 118 and the check is 2. Dashes strip first, so hyphenated pastes work.

Passing arithmetic never proves registration. Any twelve digits can checksum correctly while belonging to no book, and ISBN-10 uses a different mod eleven rule with X. Catalogs check registries after the math.

This page handles ISBN-13 only. It does not validate ISBN-10, ISSN, or barcodes beyond the thirteen digits. For print runs, confirm assignment with the agency.

How to use

  1. Type the first 12 ISBN digits.
  2. Dashes and spaces are fine.
  3. Read the check digit first.
  4. Read the full 13 digit ISBN.
  5. Read the sum for records.
  6. Validate printed barcodes against it.

Formula

sum = d1x1 + d2x3 + ... alternating 1,3. check = (10 - sum mod 10) mod 10.
d1-12
First 12 digits, dashes stripped.
weights
Alternating weights 1 and 3 from the left.
check
Appended 13th digit.

ISBN-13 mod 10 rule on the first 12 digits. At any non digit the page stops with a message. A passing check confirms arithmetic, never registry assignment.

Worked example

Example: ISBN starting 978030640615

Defaults: 978030640615. Dashes and spaces strip before math.

  1. Inputs: first 12 digits 978030640615.
  2. Weight: odd positions times 1, even times 3.
  3. Sum: 27 plus 66 is 93.
  4. Check: (10 minus 3) mod 10 is 7.
  5. Full ISBN is 9780306406157. Tool shows the same.

Reference table

Checks
First 12CheckFull ISBN
97803064061579780306406157
97818619727129781861972712
97801346859919780134685991
97805960092059780596009205
97814919502969781491950296

Limits

  • ISBN-13 only. ISBN-10 differs.
  • Arithmetic only. No registry check.
  • Digits only. Letters rejected.
  • One number at a time.

Common mistakes

  • Validating ISBN-10 with mod 10.
  • Counting positions from zero.
  • Forgetting dashes strip (they do not matter).
  • Reading pass as registered.
  • Mixing ISSN eight digit math.

Try it yourself

Quick checks. Answers sit tucked under each question.

First 12 digits 978186197271?

Odds 40 with evens 78 give sum 118. Check is 2 with full 9781861972712.

First 12 digits 978013468599?

Odds 39 with evens 90 give sum 129. Check is 1 with full 9780134685991.

Questions

How is the sum figured?

Odds times 1 plus evens times 3. Here 93.

How is the check digit figured?

(10 minus sum mod 10) mod 10. Here 7.

What is the full ISBN?

Append it to the 12. Here 9780306406157.

Does this do ISBN-10?

No. ISBN-10 uses mod 11 with X. This page does ISBN-13 only.

Can I paste with dashes?

Yes. Dashes strip first, so hyphenated input works.

Does pass mean registered?

No. This checks arithmetic only, not registry assignment.

Sources

How this page was checked. The formula above was matched against the cited sources, and the worked example was run through the tool on this page before publishing. If you spot an error, contact us so we can fix it and note the correction.