Prayer Time Calculator

Location-based Islamic prayer times from the sun position and a chosen calculation method.

Prayer Time Calculator calculator — free online tool
🔒 Your data never leaves your device

What does the undefined do?

It estimates the five daily prayer times for a chosen city and date, using the sun position and a standard calculation method, so you have a printable schedule without installing an app.

  • Inputs: a city, a date, a calculation method and the Asr shadow length.
  • Output: the five prayer times in local clock time, plus sunrise.
  • Method: solar declination and the equation of time give solar noon, and sun depression angles give Fajr, Isha and the other times.

Quick answer

Prayer times shift with the seasons because they follow the sun. A shorter Fajr-to-Isha window in summer means very early Fajr and late Isha, which is why the method you choose changes the result by a few minutes.

What This Calculator Really Does

Prayer times are astronomical, not fixed. The sun crosses local solar noon at Dhuhr, sets at Maghrib, and reaches specific angles below the horizon for Fajr and Isha, and the whole schedule moves a little every day. This tool takes a city, a date and a calculation method and returns the five daily times. The calculation method sets how far below the horizon the sun must dip for Fajr and Isha: the Muslim World League uses 18 and 17 degrees, ISNA 15 and 15, the Egyptian authority 19.5 and 17.5, and the University of Islamic Sciences in Karachi 18 and 18. Asr depends on shadow length: the standard school uses a shadow equal to the object height plus the noon shadow, while the Hanafi school uses twice the height, making Asr later.

The formula it uses

Solar noon = 12 minus longitude divided by 15 plus the timezone offset, corrected by the equation of time. For each angle, the hour angle H satisfies cos H = (sin(altitude) minus sin(latitude) sin(declination)) divided by cos(latitude) cos(declination), and the time is solar noon plus or minus H divided by 15. Fajr and Isha use a negative altitude equal to the method angle; Asr uses the altitude where the shadow equals the chosen multiple of the object height.

Worked example with real numbers

Karachi on 21 June at the Muslim World League method gives Fajr 04:14, sunrise 05:43, Dhuhr 12:33, Asr 15:55, Maghrib 19:24 and Isha 20:48. The same city in winter gives a much tighter day, because the sun rises later and sets earlier.

Common mistakes to avoid

Assumptions and limitations

City coordinates and timezone offsets are approximate, and the calculator ignores elevation, local horizon and daylight saving. High latitudes can return no valid Fajr or Isha in summer, which the tool reports instead of guessing.

Disclaimer

These times are a planning aid only. Always follow the timetable of your local mosque or recognised authority for worship, since small method and horizon differences change the accepted time.

Related calculators

From Our Guides Library

Frequently Asked Questions

How is the undefined calculated?

Solar noon is found from longitude, timezone and the equation of time, then each prayer is placed at a sun angle: a depression angle for Fajr and Isha, a shadow length for Asr, and the horizon for Maghrib. The steps panel shows the sequence.

What do I need to use the undefined?

A city, a date, a calculation method and the Asr shadow length. All the coordinates and timezones are built in.

What does the result from the undefined show?

The five prayer times in local clock time plus sunrise, rounded to the nearest minute and based on the method you selected.

Which prayer time calculation method should I use?

Follow your local mosque. The Muslim World League is a common default, while the Karachi method is widely used in South Asia and ISNA in North America.

Why are the times slightly different from my mosque timetable?

Mosques allow for local horizon, elevation, daylight saving and their own method. This tool is a close estimate, not the final authority your mosque publishes.

Is the undefined really free?

Yes — 100 percent free, no sign-up, and everything runs in your browser.

About this page: Built on standard financial formulas (the same conventions banks use), hand-checked against worked examples and covered by automated tests on every build. Maintained by CalcProMaster's developer — not a licensed financial advisor — so results are math education, not financial advice. Read our editorial policy for how content is written and verified. Last reviewed: 2026-10-04
Methodology: Region-specific rules and rates for India, Pakistan and the Gulf, sourced from published rates and clearly labelled as estimates that change.
⚠️ Financial Disclaimer: This calculator provides estimates for informational and educational purposes only and does not constitute financial, investment, tax, or legal advice. Consult a qualified financial advisor before making financial decisions.

About CalcProMaster calculators

CalcProMaster is a free library of 1211 online calculators across 20 categories — finance, health, math, business, construction, engineering, conversion, education and more. Every calculator runs entirely in your browser: no sign-up, no paywall, and no data leaves your device.

What makes these calculators different is transparency. Each tool shows the exact formula it uses and a step-by-step breakdown of how your inputs become the result, so you can verify the math instead of trusting a black box. Result interpretation, common mistakes, assumptions and limitations are documented on every calculator page, alongside worked examples and an FAQ. Health and finance tools cite the standard formulas they follow — Mifflin-St Jeor for calorie needs, standard amortization for loans — and state plainly where a calculator's answer should be confirmed with a professional.

The guides library goes deeper on the calculations people search for most: percentage and discount math, loan EMI and amortization, income-tax brackets, calorie and macro planning, concrete volumes and more — each with the formula, worked examples and links to the matching calculator. The glossary defines the terminology in plain language, and the public formula QA dashboard shows the verification status of every calculator's math.

Popular starting points: loan EMI calculator, BMI calculator, percentage calculator, random number generator, and concrete calculator — or browse a category above to find the tool you need.

↑ ↓ navigate↵ openesc close