Fasting Time Calculator
Calculate the daily fasting duration for Islamic fasting (sawm). Enter your location coordinates and date to determine when fasting begins (Fajr), when it ends (Maghrib/Iftar), and the total duration.
What are the fasting hours in Islam?
Islamic fasting (sawm) during Ramadan is from Fajr (pre-dawn) to Maghrib (sunset). Muslims abstain from food, drink, and other specific activities from the break of dawn until the sun sets. The exact times vary by location and date.
When does fasting start (Fajr)?
Fasting begins at Fajr, which is the pre-dawn prayer time. This occurs when the first light appears on the eastern horizon (true dawn or "Fajr al-Sadiq"), approximately 1.5-2 hours before sunrise. The exact time depends on latitude and calculation method.
When does fasting end (Maghrib)?
Fasting ends at Maghrib, which is sunset when the sun's disc completely disappears below the horizon. This is the time for breaking the fast (Iftar) and performing the Maghrib prayer. It occurs when the sun is 0.833 deg below the horizon (accounting for refraction).
How is Fajr time calculated?
Fajr is calculated when the sun is at a specific angle below the horizon, typically 15-18 deg depending on the calculation method. Common methods: MWL (18 deg), ISNA (15 deg), Umm al-Qura (18.5 deg), Egyptian (19.5 deg). This calculator uses a simplified 18 deg angle.
Why do fasting hours vary by location?
Fasting hours depend on sunrise and sunset times, which vary by latitude, longitude, and season. Near the equator, days are roughly 12 hours year-round. In higher latitudes, summer days can be very long (16+ hours) and winter days short (8 hours).
How do I calculate fasting duration?
Fasting duration = time from Fajr to Maghrib. Calculate both times for your location and date, then find the difference. For example, if Fajr is 4:30 AM and Maghrib is 7:45 PM, fasting duration is 15 hours 15 minutes.
What about extreme latitudes?
In far northern/southern regions, summer days may be extremely long or never have true night (midnight sun). Islamic scholars provide guidance for such locations, often recommending following times of nearest normal location or fixed durations (e.g., Mecca times).
Does fasting time change during Ramadan?
Yes, because Ramadan spans 29-30 days and the Islamic calendar shifts 10-11 days earlier each solar year. Daily sunrise/sunset times also change throughout the month. Fasting gets longer or shorter depending on whether Ramadan is in summer or winter.
What is Suhoor and Iftar?
Suhoor is the pre-dawn meal eaten before Fajr begins. Iftar is the meal to break fast at Maghrib. Suhoor should end a few minutes before Fajr (to be safe). Iftar begins immediately at Maghrib, traditionally with dates and water.
Do I need exact times?
Yes, precise prayer times are important for valid fasting. Using calculated times ensures you begin fasting after true dawn and break at proper sunset. However, this simplified calculator demonstrates concepts - use verified local timetables or Islamic apps for actual religious observance.