Spain IBAN Calculator

Enter a Spanish bank code and account number to generate a correctly formatted ES IBAN โ€” right length, valid check digits, instantly in your browser.

Calculate a Spanish IBAN

Every Spanish IBAN starts with ES and two check digits, followed by a 4-character bank code and the account number โ€” 24 characters in total.

Enter the local details below. The calculator pads the account number, computes the ISO 7064 check digits, and prints the result in standard four-character groups.

ES IBAN format

A Spanish IBAN packs the whole routing path into one string: ES, two check digits, the 4-character bank code, and a 10-character account section.

In the printed format, k marks the check digits, b the bank code, s the branch, c the account number, and x a national check character.

IBAN length
24 characters
Bank code
4 characters
Account number
Up to 10 characters
Check digits
2 digits after ES
Printed format
ESkk bbbb ssss xxcc cccc cccc
Example IBAN
ES91 2100 0418 4502 0005 1332

Frequently asked questions

  • A Spanish IBAN is 24 characters: the country code ES, two check digits, a 4-character bank code, and the account section. Printed in groups of four, it looks like ES91 2100 0418 4502 0005 1332.

  • With the ISO 7064 mod 97-10 algorithm. The bank code, account number, and country code are converted to digits, and the two check digits are chosen so the full number leaves a remainder of 1 when divided by 97. The calculator does this for you and rejects any input that cannot produce a valid ES IBAN.

  • Yes. It runs entirely in your browser โ€” the bank details you enter are never sent to a server, stored, or shared. There is no sign-up and no fee.

  • Yes โ€” the calculator covers 41 countries. Pick a different country in the form above, or open its dedicated page from the list below.