An air waybill number is 11 digits in a 3–7–1 layout: a 3-digit airline prefix, a 7-digit serial, and a final check digit that must equal the serial modulo 7. Because the last digit is derived from the rest by arithmetic, the number validates itself — recompute the serial mod 7, compare it to the printed digit, and a mismatch means a digit is wrong. No carrier account, no lookup. One division.
One example, two outcomes
# 999 is a stand-in prefix, not a real carrier prefix = 999 serial = 1234567 check = 5 1234567 mod 7 = 5 ✓ equals the printed check digit → PASS # transpose the last two serial digits (…67 → …76): 1234576 mod 7 = 0 ✗ printed check digit is still 5 → FAIL
The transposition is the point. Both versions are crisp, legible digits — an OCR confidence score sees nothing wrong with either. The arithmetic does: swapping two digits almost always changes the remainder, so the printed check digit no longer agrees and the number is held before it mis-routes a shipment or breaks an EDI message downstream.
With , you can catch a bad AWB check digit automatically on every document.
Start hereWhat it doesn't do
MOD-7 proves the digits are consistent with each other — not that this is the right AWB for the shipment, or that it was ever issued. A few errors leave the remainder unchanged and slip through. So it's never the only check: AWBGuru pairs it with an airline-prefix check and a route cross-check, and the result feeds the document's confidence score. A failing check digit flags the field and routes the document to review instead of delivering it downstream.