Calculate bank account control keys.
Initialising algorithm engine for French RIB Key Calculator...
How French RIB Key Calculator Works?
The French RIB Key Calculator works by converting letters in the account number to digits, combining bank, branch, and account codes with weights 89, 15, and 3, and subtracting the remainder modulo 97 from 97. The 2-digit result is the clé RIB.
- 1Enter the 5-digit bank code (code banque), 5-digit branch code (code guichet), and 11-character account number.
- 2Replace letters in the account: A/J = 1, B/K/S = 2, C/L/T = 3, D/M/U = 4, E/N/V = 5, F/O/W = 6, G/P/X = 7, H/Q/Y = 8, I/R/Z = 9.
- 3Compute 89 × bank + 15 × branch + 3 × account.
- 4Take the remainder modulo 97 and subtract it from 97.
- 5Pad the key to 2 digits.
French RIB Key Calculator Formula
The RIB key formula is Key = 97 − ((89·B + 15·G + 3·C) mod 97).
Key = 97 − ((89 × bank + 15 × branch + 3 × account) mod 97)
Bis the bank code.Gis the branch code.Cis the account number with letters converted.
M → 4, account = 05000134026 89 × 20041 + 15 × 1005 + 3 × 5000134026 = 15002200802 mod 97 = 91 Key = 06
French RIB Key Calculator Conversion Table
The RIB conversion table maps account letters to digits and lists sample RIBs with their keys.
| Letters | Digit | Sample bank / branch / account | Key |
|---|---|---|---|
| A J | 1 | 20041 01005 0500013M026 | 06 |
| B K S | 2 | 30002 00550 0000157841Z | 25 |
| C L T | 3 | 30004 00001 00010001234 | 86 |
| D M U | 4 | 10107 00175 00012345678 | 40 |
| E N V | 5 | 11315 00001 0123456789A | 92 |
| F O W | 6 | 12345 67890 ABCDEFGHIJK | 68 |
| G P X | 7 | — | — |
| H Q Y | 8 | — | — |
| I R Z | 9 | — | — |
What is French RIB Key Calculator?
A French RIB Key Calculator is a tool that computes the 2-digit clé RIB of a French Relevé d'Identité Bancaire (RIB). The 23-character RIB is the domestic French account format.
The RIB key sits at the end of the BBAN in every French IBAN, so French IBANs carry 2 independent mod 97 checks.
What are the uses of French RIB Key Calculator?
There are 3 main uses of the French RIB Key Calculator, including IBAN creation, payroll setup, and supplier onboarding.
- IBAN creation: French banks build FR IBANs from RIB data.
- Payroll setup: Employers verify employee RIBs.
- Supplier onboarding: Purchasing teams check supplier RIB documents.