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.

Calculator

Enter values

Runs in your browser
Night midpoint23:30
Entered night length10 h 10 min
Half-night5 h 5 min

From 18:25 to the next 04:35 is 10 h 10 min. Half of that interval ends at 23:30.

Formula

How it is calculated

night midpoint = Maghrib + ((next Fajr โˆ’ Maghrib) mod 24 h) รท 2
  1. Enter Maghrib and the following Fajr.
  2. Measure the forward interval across midnight.
  3. 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.