Last Third Of Night Calculator






Last Third of Night Calculator for Tahajjud


Last Third of Night Calculator

Pinpoint the most blessed time for Tahajjud prayer and supplication.


Enter the time of today’s sunset prayer.


Enter the time of tomorrow’s dawn prayer.

The Last Third of the Night Begins At:

02:00 AM

Islamic Midnight

12:00 AM

Total Night Length

12h 0m

Formula Used: The Islamic night (from sunset to sunrise) is calculated and divided into three equal parts. The last third begins after the first two parts have passed.


Breakdown of the Night

Night Segment Start Time End Time
First Third 06:00 PM 10:00 PM
Middle Third 10:00 PM 02:00 AM
Last Third (Tahajjud) 02:00 AM 06:00 AM

This table shows the calculated start and end times for each third of the night.

Visualizing the Night

First Third Middle Third Last Third

A visual representation of the three segments of the Islamic night.

What is the Last Third of the Night?

The “last third of the night” is a specific, blessed period of time highly esteemed in Islam for worship, prayer (Salat), and supplication (Dua). It is not a fixed time on the clock but is determined daily based on the duration between sunset (Maghrib) and the subsequent dawn (Fajr). Using a last third of night calculator is the most accurate way to pinpoint this window. This time is particularly associated with the voluntary night prayer known as Tahajjud or Qiyam al-Layl. According to hadith, it is during this final third that Allah descends to the lowest heaven, offering mercy, forgiveness, and answers to those who call upon Him. It represents a unique opportunity for believers to seek a closer connection with their Creator in the tranquility and stillness of the night. This period is for anyone seeking spiritual growth, forgiveness, or to ask for their needs, making an accurate tahajjud time calculator an invaluable tool for dedicated worshippers.

A common misconception is that the last third of the night starts at a fixed time like 2 or 3 AM. However, its timing is entirely relative to the length of the night, which changes throughout the year and depends on one’s geographical location. Therefore, relying on a dedicated last third of night calculator is essential for precision.

Last Third of Night Calculator: Formula and Mathematical Explanation

The calculation for the last third of the night is a straightforward time-based division. The last third of night calculator automates this process, but understanding the formula provides clarity. The Islamic “night” begins at the moment of sunset (Maghrib prayer time) and ends at the break of dawn (Fajr prayer time). The calculator performs the following steps:

  1. Determine Total Night Duration: First, it finds the total time in minutes between the given sunset time and the next day’s sunrise time.
  2. Calculate One-Third Duration: This total duration is then divided by three to determine the length of each “third” of the night in minutes.
  3. Find the Start Time: To find when the last third begins, the calculator adds the duration of two-thirds of the night to the sunset time. Alternatively, it can subtract the duration of one-third from the sunrise time. The result is the precise moment the blessed final third commences.

Our online last third of night calculator handles these steps instantly, providing you with the exact time to begin your worship. To perform this calculation yourself, you can consult this variables table.

Variable Meaning Unit Typical Range
Tmaghrib Time of Sunset HH:MM 16:00 – 20:00
Tfajr Time of Dawn/Sunrise HH:MM 04:00 – 08:00
Dnight Total Duration of the Night (Tfajr – Tmaghrib) Minutes 540 – 840
Dthird Duration of One-Third of the Night (Dnight / 3) Minutes 180 – 280
Tlast_third_start Start Time of Last Third (Tmaghrib + 2 * Dthird) HH:MM 00:00 – 04:00

Practical Examples (Real-World Use Cases)

Example 1: Winter Night

Imagine it is winter, and the nights are long. Sunset (Maghrib) is at 5:00 PM and Sunrise (Fajr) is the next day at 7:00 AM.

Inputs: Sunset = 17:00, Sunrise = 07:00

Calculation: The total night duration is 14 hours (840 minutes). One-third of the night is 4 hours and 40 minutes (280 minutes).

Output: The last third of the night begins at 2:20 AM (5:00 PM + 9 hours 20 minutes). Using a last third of night calculator confirms this, giving the worshipper a clear target time.

Example 2: Summer Night

In the summer, nights are shorter. Let’s say Sunset is at 8:30 PM and Sunrise is at 4:30 AM.

Inputs: Sunset = 20:30, Sunrise = 04:30

Calculation: The total night duration is 8 hours (480 minutes). One-third is 2 hours and 40 minutes (160 minutes). Find out more with this islamic prayer times guide.

