Menu

How Many Days Until Eid al-Fitr

Days until Eid al-Fitr, the first day of Shawwal on the Umm al-Qura calendar, with Eid dates for the years ahead.

By Nethanel Bar, Co-founder & CEO

Last updated

Advertisement

Ready to actually learn to code?

Coddy teaches you by writing real code in your browser - interactive lessons, instant feedback, and AI help when you get stuck.

When is Eid al-Fitr?

Eid al-Fitr, the festival that ends Ramadan, falls on 1 Shawwal, the day after the last day of fasting. Ramadan lasts 29 or 30 days, so Eid comes 29 or 30 days after the fast begins. On the Umm al-Qura calendar it is March 9 in 2027, February 26 in 2028, February 14 in 2029 and February 4 in 2030.

Like Ramadan, Eid moves about 11 days earlier each Gregorian year, because the Hijri year is about 11 days shorter. The page follows Umm al-Qura, the official calendar of Saudi Arabia. Where Shawwal begins with the sighting of the new moon, Eid can be a day later, and the page says so under the countdown.

The big number counts calendar days to the first day of Eid. On that day the page wishes you Eid Mubarak, and the next day it counts to the following Eid. This page counts to Eid al-Fitr only; Eid al-Adha, about ten weeks later, is a different holiday.

What Eid teaches about lunar dates

  • Lunar months are 29 or 30 days, so the date of Eid depends on how long Ramadan runs: 29 days in 1448, 30 in 1451.
  • A computed calendar and an observed one can disagree by a day, which is why Eid is confirmed close to the day in many countries.
  • Converting between calendars is a function call in code: the hijridate package turns 1 Shawwal of any Hijri year into a Gregorian date.

How to use the Eid countdown

  1. Open the page

    It shows the calendar days to the next 1 Shawwal, with the Gregorian date and weekday.

  2. Read the note

    Under the countdown, a line reminds you that the month can start a day later where it begins by moon sighting.

  3. Plan in weeks

    The weeks and days under the clock help with travel and family plans.

Eid al-Fitr dates on the Umm al-Qura calendar

1 Shawwal for each Hijri year, and how long Ramadan runs before it.

Hijri yearEid al-Fitr (1 Shawwal)Ramadan before it
1448 AHTuesday, March 9, 202729 days
1449 AHSaturday, February 26, 202829 days
1450 AHWednesday, February 14, 202929 days
1451 AHMonday, February 4, 203030 days

Eid countdowns in practice

Counting to Eid 2027

Paste a small example into the tool and change one part at a time.

108 days to Tuesday, March 9, 2027, shown as 15 weeks, 3 days under the clock.

The last day of fasting

Copy the original value, run the tool, then compare the result.

1 day to go, and the clock shows the hours to midnight, when Eid begins on the Umm al-Qura calendar. Where the moon sighting decides, Eid can fall on March 10 instead.

Eid dates in Python

Python with hijridate
from hijridate import Hijri
for year in range(1448, 1452):    eid = Hijri(year, 10, 1).to_gregorian()    print(year, eid, eid.strftime("%A"))

Hijri(year, 10, 1) is 1 Shawwal. The loop prints Eid for 1448 to 1451: March 9, 2027 (Tuesday) to February 4, 2030 (Monday), the same dates as the table.

Eid date mistakes

  • Confusing Eid al-Fitr with Eid al-Adha. This page counts to Eid al-Fitr, right after Ramadan.
  • Expecting the same date as last year. Eid comes about 11 days earlier each Gregorian year.
  • Treating the computed date as certain where moon sighting decides. Eid can be a day later there.
  • Adding 30 days to the start of Ramadan. Ramadan often has 29 days, so Eid can come a day sooner than that.

Eid al-Fitr countdown FAQ

When is Eid al-Fitr 2027?

Tuesday, March 9, 2027, on the Umm al-Qura calendar. Where Shawwal starts with moon sighting, it may be a day later.

Why is Eid on a different date every year?

Eid follows the Hijri calendar, whose year is about 11 days shorter than the Gregorian one, so Eid arrives about 11 days earlier each year.

Does this page count to Eid al-Adha?

No, to Eid al-Fitr, 1 Shawwal. Eid al-Adha is on 10 Dhu al-Hijjah, about ten weeks later.

How long after the start of Ramadan is Eid?

29 or 30 days, as many as Ramadan has. Ramadan 1448 has 29 days, so Eid 2027 comes 29 days after February 8.

Why does the Eid clock show one day fewer than the count?

The count is calendar days to 1 Shawwal, and the clock runs to midnight as that day begins. Partway through a day the clock is one day lower plus some hours.

Other developer tools

Coddy programming languages illustration

Learn to code with Coddy

Get started