How the calculation works
This tool calculates the positions of the Sun and Moon. A new Hijri month starts on the day after the first evening on which, at sunset at the reference point (Banda Aceh), the conjunction (ijtimak) has passed and the Moon meets the new MABIMS criteria: an altitude of at least 3° and an elongation of at least 6.4°. If they are not met, the current month is completed at 30 days. Kemenag has applied these criteria since 2022, replacing the earlier 2°, 3° and 8-hour criteria.
We checked the results against 23 official dates from 2024 to 2027, taken from government announcements and the joint decree of three ministers (SKB 3 Menteri): the start of Ramadan, Eid al-Fitr, Eid al-Adha, 1 Muharram, Mawlid and Isra Mi’raj. All of them matched. Astronomical positions are calculated with the MIT-licensed astronomy-engine library.