← Daily prayer times

HOW WE CALCULATE

Zmanim calculation methods

Kavaná calculates solar events from the date, latitude, and longitude using the NOAA/Meeus method. Prayer times are derived using the conventions below. This page documents the website calculator; iPhone app settings may differ.

Solar model: NOAA/MeeusReference horizon: sea levelExecution: browser

01 · INPUTS

Inputs and calculation sequence

1

Location and date

Latitude, longitude, and the calendar date identify where and when to calculate. On the website, a city search sets that city’s time zone. Daylight saving follows the selected zone and date.

2

Solar position

Our implementation follows the NOAA/Meeus solar method, with a second pass at the estimated event time. Sunrise and sunset use a 90.833° zenith, allowing for the sun’s apparent radius and standard refraction.

NOAA calculation reference ↗
3

Halachic convention

We apply the rule for each zman: a fraction of the day, a number of minutes, or a solar angle. The choice of rule is separate from the astronomical calculation.

Website calculation rules ↓

AI assistants can request these calculations through the zmanim MCP server.

Zmanim are calculated by deterministic code. Rav, the app’s AI companion, does not generate the times shown in the calculator.

02 · EQUATIONS

Solar events and proportional hours

Solar event times

Let φ be latitude, λ longitude (positive east), δ solar declination, E the equation of time in minutes, and Z the event’s zenith angle. H is the solar hour angle in degrees.

q = (cos Z − sin φ · sin δ) / (cos φ · cos δ)
H = arccos(q)
t_noon = 720 − 4λ − E
t_rise = t_noon − 4H
t_set  = t_noon + 4H

Event times are minutes from midnight UTC. Angular inputs to trigonometric functions are converted to radians; arccos is converted back to degrees. Sunrise and sunset use Z = 90.833°. For evening 8.5° nightfall, Z = 98.5°. If q lies outside [−1, 1], that event is unavailable. Solar terms are evaluated near local noon, then recalculated at the estimated event time.

GRA: sunrise to sunset

Let r be calculated sunrise and s calculated sunset. D is the elapsed daylight duration; τ is one proportional hour. One fixed minute equals 60 seconds.

D = s − r
τ_GRA = D / 12
Shema_GRA = r + 3τ_GRA
Shacharit_GRA = r + 4τ_GRA
Chatzot = r + 6τ_GRA
Mincha_Gedolah = r + 6.5τ_GRA
Mincha_Ketanah = r + 9.5τ_GRA
Plag = r + 10.75τ_GRA

MGA: 72 fixed minutes at each end

For the website’s symmetric 72-minute convention, a and b are the extended day’s endpoints. This variant uses fixed clock minutes, not seasonal minutes.

a = r − 72 min
b = s + 72 min
τ_MGA = (b − a) / 12
      = (D + 144 min) / 12
      = τ_GRA + 12 min
Shema_MGA = a + 3τ_MGA
          = r − 72 min + 3(τ_GRA + 12 min)
          = Shema_GRA − 36 min

The 36-minute difference follows algebraically from this specific convention. Other MGA definitions, including angle-based and seasonal-minute variants, do not generally produce the same difference.

03 · NUMERICAL EXAMPLE

Worked example

Select a city and date. The example calculates sunrise, sunset, proportional hours (sha’ot zmaniot), and Shema deadlines using the website’s engine.

Loading the worked example…

04 · METHODS

Website calculation rules

These are the fixed conventions used by this website calculator. In the calculator, “Show methods” also displays the rule beside each time.

Website methods · sea-level horizon, without local terrain
TimeCalculation rule
Dawn · Alot72 fixed clock minutes before sunrise.
MisheyakirThe sun’s center is 11.5° below the horizon in the morning.
Sunrise · NetzSolar zenith 90.833° in the morning.
Latest Shema · GRASunrise + 3 proportional hours of the sunrise-to-sunset day.
Latest Shema · MGAThe extended day runs from 72 fixed minutes before sunrise to 72 fixed minutes after sunset. Divide it by 12; add 3 of those hours to its beginning.
Latest Shacharit · GRASunrise + 4 proportional hours.
Midday · ChatzotThe midpoint between calculated sunrise and sunset: 6 proportional hours after sunrise.
Mincha GedolahSunrise + 6.5 proportional hours.
Mincha KetanahSunrise + 9.5 proportional hours.
Plag HaMinchaSunrise + 10.75 proportional hours.
Sunset · ShkiahSolar zenith 90.833° in the evening.
Nightfall · TzeitThe sun’s center is 8.5° below the horizon in the evening.
Shabbat candle lightingFriday sunset − 18 minutes. Your community may use a different offset.
Shabbat ends · HavdalahSaturday’s 8.5° nightfall. Other communities use different angles or a fixed number of minutes.

