This checksum digit calculator works out a simple modulo 10 check digit for any number, the kind of extra digit added to account numbers, reference codes, barcodes and other identifiers so mistakes can be caught automatically. Enter a number into the single field and the calculator adds together its digits to get the digit sum, then works out the check digit as whatever amount needs to be added to that sum to make it a round multiple of ten. The results show the check digit itself, the digit sum it was calculated from, and the full number with the check digit appended on the end, ready to use or compare. This is handy whenever you are building or testing a simple validation scheme: if a digit later gets mistyped or transposed, recalculating the checksum on the altered number will usually produce a different check digit, flagging the error before it causes problems further down the line. Note that this tool uses the plain digit sum method rather than a weighted scheme; more sophisticated systems such as the Luhn algorithm, used on credit cards and some ID numbers, double alternating digits before summing, so use the dedicated Luhn calculator if that is what you need. This one suits simpler internal reference numbers, student exercises, or anywhere a lightweight, easy to explain check digit scheme is enough.
Add the digits of the number to get the digit sum. The check digit is (10 minus (digit sum mod 10)) mod 10, chosen so that the digit sum plus the check digit is a multiple of ten.
For 123 the digit sum is 1 + 2 + 3 = 6, so the check digit is (10 minus 6) mod 10 = 4, giving 1234. Enter 123 to confirm.
An extra digit added to a number so that a simple calculation over all the digits comes out to a fixed value, catching typos.
It sums the digits and adds whatever makes the total a multiple of ten.
No. Luhn weights alternate digits by doubling them. This is the simpler plain digit sum check; see the Luhn calculator for cards.
This calculator is for students, programmers and anyone needing a quick, reliable result.
If you've found a bug, or would like to contact us, or learn more about James Graham and Calculate.co.nz.
Calculate.co.nz is partnered with Interest.co.nz for New Zealand's highest quality calculators and financial analysis.
Calculate.co.nz is the sister site of CalculatorHub.com, the world's largest calculator website by tool count.
All calculators and tools are provided for educational and indicative purposes only and do not constitute financial advice.
Calculate.co.nz is proudly part of the Realtor.co.nz group, New Zealand's leading property transaction literacy platform, helping Kiwis understand the home buying and selling process from start to finish. Whether you're a first home buyer navigating your first property purchase, an investor evaluating your next acquisition, or a homeowner planning to sell, Realtor.co.nz provides clear, independent, and trustworthy guidance on every step of the New Zealand property transaction journey.
Calculate.co.nz is also partnered with Health Based Building and Premium Homes to promote informed choices that lead to better long-term outcomes for Kiwi households.
Calculate.co.nz is hosted in Auckland via SiteHost new Zealand.
All content on this website, including calculators, tools, source code, and design, is protected under the Copyright Act 1994 (New Zealand). No part of this site may be reproduced, copied, distributed, stored, or used in any form without prior written permission from the owner.
About & trust: Why Calculate is NZ's most comprehensive · By the Numbers · How we compare · Editorial standards · How we keep data current · NZ finance glossary · Research & data · Financial literacy NZ · About · Privacy policy · Terms of use
Reviewed and maintained. Last reviewed 2026-07-19 and checked on a twice-monthly cycle against IRD, RBNZ and Stats NZ. How we keep data current.
© 2026 Calculate.co.nz. All rights reserved. Building free NZ calculators since 2011.