Maghrib Time Finder

Get the exact Maghrib time finder result for any city and date — calculated from real sun-position astronomy, right in your browser.

🕌 Astronomically calculated 🌍 Works worldwide 🔒 No signup ⚡ Instant results 🆓 Free forever

Runs entirely on-device — your location never leaves your browser.

Maghrib time finder hero illustration of the sun setting behind a mosque silhouette

Find Your Maghrib Time

Maghrib (Sunset)
Estimated Isha
Location & date
Twilight Depth Ribbon — degrees below horizon
12°
18°
Maghrib
Isha
SunsetCivil twilightNautical twilightAstronomical twilight

What Is a Maghrib Time Finder?

A Maghrib time finder is a calculator that tells you the exact moment the sun sets at your location — the start of Maghrib, the fourth of the five daily prayers. Rather than relying on a fixed clock time, this Maghrib time finder recalculates the sun’s position for your chosen date and coordinates using the same sunset equation used in professional astronomy, so the result shifts correctly with the seasons, just like real sunset does.

Because Maghrib begins the moment the sun’s disk fully disappears below the horizon, an accurate Maghrib time finder has to account for latitude, longitude, date, and atmospheric refraction — not just guess a static time.

Screenshot of the Maghrib time finder calculating sunset prayer time

How This Maghrib Time Finder Works

  1. Pick a location. Choose a preset city or enter custom latitude, longitude, and UTC offset.
  2. Choose a date. The tool defaults to today but works for any past or future date.
  3. Select an Isha convention. Pick the twilight-angle method your community follows.
  4. The engine runs the sunset equation. It computes the sun’s declination and the equation of time for that date, then solves for the hour angle at −0.833° elevation (standard sunset) to get Maghrib.
  5. Isha is estimated the same way, solving the hour angle at your chosen depression angle (or adding 90 minutes for Umm al-Qura).
  6. Results appear instantly on the Twilight Depth Ribbon, with copy, print, and download options.
Diagram showing how the Maghrib time finder calculates Maghrib and Isha using sun depression angles

What Should an Accurate Maghrib Time Finder Include?

  • A real astronomical sunset calculation (declination + equation of time), not a fixed lookup table
  • Atmospheric refraction correction (~0.833° below geometric horizon)
  • Support for any latitude/longitude, not just a short list of cities
  • A selectable Isha twilight convention (MWL, ISNA, Egyptian, Umm al-Qura)
  • Manual UTC offset control, since daylight saving time isn’t automatic from coordinates alone
  • A clear disclaimer that mosque-announced times may add a small safety margin

Worked Example

Here’s a sample calculation the Maghrib time finder performs for Lahore, Pakistan:

InputValue
LocationLahore, Pakistan (31.5497° N, 74.3436° E)
UTC offset+5:00
Isha conventionMuslim World League (18°)
Calculated Maghrib~7:04 PM (mid-August)
Estimated Isha~8:27 PM

Exact figures shift daily with the sun’s declination — use the live tool above for today’s numbers.

Who Uses a Maghrib Time Finder?

Daily worshippers

Quick, reliable Maghrib timing without opening a separate app.

Ramadan iftar planners

Know exactly when the fast ends for any date during Ramadan.

Travelers

Recalculate instantly for a new city and UTC offset on the road.

Mosque volunteers

Cross-check announced times against an independent calculation.

Best Practices for Reading Maghrib Time Results

Twilight-angle conventions for Isha genuinely differ between scholarly bodies, and the reasoning behind those differences is worth understanding rather than just picking one at random. Maghrib timing is more scientifically deterministic than Fajr or Isha because it depends directly on the sun’s position, while the twilight-based times vary with atmospheric and seasonal factors that aren’t perfectly predictable everywhere.

Further reading: Fiqh Council of North America — “Fifteen or Eighteen Degrees: Calculating Prayer & Fasting Times in Islam”

Common Mistakes When Checking Maghrib Time

  • Forgetting to adjust the UTC offset for daylight saving time
  • Assuming Maghrib stays the same all month — it shifts daily with the season
  • Ignoring a physically obstructed horizon (mountains, tall buildings) that delays visible sunset
  • Treating the Isha estimate as exact rather than convention-dependent
  • Using a city preset instead of exact coordinates for a location far from that city center

Frequently Asked Questions

How accurate is the Maghrib time finder?

It uses the standard sunset equation (solar declination and equation of time) with atmospheric refraction correction, the same core method used by most prayer-time apps. Results are typically accurate to within a minute of official sources.

Does the Maghrib time finder work for any city in the world?

Yes. Use the preset list for common cities, or select “Custom coordinates” and enter any latitude, longitude, and UTC offset worldwide.

Is the Maghrib time finder powered by AI?

No — it’s a deterministic astronomical calculation engine (fixed formulas, not a generative model), which is why the same inputs always produce the same result. A secure backend for extra features could be connected later.

Why might my mosque’s Maghrib time differ slightly from this calculator?

Many mosques add a small safety margin (a few minutes) after the calculated sunset, and local horizon obstructions can delay the visible sunset compared to the flat-horizon calculation used here.

Does the Maghrib time finder account for daylight saving time?

You control the UTC offset directly, so you can set it to your region’s current DST-adjusted offset. The tool doesn’t auto-detect DST changes.

Related Reading

Never Miss Maghrib Again

Bookmark this Maghrib time finder, or get in touch to be notified when our upcoming Quran classes launch.

Get Notified →

Scroll to Top