Output: The last third begins at 1:50 AM (8:30 PM + 5 hours 20 minutes). This example shows how significantly the time shifts, making a reliable tahajjud time calculator a daily necessity.

How to Use This Last Third of Night Calculator

Using our last third of night calculator is simple and intuitive. Follow these steps to find the blessed time for your night prayers:

  1. Enter Sunset Time: In the first field, labeled “Sunset (Maghrib) Time Today,” input the time of the Maghrib prayer for your current location.
  2. Enter Sunrise Time: In the second field, “Sunrise (Fajr) Time Tomorrow,” input the time for the Fajr prayer.
  3. Read the Results: The calculator will instantly update. The primary result, highlighted in the blue box, shows the exact start time of the last third of the night. You will also see intermediate values like Islamic Midnight and the total length of the night.
  4. Consult the Breakdown: The table and chart below provide a full breakdown of the night’s three parts, helping you visualize the timeline from sunset to sunrise. This is how you can use the last third of night calculator to plan your worship.

Key Factors That Affect Last Third of Night Results

The start time of the last third of the night is not static. Several factors influence the calculation, which is why a dynamic last third of night calculator is so important.

  • Geographical Location: Your latitude and longitude significantly impact sunset and sunrise times. Someone in northern Scotland will have vastly different night lengths compared to someone in southern Spain. This is the primary factor affecting the last third of night calculator.
  • Time of Year (Season): Nights are much longer in winter than in summer. This directly changes the total night duration, and thus, the length of each third.
  • Daylight Saving Time: Clock changes in spring and autumn will shift the recorded times for Maghrib and Fajr, which must be accurately entered into the last third of night calculator.
  • Calculation Method (Madhhab): Different schools of Islamic jurisprudence have slight variations in calculating prayer times, especially Fajr (e.g., the angle of the sun below the horizon). Using a local mosque’s timetable or a trusted qibla finder app ensures you are using the correct times for your area.
  • Elevation: Higher altitudes can affect the observed time of sunset and sunrise, though this effect is generally minor for most individuals.
  • Accuracy of Time Input: The output of the last third of night calculator is only as good as the input. Ensuring the Maghrib and Fajr times are correct to the minute is crucial for an accurate result. Many people use a Hijri calendar for this.

Frequently Asked Questions (FAQ)

1. What is Tahajjud prayer?

Tahajjud (also known as Qiyam al-Layl) is a voluntary night prayer performed after the Isha prayer and before the Fajr prayer. It is considered one of the most virtuous and rewarding acts of worship. Our tahajjud time calculator helps you find the best time to perform it.

2. Is it mandatory to sleep before praying Tahajjud?

While it is highly recommended and was the practice of the Prophet (peace be upon him) to sleep and then awaken to pray, it is not a strict requirement. One can pray Tahajjud even if they have not slept. Finding the best time for dua is often the main goal.

3. How many Rak’ahs should I pray for Tahajjud?

There is no fixed number. It can be prayed in units of two Rak’ahs, from a minimum of two up to eight, twelve, or more, followed by the Witr prayer if you have not already prayed it.

4. What if I miss the last third of the night?

You can still pray Tahajjud anytime after Isha and before Fajr. While the last third is the most blessed time, performing the prayer at any point during the night is still highly meritorious. Using a last third of night calculator helps avoid missing this window.

5. Can I use this calculator in any country?

Yes. The last third of night calculator is universal. As long as you provide the correct local times for sunset (Maghrib) and sunrise (Fajr), it will work accurately anywhere in the world.

6. What is Islamic Midnight and why is it calculated?

Islamic Midnight is the halfway point between sunset and sunrise. Some scholars consider it the latest time to pray the Isha prayer. Our calculator provides it as a helpful secondary reference point. You can learn more about calculating midnight in islam on our blog.

7. Why does the time from the calculator change every day?

The times for sunset and sunrise change daily due to the Earth’s axial tilt and its orbit around the sun. Consequently, the length of the night changes, and so does the start time of its last third. That’s why you should check the last third of night calculator daily.

8. Does this calculator account for different Islamic calculation methods?

This calculator performs the mathematical division based on the times YOU provide. It is your responsibility to source the Fajr and Maghrib times that are accurate for your location and according to the calculation method (e.g., ISNA, MWL, Karachi) you follow. These times can be found on your local mosque’s website or a reliable prayer time app.

© 2026 LastThirdOfNight.com – Your trusted resource for calculating blessed prayer times.



Leave a Comment