ZagTrader

IBAN formats by country

San Marino IBAN Format (SM)

Written and maintained by ZagTrader. Last reviewed . How this page is sourced and checked

A San Marino IBAN has 27 characters: SM, two check digits and a 23-character national account number (BBAN), which contains a 5-character bank code.

Length
27 characters
IBAN structure
SM2!n1!a5!n5!n12!c
Bank code length
5 characters
Example
SM86 U032 2509 8000 0000 0270 100

San Marino IBAN structure

After the country code and check digits, the BBAN is 1 upper-case letter, then 5 digits, then 5 digits, then 12 letters or digits.

PartIn the exampleWhat it is
Country codeSMISO 3166 code of the country
Check digits86Two digits from the ISO 7064 MOD 97-10 calculation
National check characterUChecks the national account number
Bank code032255 characters, national bank identifier
Branch code098005 characters, branch identifier
Account number000000270100The rest of the BBAN, including any national check digits

The example is the sample IBAN given for this country in the IBAN registry, not an account to pay. Structure notation: n digits, a upper-case letters, c letters or digits; 4!n means exactly four digits.

Check a San Marino IBAN

Questions

How many characters does a San Marino IBAN have?
27 characters: the country code SM, two check digits and a BBAN of 23 characters.
What does a San Marino IBAN look like?
For example SM86 U032 2509 8000 0000 0270 100 on paper, or SM86U0322509800000000270100 in electronic form.
Where is the bank code in a San Marino IBAN?
The national bank code has 5 characters, at positions 6 to 10 of the IBAN.
How do I check a San Marino IBAN?
Paste it into the IBAN checker on this site. It tests the length, the structure and the check digits in your browser.

Other countries with 27-character IBANs

All IBAN countries

Formats from the IBAN Registry (release 99, December 2024) that Swift publishes as the ISO 13616 registration authority, read from public mirrors of the registry. Check the current registry before relying on a format.