Skip to main content

Prayer Time Calculator

Use our free Prayer time Calculator for quick, accurate results. Get personalized estimates with clear explanations.

Skip to calculator
Islamic & Regional

Prayer Time Calculator

Calculate accurate Islamic prayer times (Fajr, Sunrise, Dhuhr, Asr, Maghrib, Isha) for any location worldwide using multiple calculation methods including MWL, ISNA, and Umm al-Qura.

Last updated: December 2025

Calculator

Adjust values & calculate
Sunday, May 17, 2026
Location: 21.4225, 39.8262 | Method: Muslim World League

Prayer Times

๐ŸŒ… Fajr (Dawn)4:20 AM
โ˜€๏ธ Sunrise5:42 AM
๐ŸŒž Dhuhr (Midday)12:17 PM
๐ŸŒค๏ธ Asr (Afternoon)3:34 PM
๐ŸŒ‡ Maghrib (Sunset)6:53 PM
๐ŸŒ™ Isha (Night)8:10 PM
Disclaimer: Prayer times are calculated using astronomical formulas and may differ slightly from your local mosque's announced times. Consult a qualified Islamic scholar for religious rulings regarding prayer times in your area.
Your Result
Fajr: 4:20 AM | Dhuhr: 12:17 PM | Asr: 3:34 PM | Maghrib: 6:53 PM | Isha: 8:10 PM
Share Your Result
Understand the Math

Formula

T = 12 + TZ โˆ’ Lng/15 โˆ’ EqT ยฑ (1/15) ร— arccos((sin(angle) โˆ’ sin(lat)ร—sin(decl)) / (cos(lat)ร—cos(decl)))

Prayer times are calculated using the sun's position. First compute solar declination and equation of time for the given date. Then for each prayer, solve for the hour angle when the sun reaches the required altitude angle. Fajr and Isha use angles below the horizon (varying by method), Dhuhr is at solar noon, Asr uses shadow length ratios, and Maghrib is at sunset.

Last reviewed: December 2025

Worked Examples

Example 1: Prayer Times in Mecca

Calculate prayer times for Mecca (21.4225ยฐN, 39.8262ยฐE) on March 21, 2026 using the MWL method.
Solution:
Using solar position calculations: Declination and equation of time computed for the date Each prayer time derived from specific sun angle Fajr: sun at -18ยฐ | Dhuhr: solar noon | Asr: shadow ratio Maghrib: sunset | Isha: sun at -17ยฐ
Result: Fajr: 5:07 AM | Dhuhr: 12:22 PM | Asr: 3:42 PM | Maghrib: 6:31 PM | Isha: 7:49 PM

Example 2: Prayer Times in Kabul

Calculate prayer times for Kabul (34.5553ยฐN, 69.2075ยฐE) using the Karachi method.
Solution:
Higher latitude shifts Fajr earlier and Isha later Karachi method uses 18ยฐ for both Fajr and Isha Longitude affects local solar noon time All times adjusted for timezone offset
Result: Fajr: 4:52 AM | Dhuhr: 12:07 PM | Asr: 3:28 PM | Maghrib: 6:12 PM | Isha: 7:38 PM
Expert Insights

Background & Theory

