ZmanimBar · Calculation methods

Every formula behind the 28 times.

ZmanimBar computes each halachic time on the device from the observer's own coordinates. This page is the full specification it is built from — the anchors, the temporal hours, the solar-depression angles, and which times appear on which days.

This is the same document the app is written against: when the page and the app disagree, that is a bug in the app.

Notation

The anchors every formula is measured from

Two solar days underpin everything. The GRA's is bounded by astronomical sunrise and sunset; the Magen Avraham's by dawn and dusk at 16.1° — symmetric in degrees rather than a fixed 72 minutes. Every temporal hour below is one twelfth of one of them.

SymbolMeaning
netz°Astronomical sunrise — the sun crosses the horizon (0°) on a flat plane, independent of elevation.
shkia°Astronomical sunset — the sun crosses the horizon (0°).
netz↑ / shkia↑Sunrise and sunset as seen from the observer's elevation (horizon dip).
GRA hour(shkia° − netz°) ÷ 12. Always astronomical, never the visible times.
alos 16.1°The sun 16.1° below the horizon before sunrise — dawn, the “72 minutes in degrees”.
tzeis 16.1°The sun 16.1° below the horizon after sunset.
MGA hour(tzeis 16.1° − alos 16.1°) ÷ 12. Symmetric in degrees.
  • Temporal hours are never measured from the visible sunrise or sunset. The GRA's hour runs between the sea-level times, the Magen Avraham's between the two 16.1° moments.
  • Elevation applies only at the horizon. It shifts the visible sunrise and sunset; the sea-level times and every angle-based time are unaffected. There is no setting to get wrong.

The list

28 times, and when each one appears

17 of the 28 are shown every day. The other 11 belong to a particular day — the chametz times to erev Pesach, musaf to Shabbat and Rosh Chodesh, and so on — and the app shows them only then, so an ordinary weekday list stays short.

Before sunrise, and sunrise itself

#TimeWhat it isFormulaWhen it appears
1Alos HaShachar — stringentEarly dawn, the 90-minute measure expressed in degreessun 19.8° below the horizonEvery day
2Alos HaShachar — primaryDawn, the 72-minute measure in degrees; the start of the MGA daysun 16.1° below the horizonEvery day
3Misheyakir — tzitzit & tefillin“When you can recognise your friend” — about an hour before sunrisesun 11.5° below the horizonEvery day
4Sunrise — sea level (mishor)Astronomical sunrise on a flat planenetz° (0°, sea level)Every day
5Sunrise — visible (nireh)Sunrise as seen from your elevation, therefore earliernetz↑ (0° + horizon dip)Every day

The end of the morning times

#TimeWhat it isFormulaWhen it appears
6Sof zman kriat shema — MGAEnd of the third hour from dawn (72)alos 16.1° + 3 × MGA hourEvery day
7Sof zman kriat shema — GRAEnd of the third hour from sunrisenetz° + 3 × GRA hourEvery day
8Sof zman tefila — MGAEnd of the fourth houralos 16.1° + 4 × MGA hourEvery day
9Sof zman tefila — GRAEnd of the fourth hournetz° + 4 × GRA hourEvery day
10End of eating chametz — MGAEnd of the fourth hour — the same moment as sof zman tefilaalos 16.1° + 4 × MGA hourErev Pesach
11End of eating chametz — GRAEnd of the fourth hournetz° + 4 × GRA hourErev Pesach
12End of biur chametz — MGAEnd of the fifth houralos 16.1° + 5 × MGA hourErev Pesach
13End of biur chametz — GRAEnd of the fifth hournetz° + 5 × GRA hourErev Pesach

Midday and the afternoon

#TimeWhat it isFormulaWhen it appears
14Chatzos — midday and midnightThe sun at the middle of its arcmidpoint of netz° and shkia°Every day
15Mincha GedolaHalf an hour after middaynetz° + 6.5 × GRA hourEvery day
16Sof zman musafEnd of the seventh hournetz° + 7 × GRA hourShabbat · Yom Tov · Rosh Chodesh · Chol HaMoed
17End of a bread meal (erev Shabbat)End of the ninth hour — so as not to spoil the Shabbat mealnetz° + 9 × GRA hourErev Shabbat / Yom Tov
18Mincha KetanaNine and a half hoursnetz° + 9.5 × GRA hourEvery day
19Plag HaMinchaTen and three quarter hoursnetz° + 10.75 × GRA hourEvery day

Sunset, nightfall and candle lighting

#TimeWhat it isFormulaWhen it appears
20Sunset — sea level (mishor)Astronomical sunset on a flat planeshkia° (0°, sea level)Every day
21Sunset — visible (nireh)Sunset as seen from your elevation, therefore latershkia↑Every day
22Tzeis HaKochavim — MaarivNightfall for a weekday Maariv (three quarters of a mil)sun 4.61° after sunsetEvery day
22+End of the fastThe stringent moment for ending a fastsun 6.45° after sunsetThe four minor fasts
23Tzeis HaKochavim — ShabbatThe stringent nightfall, the practice in Eretz Yisraelsun 8.5° after sunsetShabbat / Yom Tov and its eve
24Tzeis HaKochavim — Chazon IshThe Chazon Ish's measuresun 9.28° after sunsetEvery day
25Tzeis Rabbeinu Tam — fixed minutes72 clock minutes after the visible sunsetshkia↑ + 72 fixed minutesShabbat / Yom Tov
26Tzeis Rabbeinu Tam — degrees72 minutes expressed in degrees after astronomical sunsetsun 16.1° after sunsetShabbat / Yom Tov
27Candle lightingBefore sunset, by the custom of the cityshkia° − (40 / 30 / 22 min)Erev Shabbat / Yom Tov

Candle lighting — minutes by city

MinutesCities
40Jerusalem, Beitar Illit
22Gush Dan (Tel Aviv, Bnei Brak, Ramat Gan, Holon, Bat Yam, Petach Tikva) and Ashdod
30Everywhere else in Israel — the default
18Outside Israel

Decisions

Three choices that are not the library's defaults

  • The GRA's hours are always astronomical. They are measured between sea-level sunrise and sea-level sunset, never between the visible ones — so your elevation changes the sunrise you see, but not the hour that divides the day.
  • The Magen Avraham's hours are symmetric 16.1°. Dawn and dusk are taken at the same depression angle rather than a fixed 72 minutes, which keeps the measure honest away from Israel and across the seasons.
  • Nightfall is stated by explicit angle. 4.61°, 6.45°, 8.5°, 9.28° and 16.1° are each shown for what they are, instead of collapsing them into one default. An angle means the same thing at every latitude; a fixed number of minutes does not.

These times are computed, and they vary with place, elevation and season. For practical halacha follow a reliable printed luach and your own posek.

Contact

Corrections are welcome

If a formula here is wrong, or a time should appear on a day it does not, write — it reaches the developer directly.

support@bdtech.app