How the Hijri calendar works (and why dates can differ)

The Hijri calendar is lunar: each month starts around the new crescent and lasts 29 or 30 days. Some communities start a month on a moon sighting, others follow a calculation, so the same Hijri date can fall on different days in different places. Your local mosque announces the dates it follows.

A calendar built on the moon

A lunar month is about 29.5 days, so months alternate between 29 and 30 days and twelve of them make a year of roughly 354 days. That is why Hijri dates move earlier through the Gregorian year, and why events such as Ramadan arrive about ten to eleven days earlier each year.

Calculation and sighting

  • Calculation. The start of each month is worked out in advance from astronomical rules. This gives a calendar you can read years ahead.
  • Moon sighting. The month starts after the new crescent is seen, or the 30th day completes. The result is announced close to the date.

Both are used by communities around the world. The results often agree and sometimes differ by a day. This guide describes the two approaches and does not say which to follow.

What the QiblaFlow calendar shows

The QiblaFlow Hijri calendar shows Hijri months and lets you pick a source. For a source that publishes sightings, months marked as a confirmed sighting are official announcements from that authority, and the rest are astronomical calculations until a sighting is confirmed. For a calculation-only source, every month is computed.

Why it matters for prayer

Hijri dates do not change daily prayer times, which follow the sun (see why prayer times differ). They matter for the start of months such as Ramadan; see Ramadan timetable basics. For the dates your mosque follows, check your local mosque.

Common questions

How long is a Hijri month?

A Hijri month follows the moon's cycle and lasts 29 or 30 days, so a Hijri year is about 11 days shorter than a Gregorian year.

Why can the date differ by a day between mosques or countries?

Some communities start a month on a confirmed local or regional moon sighting, others follow a calculation. Both approaches are in use, so the start of a month can fall on different days.

Does QiblaFlow have a Hijri calendar?

Yes. QiblaFlow has a Hijri calendar showing Hijri months, where you can choose a source. For a source that publishes moon sightings, months marked as a confirmed sighting are announcements from that authority and the rest are astronomical calculations until a sighting is confirmed.

Which source should I follow?

This guide does not rule on that. Scholars and communities differ. Follow the announcements of your local mosque or the body it follows.

Get live times & reminders for your location

Free, no account needed. Open the web app now, or get the app on iPhone or Android.

More guides

This guide explains how prayer times are commonly calculated. It is not a religious ruling. Scholarly bodies and mosques differ, so follow the timetable of your local mosque.