Islamic & Calendar Tools

Ramadan Fasting Hours Calculator

ramadan fasting hours icon with a crescent moon and a clock

This calculator shows the Ramadan fasting hours for your city, day by day: when suhoor ends at Fajr, when you break your fast at Maghrib, and how long each fast lasts. It uses the same prayer-time engine as the CalcSwiftly prayer times pages, so the Ramadan fasting hours here match the Fajr and Maghrib times you see there. Pick a city in the UK, North America, Australia, Africa, Asia or Europe and the timetable for the whole month appears below.

Ramadan 1448 is expected to begin on or around 8 February 2027 by the Umm al-Qura calendar. In the UK and elsewhere many mosques start a day later, after the moon is sighted, so set the first day to match your local mosque.

Ramadan fasting hours in your city

Your city and dates

Times are shown in the city’s own time zone.
Fajr is set by the angle of the sun below the horizon, which differs between methods.

Your Ramadan at a glance

–
Average fast, Fajr to Maghrib
First fast–
Last fast–
Longest fast–
Total hours fasted in the month–
Method used–
DayDateSuhoor ends (Fajr)Iftar (Maghrib)Fast length

How Ramadan fasting hours are calculated

The fast runs from true dawn to sunset. The Qur’an describes it as eating and drinking “until the white thread of dawn becomes distinct to you from the black thread, then complete the fast until the night”, in Surah al-Baqarah 2:187. In practice the fast begins at the time of Fajr prayer and ends at Maghrib, so the Ramadan fasting hours for each day are simply Maghrib minus Fajr.

  • Fajr is when the sun is a set angle below the eastern horizon: 18° for the Muslim World League, the default on our UK and European city pages, and 15° for the Islamic Society of North America.
  • Maghrib is sunset, when the top edge of the sun disappears, allowing for refraction. You can check sunset for any place against the US Naval Observatory sun data.
  • The calculator works out both for every day of the month in the city’s own time zone, rounds them to the minute as the prayer pages do, and adds up the result.

Because this is the engine behind the London prayer times calculator and the other city pages, the times agree with those pages for the same city, date and method.

Example: Ramadan fasting hours in London, 2027

With the Muslim World League method and Ramadan starting on Monday 8 February 2027, the first fast in London runs from Fajr at 5:34 am to Maghrib at 5:02 pm: 11 hours 28 minutes. By the 30th day, Tuesday 9 March, Fajr is at 4:37 am and Maghrib at 5:54 pm, a fast of 13 hours 17 minutes. The average over the month is 12 hours 21 minutes, about 370 hours in total.

The Ramadan fasting hours grow by nearly four minutes a day in London in February and March, because dawn comes earlier and sunset later as spring approaches.

Ramadan fasting hours around the world in 2027

These Ramadan fasting hours come from the calculator above for a Ramadan starting on 8 February 2027 and lasting 30 days, using each city’s default method.

CityFirst fastLast fastAverage
London11 h 28 min13 h 17 min12 h 21 min
Birmingham11 h 25 min13 h 18 min12 h 20 min
Manchester11 h 23 min13 h 20 min12 h 19 min
Glasgow11 h 14 min13 h 23 min12 h 17 min
New York City11 h 40 min12 h 53 min12 h 15 min
Toronto11 h 32 min12 h 54 min12 h 12 min
Oslo10 h 58 min13 h 31 min12 h 13 min
Lagos13 h 04 min13 h 11 min13 h 08 min
Delhi12 h 21 min13 h 06 min12 h 43 min
Sydney15 h 03 min13 h 57 min14 h 30 min
Cape Town15 h 03 min13 h 57 min14 h 30 min

In 2027 Ramadan falls in the northern winter, so the longest fasts are in the southern hemisphere: Melbourne, Sydney and Cape Town fast for more than 14 hours on average, while cities near the equator such as Lagos and Nairobi stay close to 13 hours all month.

Why the fast gets shorter each year in the UK

Ramadan fasting hours in Britain change from year to year. The Islamic calendar is lunar, so Ramadan starts about 11 days earlier every year. Using the same engine for London, the average fast falls from about 12 hours 20 minutes in 2027 to around 11 hours 40 minutes in 2028 and 11 hours in 2029. It reaches its shortest, about 10 hours, when Ramadan starts in early December 2032, and then grows again as Ramadan moves back towards spring and summer.

What affects Ramadan fasting hours locally

  • The start date. Whether Ramadan begins on the Umm al-Qura date, on local moon sighting or on a sighting in another country is decided by your mosque or community.
  • Imsak. Many timetables show an imsak time about 10 minutes before Fajr as a precaution. Eating is allowed until Fajr itself, but it is wise to finish a few minutes early.
  • Local timetables. Mosques sometimes adjust times by a few minutes, or use a different Fajr angle. Where your mosque publishes a timetable, follow it.
  • High latitudes. In the far north, such as Oslo or Stockholm in summer, twilight may never end. The engine then applies an angle-based rule as our prayer pages do, and scholars differ on what people there should follow.

For the daily prayer times beyond Ramadan, see the prayer times calculator. Many people also pay their annual zakat in Ramadan: the zakat calculator works it out on savings, gold and investments.

Frequently asked questions

How long is the fast in the UK in Ramadan 2027?

For the UK cities in the calculator, between about 11 hours 14 minutes on the first day and 13 hours 24 minutes on the last, depending on the city. Scotland starts slightly shorter and ends slightly longer than London, because it is further north.

Is suhoor at Fajr or at sunrise?

At Fajr, which is where the Ramadan fasting hours begin. Sunrise comes much later, over an hour after Fajr in the UK in February. Eating must stop at dawn, which is the Fajr time shown in the table.

Why do my mosque’s times differ from these?

Mostly because of the Fajr angle. A timetable using 18° gives an earlier Fajr than one using 15°, and some UK mosques use their own observations. Change the method in the calculator to see the effect on your Ramadan fasting hours.

Which country has the longest Ramadan fasting hours in 2027?

Among the cities in the calculator, southern ones such as Melbourne have the longest fasts in 2027, at over 15 hours at the start of the month, because it is late summer there.

Does daylight saving time change the length of the fast?

No, daylight saving time does not change Ramadan fasting hours. Clocks moving forward shifts both Fajr and Maghrib by an hour, so the fast lasts just as long. In 2027 the UK clocks change on 28 March, after Ramadan has ended.

This calculator estimates Ramadan fasting hours from astronomical formulas. It is not a religious ruling: follow the timetable and start date of your local mosque.

For more free calculators, visit the CalcSwiftly homepage.

Reviewed by: CalcSwiftly · Last reviewed: