Is it safe to enter a JMBG in the calculator?
The check runs only in your browser: the number is not sent to a server and is not stored. Still, a JMBG is personal data, so do not share it needlessly or enter another person's number without consent.
Check a JMBG: control digit, date of birth, age, sex and register area. The number is processed only in your browser.
Starting values are an example. Replace them with your own.
Your inputs stay in your browser.
Enter your details and run the calculation.
A check of the number's form, not confirmation of identity or registration. The law sets the control digit by modulus 11 under a Ministry of Civil Affairs instruction; the usual method with weights 7 to 2 is used here. Since 2013 the BiH area codes 11 to 19 have new meanings and numbers issued earlier do not change, so the calculator shows both. The year reads as 1800 to 1999 for GGG 800 to 999, otherwise as 2000 or later.
Full disclaimerChildren of the diaspora registered in BiH, and anyone filling in a Bosnian form from overseas, run into the 13 digit JMBG sooner or later. This checker reads the date of birth, sex and register area out of the number, works out the age on a date you pick and tests the control digit. A wrong control digit usually means one digit was mistyped. Everything runs in your browser, and the number is never sent anywhere.
The unique personal number has 13 digits in the form DD MM GGG RR BBB K. The first seven digits are the date of birth, with the last three digits of the year, so 900 means 1900 and 006 means 2006. RR is the register area, BBB a serial number that also marks sex, 000 to 499 male and 500 to 999 female, and K is the control digit. The control digit uses modulus 11: the digits are multiplied by the weights 7, 6, 5, 4, 3, 2, 7, 6, 5, 4, 3, 2, the sum is divided by 11 and the remainder is subtracted from 11. For 0101006500006 the sum is 82 and the remainder 5, so the control digit is 11 − 5 = 6 and the number is valid. If the result is 10 or 11, the control digit is 0. From the date of birth in the number, the age calculator gives the exact age and the day of the week calculator shows the weekday. The IBAN checker uses a similar control digit test with modulus 97.
Since the 2013 amendments the codes 11 to 19 cover new areas and code 10 is no longer assigned. Numbers issued earlier stay the same, so on older numbers the same code means the old area. Foreign nationals resident in BiH have code 01.
| Code | Since 2013 | Numbers issued earlier |
|---|---|---|
| 10 | not assigned | Banja Luka |
| 11 | RS, Banja Luka and Prijedor | Bihać |
| 12 | RS, Bijeljina and Doboj | Doboj |
| 13 | RS, east and Trebinje | Goražde |
| 14 | Brčko District | Livno |
| 15 | FBiH, Mostar and Herzegovina | Mostar |
| 16 | FBiH, Bihać and Livno | Prijedor |
| 17 | FBiH, Sarajevo and Goražde | Sarajevo |
| 18 | FBiH, Tuzla | Tuzla |
| 19 | FBiH, Zenica, Travnik and Bugojno | Zenica |
A grandson in Toronto is filling in a pension form for his grandfather and checks the JMBG copied from an old ID card, with the age on 1 December 2026.
The check runs only in your browser: the number is not sent to a server and is not stored. Still, a JMBG is personal data, so do not share it needlessly or enter another person's number without consent.
The first two digits are the day, the next two the month and the three after them the last three digits of the year. For example, 1505985 means 15 May 1985 and 0101006 means 1 January 2006.
The first twelve digits produce a control digit of 2, but the number you typed ends in something else, for example 1505985175003. The calculator still reads the other parts, 15 May 1985 and female in this case, so you can see whether the rest looks right. Most often one digit was mistyped, so compare the number with the document again.
METHOD
JMBG = DD MM GGG RR BBB K. K = 11 − ((7 × (a1 + a7) + 6 × (a2 + a8) + 5 × (a3 + a9) + 4 × (a4 + a10) + 3 × (a5 + a11) + 2 × (a6 + a12)) mod 11); if the result is 10 or 11, K = 0. BBB from 000 to 499 is male, from 500 to 999 female.
TRACEABLE