The Prayer Time Calculator applies the following established principles and formulas. Islamic financial and religious calculations operate within a framework that integrates theological principles with precise mathematical methodology. Zakat, one of the five pillars of Islam, requires payment of 2.5% of qualifying wealth held above the nisab threshold for a complete lunar year. The nisab is pegged to the value of 85 grams of gold or 595 grams of silver, whichever provides the lower threshold, and must be recalculated against current market prices. Qualifying wealth includes cash, savings, business inventory, and investment assets, but excludes primary residence, personal-use items, and tools of trade. Hijri calendar conversion is essential for determining Ramadan dates, Zakat anniversaries, and contract terms expressed in lunar months. The Hijri calendar contains 12 lunar months totalling approximately 354.37 days, making it roughly 11 days shorter than the Gregorian year. Converting between calendars requires accounting for the accumulated drift: since the Hijri epoch of 622 CE (the Prophet's migration from Mecca to Medina), the difference compounds annually. Qibla direction calculation employs spherical trigonometry to determine the great-circle bearing from any point on Earth toward the Kaaba in Mecca (coordinates 21.4225ยฐN, 39.8262ยฐE). The formula accounts for the curvature of the Earth, meaning the bearing from New York to Mecca is approximately northeast rather than the intuitive eastward direction seen on flat maps. Prayer times are determined by solar angles: Fajr begins when the sun is 15-18 degrees below the horizon before dawn; Dhuhr at solar noon; Asr when shadow length equals object height plus its shadow at noon; Maghrib at sunset; and Isha when twilight disappears. These calculations vary by latitude and season, requiring location-specific algorithms. Islamic finance prohibits riba (interest), requiring profit-sharing structures such as Mudarabah (capital provider and entrepreneur share profits at a pre-agreed ratio) and Musharakah (joint venture with proportional profit and loss sharing).

History

The history behind the Prayer Time Calculator traces back through the following developments. Islamic civilisation made foundational contributions to mathematics and astronomy that underpin many of the calculation methods still used today. Muhammad ibn Musa al-Khwarizmi, working at the House of Wisdom in Baghdad in the 9th century, authored Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the work from whose title the word algebra derives. His systematic approach to equation solving provided tools directly applicable to financial and calendar calculations. Al-Biruni in the 11th century developed sophisticated methods for calculating geographic coordinates and direction, including early formulations of what became the qibla calculation. The Hijri calendar was formally established by Caliph Umar ibn al-Khattab in 638 CE, fixing the Prophet Muhammad's migration (Hijra) from Mecca to Medina in 622 CE as the epoch. This calendar standardised religious observances across the expanding Muslim world. Islamic inheritance law (Faraid) was codified from Quranic verses and Hadith during the early Islamic period, establishing precise fractional shares for defined classes of heirs. The complexity of multi-heir scenarios drove development of sophisticated fraction arithmetic among early Islamic jurists and mathematicians. The Ottoman Empire administered Zakat as a state function for centuries, integrating it with broader fiscal policy until the empire's dissolution after World War I. The 20th century saw Islamic finance principles largely dormant in formal banking until the resurgence of Islamic banking in Egypt (Mit Ghamr Savings Bank, 1963) and the Gulf states following the 1973 oil boom provided capital for institution-building. The Accounting and Auditing Organization for Islamic Financial Institutions (AAOIFI), established in Bahrain in 1991, and the Islamic Financial Services Board (IFSB), established in Kuala Lumpur in 2002, created the standards infrastructure for modern Islamic finance. The global Islamic finance industry has grown to approximately three trillion US dollars in assets, spanning banking, takaful insurance, sukuk bonds, and Islamic funds across over 80 countries.

Share this calculator

Explore More

Frequently Asked Questions

Islamic prayer times are determined by the position of the sun relative to the observer's location on Earth. Fajr begins at dawn when the sky starts to lighten (sun is a specific number of degrees below the horizon, typically 15-19 degrees depending on the calculation method). Sunrise is when the upper edge of the sun appears above the horizon. Dhuhr starts just after the sun passes its zenith (highest point). Asr begins when an object's shadow reaches a specific length relative to the object's height. Maghrib starts immediately after sunset, and Isha begins when the twilight disappears. These calculations require the observer's latitude, longitude, date, and the chosen calculation convention.
Several organizations have established different conventions for calculating Fajr and Isha times based on the sun's angle below the horizon. The Muslim World League (MWL) uses 18 degrees for Fajr and 17 for Isha. The Islamic Society of North America (ISNA) uses 15 degrees for both. The Egyptian General Authority uses 19.5 for Fajr and 17.5 for Isha. Umm al-Qura (used in Saudi Arabia) uses 18.5 for Fajr and a fixed 90 minutes after Maghrib for Isha. The University of Islamic Sciences in Karachi uses 18 degrees for both Fajr and Isha. The choice of method can result in differences of 15-30 minutes for Fajr and Isha times.
Prayer times change daily because the Earth's axis is tilted at approximately 23.5 degrees relative to its orbital plane around the sun. This tilt causes the sun's apparent path across the sky to shift throughout the year, resulting in varying sunrise and sunset times. The effect is more pronounced at higher latitudes, where summer days can be extremely long and winter days very short. Location affects prayer times because the sun reaches its zenith at different clock times depending on longitude, and the sun's arc varies with latitude. Near the equator, prayer times remain relatively stable year-round, while near the poles they can vary dramatically between seasons.
You may use the results for reference and educational purposes. For professional reports, academic papers, or critical decisions, we recommend verifying outputs against peer-reviewed sources or consulting a qualified expert in the relevant field.
All calculations use established mathematical formulas and are performed with high-precision arithmetic. Results are accurate to the precision shown. For critical decisions in finance, medicine, or engineering, always verify results with a qualified professional.
No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

T = 12 + TZ โˆ’ Lng/15 โˆ’ EqT ยฑ (1/15) ร— arccos((sin(angle) โˆ’ sin(lat)ร—sin(decl)) / (cos(lat)ร—cos(decl)))

Prayer times are calculated using the sun's position. First compute solar declination and equation of time for the given date. Then for each prayer, solve for the hour angle when the sun reaches the required altitude angle. Fajr and Isha use angles below the horizon (varying by method), Dhuhr is at solar noon, Asr uses shadow length ratios, and Maghrib is at sunset.

Worked Examples

Example 1: Prayer Times in Mecca

Problem: Calculate prayer times for Mecca (21.4225ยฐN, 39.8262ยฐE) on March 21, 2026 using the MWL method.

Solution: Using solar position calculations:\nDeclination and equation of time computed for the date\nEach prayer time derived from specific sun angle\nFajr: sun at -18ยฐ | Dhuhr: solar noon | Asr: shadow ratio\nMaghrib: sunset | Isha: sun at -17ยฐ

Result: Fajr: 5:07 AM | Dhuhr: 12:22 PM | Asr: 3:42 PM | Maghrib: 6:31 PM | Isha: 7:49 PM

Example 2: Prayer Times in Kabul

Problem: Calculate prayer times for Kabul (34.5553ยฐN, 69.2075ยฐE) using the Karachi method.

Solution: Higher latitude shifts Fajr earlier and Isha later\nKarachi method uses 18ยฐ for both Fajr and Isha\nLongitude affects local solar noon time\nAll times adjusted for timezone offset

Result: Fajr: 4:52 AM | Dhuhr: 12:07 PM | Asr: 3:28 PM | Maghrib: 6:12 PM | Isha: 7:38 PM

Frequently Asked Questions

How are Islamic prayer times calculated?

Islamic prayer times are determined by the position of the sun relative to the observer's location on Earth. Fajr begins at dawn when the sky starts to lighten (sun is a specific number of degrees below the horizon, typically 15-19 degrees depending on the calculation method). Sunrise is when the upper edge of the sun appears above the horizon. Dhuhr starts just after the sun passes its zenith (highest point). Asr begins when an object's shadow reaches a specific length relative to the object's height. Maghrib starts immediately after sunset, and Isha begins when the twilight disappears. These calculations require the observer's latitude, longitude, date, and the chosen calculation convention.

What are the different prayer time calculation methods?

Several organizations have established different conventions for calculating Fajr and Isha times based on the sun's angle below the horizon. The Muslim World League (MWL) uses 18 degrees for Fajr and 17 for Isha. The Islamic Society of North America (ISNA) uses 15 degrees for both. The Egyptian General Authority uses 19.5 for Fajr and 17.5 for Isha. Umm al-Qura (used in Saudi Arabia) uses 18.5 for Fajr and a fixed 90 minutes after Maghrib for Isha. The University of Islamic Sciences in Karachi uses 18 degrees for both Fajr and Isha. The choice of method can result in differences of 15-30 minutes for Fajr and Isha times.

Why do prayer times change daily and by location?

Prayer times change daily because the Earth's axis is tilted at approximately 23.5 degrees relative to its orbital plane around the sun. This tilt causes the sun's apparent path across the sky to shift throughout the year, resulting in varying sunrise and sunset times. The effect is more pronounced at higher latitudes, where summer days can be extremely long and winter days very short. Location affects prayer times because the sun reaches its zenith at different clock times depending on longitude, and the sun's arc varies with latitude. Near the equator, prayer times remain relatively stable year-round, while near the poles they can vary dramatically between seasons.

Can I use Prayer Time Calculator on a mobile device?

Yes. All calculators on NovaCalculator are fully responsive and work on smartphones, tablets, and desktops. The layout adapts automatically to your screen size.

What inputs do I need to use Prayer Time Calculator accurately?

Each field is labelled with the required unit (metric or imperial). Gather your source values before starting โ€” for example, a weight measurement in kilograms, a distance in metres, or a dollar amount โ€” and enter them exactly as measured. The formula section on this page lists every variable and explains what each represents.

Is my data stored or sent to a server?

No. All calculations run entirely in your browser using JavaScript. No data you enter is ever transmitted to any server or stored anywhere. Your inputs remain completely private.

References

Reviewed by Daniel Agrici, Founder & Lead Developer ยท Editorial policy