IBAN Validator
An IBAN carries its own error detection: two check digits computed over the whole string, plus a fixed total length that differs by country. Paste an IBAN and this validator runs both registry checks — the length against the official SWIFT IBAN Registry table, then the ISO 13616 mod-97 checksum — and breaks the IBAN into its country code, check digits, and account part.
A passing IBAN is well-formed, which catches typos and truncated copies before money moves. It does not prove the account exists or belongs to the person you expect — always confirm the beneficiary separately.
Paste it with or without spaces — casing does not matter
Valid IBAN
GB29 NWBK 6016 1331 9268 19
Country code
GB
Registry length: 22 characters
Check digits
29
mod-97 checksum passes
Length check
Correct
22 characters entered
Electronic format
GB29NWBK60161331926819
No spaces — the form banking systems expect
What was checked
- Spacing and casing were normalized — banks expect the uppercase, space-free electronic form.
- Both registry checks pass — length and check digits. This confirms the IBAN is well-formed, not that the account exists or belongs to who you expect.
Embed this calculator on your website →
Please note: Estimates for planning only — not financial, tax, or legal advice. Check important figures with a qualified professional. Terms of Service
The formula
IBAN = country (2 letters) + check digits (2) + BBAN
mod-97: move first 4 to the end, A=10…Z=35, remainder must be 1
- length first — every country registers one fixed IBAN length (Germany 22, France 27, Norway 15, Malta 31). A wrong length means a digit is missing or extra, and no checksum can rescue it.
- then the checksum — the first four characters move to the end, letters become numbers (A=10 through Z=35), and the resulting number must leave remainder 1 when divided by 97. A single wrong character almost always fails this.
- unknown countries fail closed — a code not in the registry can never validate here, even if its check digits happen to pass.
Worked example: GB29 NWBK 6016 1331 9268 19 → country GB, check digits 29, 22 characters (the registered UK length), mod-97 remainder 1 — the default above, valid.
How it works
The check digits are not random. When a bank issues an IBAN it computes them from the account part with the same mod-97 recipe, so any later typo — a transposed pair, a dropped digit — breaks the arithmetic. The validator simply replays that computation and compares.
Why length matters as much. The checksum is computed over the whole string, so a truncated IBAN (say 21 characters for Germany) fails it anyway — but checking length first gives the useful diagnosis: a digit is missing, not merely wrong. The per-country lengths come from the SWIFT IBAN Registry, the ISO 13616 registration authority's table.
What validation cannot do. A valid IBAN may still point at the wrong account: a fraudster's real account has a perfectly valid IBAN. Treat a pass as "this was copied correctly", never as "this is the right recipient".
Examples
- DE89370400440532013000 → valid: 22 characters, German length, checksum passes.
- FR1420041010050500013M02606 → valid: 27 characters; note the letter inside the account part — IBANs are alphanumeric, not digits-only.
- GB29 NWBK 6016 1331 9268 18 → invalid: one digit changed, the checksum catches it.
- a 21-character German IBAN → invalid on length before the checksum is even consulted.
Frequently asked questions
My bank gave me an IBAN with spaces — does that matter?
No. The spaced form is for human eyes (groups of four); banking systems use the electronic form with no spaces. The validator accepts both and shows you the space-free version to copy into payment forms.
The validator says valid — can I safely send money?
It means the IBAN was copied correctly, which is worth checking. It does not confirm the account exists or belongs to your intended recipient — a scammer's account has a valid IBAN too. Confirm the beneficiary through a separate channel before sending.
Why do IBAN lengths differ by country?
Each country built its IBAN around its existing national account numbering, so the account part (BBAN) varies — Norway's compact system needs 15 characters total, Malta's needs 31. The SWIFT IBAN Registry records each country's fixed length, which is what the validator checks first.
Do US or Canadian accounts have IBANs?
No — the US, Canada, and several other countries do not use IBANs at all; they identify accounts with domestic routing numbers plus a SWIFT/BIC code for international transfers. An 'IBAN' starting with US is not a real IBAN.
Related calculators
VAT / GST Calculator
LiveAdd VAT or GST to a before-tax amount, or extract the tax inside a tax-inclusive price, at any rate you enter — no country rate table.
Simple Interest Calculator
LiveWork out interest charged only on the original principal, with terms in years, months, and days and the simple-vs-compound contrast explained.
Tip Calculator
LiveCalculate a tip and split the bill fairly between any number of people, with an optional round-the-total-up mode.

