IBAN was introduced by the European Committee for Banking Standards and is now mandatory for cross-border payments in Europe and the Single Euro Payments Area (SEPA). A Swiss IBAN is 21 characters (e.g. CH93 0076 2011 6238 5295 7), a German IBAN is 22 characters (DE89 3704 0044 0532 0130 00), a French IBAN is 27 characters, and an Italian IBAN is 27 characters as well.
The two-digit check sum after the country code is computed with a mod-97 algorithm, which means most typos are caught before the payment leaves your bank. Combined with the BIC (the bank's SWIFT code) the IBAN tells the payment network exactly which institution and which account should receive the funds. Inside SEPA the BIC is now optional ('IBAN-only' rule).
Always copy and paste the IBAN; never re-key it manually. A single transposed character routes the payment to the wrong account, and while the recovery process exists it is slow and not always successful. Save your most-used IBANs in your bank's beneficiary list — most apps will pre-validate the check digits and warn you if the number is malformed.
To send EUR 2,000 from Germany to a Swiss freelancer, the payer enters IBAN CH93 0076 2011 6238 5295 7. The mod-97 check digits validate, the BIC POFICHBEXXX is auto-populated, the payment is converted to CHF at the bank's spot rate and arrives in 1–2 business days for a SEPA-equivalent fee of around EUR 5.