InputTestHub

Latvia IBAN Validator

Validates a Latvian IBAN: the mod-97 checksum, the 21-character length and the structure, with the BIC-derived bank code identified.

Security Nothing uploaded No sign-up Free, unlimited
Security tool
Enter something above.
In short A Latvian IBAN is exactly 21 characters: LV, two check digits, then 4 letters, then 13 letters or digits — so the 4 characters after the check digits are the BIC-derived bank code — BANK in the example — and the remaining 13 are the account number, 0000435195001. Latvia’s BBAN opens with four letters taken from the bank’s BIC, unlike Lithuania and Estonia next door, which are entirely numeric. The checksum is ISO 7064 MOD-97-10: move the first four characters to the end, turn each letter into its position in the alphabet plus nine, and read the result as one long number, which must leave remainder 1 when divided by 97. That catches every single-character mistake and almost every swap of two neighbouring characters, which is what it was designed for and why an IBAN is worth checking before you pay rather than after. What it cannot do is tell you the account exists, is open, or belongs to the person you think — a random string of the right shape passes about once in 97 tries, and no amount of arithmetic reaches into a bank. This page runs entirely in your browser, so the number you type is not sent anywhere.

How to use the Latvia IBAN Validator

  1. Paste the Latvian IBAN — spaces and dashes are fine.
  2. Read the three checks: mod-97, length and structure.
  3. If it fails, the page says which check failed and what that usually means.

About the Latvia IBAN Validator

Checks a Latvian IBAN three ways — checksum, length and structure — and says which of the three failed when one does, because they mean different things.

What people use it for

  • Checking a Latvian IBAN before sending money to it.
  • Finding the BIC-derived bank code inside an IBAN you have been given.
  • Confirming a Latvian number was typed or pasted correctly.

Details

Length21 characters, always
Structure4!a13!c after the check digits
In wordsLV, 2 check digits, then 4 letters, then 13 letters or digits
BIC-derived bank code4 characters — BANK in the example
ExampleLV80 BANK 0000 4351 9500 1
Check digitsAlways between 02 and 98. 00, 01 and 99 cannot occur
PrivacyThe arithmetic runs in your browser. Nothing you type is sent anywhere

The maths behind it

This tool uses ISO 7064 MOD-97-10 — move the first four characters to the end, replace each letter with its position plus nine, and a valid IBAN leaves remainder 1 on division by 97. On top of that, Latvian IBANs are exactly 21 characters and follow 4!a13!c. Every intermediate value is shown on screen, so the result can be checked by hand.

Three checks, reported separately on purpose. A length error means a character is missing or extra, a structure error means a letter sits where a digit belongs, and a checksum failure with both of those right means a genuine typo inside the number — most often two neighbouring characters swapped.

Where this tool stops

It checks arithmetic and shape. It cannot tell you the account exists or who it belongs to, it does not look the bank up, and it does not verify any national check digits Latvia may use inside its own account number — those are separate rules, computed differently, and passing mod-97 says nothing about them.

Frequently asked questions

How many characters is a Latvian IBAN?
Exactly 21, with no exceptions. After the two check digits the structure is 4!a13!c — 4 letters, then 13 letters or digits. A number of any other length is not a Latvian IBAN, whatever else about it looks right.
Why do the three Baltic IBANs look so different?
Because they were built from three different domestic systems. Latvia uses four letters of BIC, Lithuania five digits, Estonia two — the shortest bank identifier in the registry. Nothing about being neighbours makes formats agree.
Where is the bank code in a Latvian IBAN?
The 4 characters after the check digits are the BIC-derived bank code — BANK in the example — and the remaining 13 are the account number, 0000435195001.
Does a valid checksum mean the account exists?
No, and this is the thing worth taking away. Mod-97 proves the number is internally consistent — that it was probably typed correctly. It says nothing about whether the account is open, or whose it is. A random string of the right length passes about once in every 97 attempts. Only the bank can confirm the rest.
Is it safe to paste an IBAN here?
The checking happens in your browser and the number is never sent to a server — there is no request to make one. An IBAN is not a secret the way a card number is, since it is printed on every invoice you send, but it is still yours, and it does not leave your machine here.
Does the Latvia IBAN Validator cost anything?
There is no cost and no cap. The Latvia IBAN Validator is not a demo of a paid product, so nothing is held back or watermarked.
Is my data uploaded anywhere?
No. The Latvia IBAN Validator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
What formula does the Latvia IBAN Validator use?
It uses ISO 7064 MOD-97-10 — move the first four characters to the end, replace each letter with its position plus nine, and a valid IBAN leaves remainder 1 on division by 97. On top of that, Latvian IBANs are exactly 21 characters and follow 4!a13!c. The full working is printed under the result, so you can follow every step rather than trusting a black box.
What is the Latvia IBAN Validator used for?
Typical uses: checking a Latvian IBAN before sending money to it. Finding the BIC-derived bank code inside an IBAN you have been given. Confirming a Latvian number was typed or pasted correctly. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
What are the limits of the Latvia IBAN Validator?
It checks arithmetic and shape. It cannot tell you the account exists or who it belongs to, it does not look the bank up, and it does not verify any national check digits Latvia may use inside its own account number — those are separate rules, computed differently, and passing mod-97 says nothing about them. Knowing where a tool stops being trustworthy matters more than the cases where it works.
What are the reference figures here?
Length is 21 characters, always. Structure is 4!a13!c after the check digits. In words is LV, 2 check digits, then 4 letters, then 13 letters or digits. These are printed on the page itself, so you do not have to take them on trust.
Can I use the Latvia IBAN Validator on mobile?
Yes. The page is responsive and the page works in Chrome, Safari, Firefox, Edge and Samsung Internet on both Android and iOS. There is no app to install and nothing to sign into.

Related security tools

All 100
01

Password Strength Checker

Estimates password entropy and crack time, and identifies the specific weaknesses in what you…

02

Hash Generator

Generates MD5, SHA-1, SHA-256, SHA-384 and SHA-512 hashes of any text, all at once.

03

MD5 Hash Generator

Generates an MD5 hash of any text or string, with optional HMAC and uppercase output.

05

SHA-1 Hash Generator

Generates SHA-1 hashes, still required by some legacy systems and Git object addressing.

06

SHA-512 Hash Generator

Generates SHA-512 hashes for checksums, signatures and archival fingerprints. Runs in your…

09

AES Text Encryption

Encrypts and decrypts text with AES-GCM 256-bit using a password, entirely in your browser.

10

XOR Cipher Tool

Applies a repeating-key XOR to text or hex, the operation behind many simple obfuscation…