calculator.onl
Categories50

Prayer times calculator: solar angle methods

Compare MWL and ISNA solar prayer references for a date and coordinates, with manual UTC offset, Asr shadow factors and explicit high-latitude gaps.

A worked example

Move east by 15° while keeping the same time zone. Read solar noon on the clock. Dhuhr / solar transit reference · 12:04 → 11:04.

Fajr angle reference04:47Sunrise reference06:02Dhuhr / solar transit reference11:53Maghrib / sunset reference17:45Isha angle reference18:56
Gregorian local date from 2000-01-01 to 2099-12-31; select the real solar transit nearest local 12:00, even if an unusual longitude/offset combination puts it on an adjacent date.

°
Degrees from −89 to +89; north positive, south negative.

°
Degrees from −180 to +180; east positive, west negative.

h
Local time minus UTC, −12 to +14 hours in steps of 0.25. Include DST yourself; the offset is fixed across adjacent nights.

Published depression angles: MWL 18°/17° or ISNA 15°/15° for Fajr/Isha.

Afternoon shadow growth above the noon shadow: 1 or 2 times the object height.

Leave undefined, or use the actual adjacent-night midpoint only when the Fajr/Isha angle has no crossing. No anchors means no replacement.

Updates as you type

Use a dot or comma for decimals. No thousands separators.

YOUR RESULT

Fajr angle reference

04:47

Calculated from your inputs

Sunrise reference06:02
Dhuhr / solar transit reference11:53
Asr shadow reference15:15
Maghrib / sunset reference17:45
Isha angle reference18:56
The numbers, at a glance

Calculations run in your browser.
UNDERSTAND THE RESULT

A little context. A clearer answer.

↑ Back to calculator

When this calculator is useful

Enter a place and date to calculate six astronomical reference instants. Compare the published angle presets and inspect how the selected rule changes unavailable twilight events. For a related calculation, try Use clock arithmetic to compare intervals separately from astronomical reference events..

What to enter

InputWhat it meansExample value
Local civil dateGregorian local date from 2000-01-01 to 2099-12-31; select the real solar transit nearest local 12:00, even if an unusual longitude/offset combination puts it on an adjacent date.Jul 1, 2026
Latitude, north positiveDegrees from −89 to +89; north positive, south negative.-6.912 °
Longitude, east positiveDegrees from −180 to +180; east positive, west negative.107.622 °
Total UTC offset, including DSTLocal time minus UTC, −12 to +14 hours in steps of 0.25. Include DST yourself; the offset is fixed across adjacent nights.7 h
Published angle presetPublished depression angles: MWL 18°/17° or ISNA 15°/15° for Fajr/Isha.MWL: Fajr 18°, Isha 17°
Asr shadow factorAfternoon shadow growth above the noon shadow: 1 or 2 times the object height.1 × object height plus noon shadow
Unavailable twilight handlingLeave undefined, or use the actual adjacent-night midpoint only when the Fajr/Isha angle has no crossing. No anchors means no replacement.Leave unavailable

How the calculation works

  1. Choose the civil date, signed latitude and longitude, and the total local UTC offset including any DST.
  2. Select MWL 18°/17° or ISNA 15°/15°, the Asr shadow factor, and whether to replace unavailable twilight by the night midpoint.
  3. Read the event times, day offsets and replacement labels. Use the community’s own timetable for local practice.
The formulasin h = sin φ sin δ + cos φ cos δ cos H; h(Asr) = atan(1 / (f + cot h₀))

A worked example

Bandung, 1 July 2026: latitude −6.912°, longitude 107.622°, UTC+7, MWL, shadow factor 1 and no fallback give approximately 04:47, 06:02, 11:53, 15:15, 17:45 and 18:56. ISNA changes Fajr to 05:00 and Isha to 18:47. At Utti (60.9°, 26.933°), 19 July 2026, UTC+3, MWL twilight crossings are unavailable; the conditional midpoint option gives Fajr 01:19 and Isha 01:19 (+1), explicitly as replacements.

Example you can load

What to enter
Result for this example · Fajr angle reference04:47

This is a fixed example; changing the form above does not change these numbers.

Assumptions & limits

For Gregorian dates 2000–2099, latitude −89° to +89° and a flat, unobstructed sea-level horizon. Sunrise and sunset use a solar-center altitude of −0.833°. MWL uses Fajr/Isha depressions 18°/17°; ISNA uses 15°/15°. These are angle presets, not universal religious definitions or an official mosque schedule. No community safety margin, elevation, terrain, weather, iqamah or fasting ruling is included. Supply the total UTC offset including any DST; it remains fixed across the whole cycle and adjacent nights, with no automatic zone or DST-transition handling. The real solar transit nearest local 12:00 on the selected date identifies the cycle; unusual longitude/offset combinations can put even that transit on an adjacent date. An event outside that date shows a signed day offset. Midpoint replacement applies only to unavailable Fajr/Isha crossings and requires actual adjacent sunset/sunrise anchors. Defined crossings are unchanged; missing polar anchors are never invented. Asr is unavailable when noon altitude is nonpositive. Numerical precision does not imply observed timing accuracy.

Frequently asked questions

Are these the official prayer times for my community?

No. They are rounded astronomical reference instants. Dhuhr is solar transit and Maghrib is sunset with zero added margins. Communities can use observation, other angles and local adjustments. Compare the stated method with your local timetable.

What happens at high latitudes or across midnight?

Without adjustment, an absent angular crossing is unavailable. The optional rule replaces only absent Fajr with the midpoint of previous sunset and sunrise, and absent Isha with the midpoint of sunset and next sunrise. Both real anchors must exist. Polar-night Asr is unavailable if the noon Sun is not above the horizon. A suffix (+1) or (−1) means the next or previous local date.

How are the solar model, shadow factor and timezone used?

h is solar altitude, φ latitude, δ solar declination and H hour angle: sin h = sin φ sin δ + cos φ cos δ cos H. Asr altitude = atan(1/(f + cot h₀)), where f is the selected factor and h₀ the noon altitude. Times use the USNO solar-coordinate model and are rounded to the nearest minute. The shadow factor is added to the noon shadow; it is not the total shadow ratio. The entered UTC offset is fixed and already includes any DST. Changing it does not select a time zone or apply transition rules.