Prayer time guide

Last Third of the Night Calculator: Maghrib to Fajr

To find the last third of the night with a Maghrib-to-Fajr convention, divide the elapsed time from Maghrib to the following Fajr by three and subtract that duration from Fajr. The calculator below shows both dates and the selected method.

By Cheng Xu · Published and updated

Calculate by city and evening date

Select the date on which the night begins. For a pre-dawn result on 28 March, choose the evening of 27 March. All results use the selected city's time zone, even if your device is elsewhere.

Night beginning 2026-11-04 in Karachi

Method: University of Islamic Sciences, Karachi. Time zone: Asia/Karachi. Elapsed night: 694 minutes. Derived times are rounded to the nearest minute.

Maghrib
Following Fajr
Night midpoint
Last third begins

The last-third interval ends at the following Fajr shown above. Today's prayer timetable in Karachi.

The formula, with a simple example

For Maghrib at 6:00 PM and next-day Fajr at 6:00 AM on a night without a clock change, the elapsed night is 12 hours. One third is four hours, so its last third begins at 2:00 AM. The midpoint is midnight in that example; it need not be 12:00 AM on another date.

The calculator uses Maghrib → next Fajr, rather than Isha → Fajr or sunset → sunrise. That endpoint choice matters. Maghrib includes any adjustment built into the selected preset. It is a calculated convention, not a field observation.

Tahajjud and religious guidance

The Federal Territories Mufti's discussion of dividing the night and qiyamullail describes a night extending from Maghrib to dawn and treats the division as approximate. This tool illustrates that division; the last-third result is not the only permissible time for every form of night prayer. Consult qualified guidance for practice.

Clock changes and high latitudes

On a daylight-saving transition, subtracting the printed hours can misstate the duration. We divide elapsed time between the calculated instants, then show the results with their local dates and UTC offsets. At high latitudes, Fajr may itself be an approximation; follow the adopted local timetable and see our high-latitude guide.

Sources and reproducibility

Calculations use SalahTable's prayer-time engine and GeoNames city coordinates. See our calculation methodology and open data for inputs and reuse information.

Related guides

Browse all guides and tools · Research charts, citations and downloads