Your timetable ยท visible arithmetic
Islamic midnight calculator
Enter the Maghrib time and the following dayโs Fajr time from the timetable you follow.
The calculator measures the forward overnight interval and divides it exactly in half.
Formula
How it is calculated
night midpoint = Maghrib + ((next Fajr โ Maghrib) mod 24 h) รท 2- Enter Maghrib and the following Fajr.
- Measure the forward interval across midnight.
- Add half that interval to Maghrib.
What the result means
The result is the mathematical midpoint of the two entered timetable values. It does not select a jurisprudential definition or replace local guidance.
All decision-bearing times, offsets or coordinates remain visible inputs. The page does not look up a hidden local convention, mosque timetable or current location.
Limits and local confirmation
The result is clock arithmetic, not a determination of when a prayer begins. Calculation methods, local observations, high-latitude rules and authority timetables can differ.
For worship planning, confirm the applicable times, method and interpretation with the local mosque or authority you follow.
Questions about this calculation
Does this Islamic midnight calculator choose prayer times for me?
No. It uses only the timetable values or coordinates you enter. Obtain prayer times and method guidance from a trusted local timetable, mosque or authority.
Does it store my values or location?
No. The arithmetic runs in your browser and the form does not submit coordinates, times or results to a server.
What happens when an interval crosses midnight?
Clock-interval tools move forward on a 24-hour clock, so an end time earlier than the start is treated as occurring on the following calendar day.
Need a full location-based timetable? Use the prayer times and Qibla calculator.