Calculator: Monday-first month grid

Enter the labelled inputs to calculate: Days in the month; Weekday of the first day (ISO 1–7); Week rows; Calendar: Monday → Sunday.

Days in the month
28
Weekday of the first day (ISO 1–7)
7
Week rows
5
Calendar: Monday → Sunday
· · · · · · 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 ·

How the calculation works

w₀=(weekday(D₀)+6) mod7; rows=⌈(w₀+N)/7⌉

The proleptic Gregorian calendar is used for years 1–9999, including its leap-year rules. Weeks run from Monday to Sunday; ISO weekday numbers are 1–7. The dot marks a cell outside the selected month. Time zones and daylight saving do not change this date grid.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

w₀=(weekday(D₀)+6) mod7; rows=⌈(w₀+N)/7⌉

What assumptions apply?

The proleptic Gregorian calendar is used for years 1–9999, including its leap-year rules. Weeks run from Monday to Sunday; ISO weekday numbers are 1–7. The dot marks a cell outside the selected month. Time zones and daylight saving do not change this date grid.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Also try:

Back to category →