MicroSAS
EN

IBAN validator and calculator

Check whether an IBAN is valid (from any country), see it formatted and, if it is Spanish, with its bank, branch and check digits. You can also calculate the IBAN from the 20 digits of a Spanish account number. Nothing is sent.

  • Free
  • No sign-up
  • Checked locally

From any country. You can paste it with or without spaces.

Bank code (4), branch (4), check digits (2) and account number (10). The check digits are verified before calculating the IBAN.

🔒 The check happens in your browser: no account number is sent over the internet.

How it works

  1. 1

    Type or paste the IBAN

    With or without spaces, from Spain or any other country.

  2. 2

    See the result

    If it is valid you will see it in groups of 4 and, if it is Spanish, with the bank and the account breakdown.

  3. 3

    Calculate or validate in bulk

    Get the IBAN from the 20-digit Spanish account number or validate a whole list.

How an IBAN is validated

An IBAN starts with the country code (ES for Spain) and two check digits, followed by the national account number. Each country has a fixed length: in Spain it is 24 characters. To validate it, the first 4 characters are moved to the end, letters are replaced by numbers (A = 10, B = 11…) and the result, divided by 97, must leave a remainder of 1 (ISO 13616 standard). This catches almost every mistake made when copying a number.

Inside a Spanish IBAN

After “ES” and the two check digits come the 20 digits of the account number (the old CCC): bank code (4), branch (4), the account’s check digits (2) and the account number (10). The bank code identifies the bank: 0049 is Banco Santander, 0182 is BBVA, 2100 is CaixaBank… After mergers, some old codes still work even though the bank no longer exists under that name.

A valid IBAN means its check digits add up, not that the account exists or is open.

Ideas for using it

Before a transfer

Make sure you have not made a mistake when copying a supplier’s IBAN.

Find out the bank

Identify the bank of a Spanish IBAN from its 4-digit code.

Old account numbers

Turn a 20-digit Spanish account number into its IBAN to set up direct debits.

Batches and databases

Validate your customers’ IBAN column in one go before sending SEPA direct debits.

Frequently asked questions

How many characters does a Spanish IBAN have?

24 characters: ES, 2 check digits and the 20 digits of the account. It is usually written in 6 groups of 4 to make it easier to read.

Does a valid IBAN mean the account exists?

No. It only means the number is well formed and its check digits are correct. The account may be closed or may not exist.

How do I calculate the IBAN of my Spanish account?

Type the 20 digits of your account in the “Calculate IBAN from the account” tab. The IBAN check digits are calculated with the ISO 13616 standard.

How do I know which bank an IBAN belongs to?

In Spanish IBANs, the 4 digits after “ES” and the check digits are the bank code, assigned by the Bank of Spain.

Is it safe to type my IBAN here?

Yes. Validation happens in your browser and the number is not sent to any server.

More free tools