GRA refers to the Vilna Gaon’s sunrise-to-sunset convention; MGA refers to Magen Avraham. “MGA” alone does not specify how dawn and the end of the day are calculated. Here it explicitly means the 72-fixed-minute variant. Its evening endpoint is separate from the 8.5° Tzeit shown above.

iPhone calculation settings

The app offers additional dawn and nightfall conventions, a location-specific elevation adjustment, and Shabbat candle-lighting and Havdalah settings. Review your choices in Settings. Choosing a siddur nusach is separate from choosing calculation methods; the website does not inherit your app settings.

Open the daily calculator ↗

05 · COMPARISON

Differences between calendars

Compare results using the same coordinates, date, time zone, elevation, calculation convention, and rounding policy.

  1. Match the place and date.Use the same coordinates, calendar date, and local time zone. With manual coordinates or browser location, verify the time zone explicitly.
  2. Match the method.Check GRA or MGA, fixed or seasonal minutes, the twilight angle, and the candle-lighting or Havdalah offset. Two entries both labeled “nightfall” can use different definitions.
  3. Match elevation and rounding.This website uses a sea-level horizon. A calendar using elevation, an observed horizon, or different whole-minute rounding may show another time.
  4. Follow your community’s practice.Ask your rabbi which convention to use. If a difference remains after matching the inputs, send us both results so we can investigate it.
Report a discrepancy ↗

Please include the city or coordinates, date, time zone, method, the Kavaná time, and the calendar you compared it with.

06 · ACCURACY

Accuracy and limitations

Horizon and atmosphere

Local hills, buildings, and changing atmospheric conditions can affect what you observe. This website does not model terrain or elevation. NOAA gives roughly one minute as a theoretical sunrise/sunset benchmark within ±72° latitude; that is not a measured accuracy guarantee for Kavaná or every derived zman.

Unavailable solar events

At high latitudes, sunrise, sunset, or a twilight angle may be unavailable on a given date. The website labels that result unavailable instead of substituting a different rule. Ask your community for the appropriate practice in those conditions.

07 · REFERENCES

References

Halachic texts specify timing principles. Technical references document solar calculations and particular conventions. These references do not constitute an endorsement of Kavaná.

Astronomy

NOAA · Solar Calculation Details ↗

The Meeus basis, refraction assumptions, and accuracy limits. NOAA’s online calculator is no longer maintained. Kavaná runs its own implementation locally and does not request times from NOAA.

Technical comparison

Hebcal · Zmanim method definitions ↗

Descriptions of solar angles, proportional hours, and variants such as MGA 72 minutes. These help compare definitions; the website’s times are computed by Kavaná’s own engine.

Implementation

Website calculation source code ↗

The exact JavaScript used by the daily calculator and the example on this page. It contains the solar equations and the rules listed above.

Solar orbital terms

The implementation derives the equation of time E and solar declination δ from the Julian date JD. T measures Julian centuries from J2000. ε is corrected obliquity, L apparent solar longitude, L₀ geometric mean longitude, M mean anomaly, and e orbital eccentricity.

T = (JD − 2451545) / 36525
δ = asin(sin ε · sin L)
y = tan²(ε / 2)
E = 4 · (180 / π) · [y sin(2L₀) − 2e sin M
  + 4ey sin M cos(2L₀) − ½y² sin(4L₀)
  − 1.25e² sin(2M)]

Trigonometric arguments are in radians. The factor 180 / π converts the equation’s angular result to degrees; the factor 4 converts degrees to minutes of time. The date-dependent coefficients and the second event-time pass are available in the linked calculation source code.

Methods checked against the website implementation · October 18, 2026