Home · Date & Time · Calendars & Cycles · Calendar Calculator
Calendar Calculator
Look up any month in any year: how many days it has, which weekday the 1st falls on, and how many week rows the month spans on a Monday-first calendar.
What this calculator does
Look up any month in any year: how many days it has, which weekday the 1st falls on, and how many week rows the month spans on a Monday-first calendar. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Weeks in the grid start on Monday; leading blanks are the empty cells before the 1st.
Weeks spanned = the number of seven-day rows needed to hold the leading blanks plus every day of the month, from 4 to 6.
Leap years follow the Gregorian rule: divisible by 4, except centuries not divisible by 400.
Worked example
With the example inputs this page opens with (month (1–12) 11, year 2026), the result is 30 days — days in nov 2026.
Quick reference
| Mon | Tue | Wed | Thu | Fri | Sat | Sun |
|---|---|---|---|---|---|---|
| · | · | · | · | · | · | 1 |
| 2 | 3 | 4 | 5 | 6 | 7 | 8 |
| 9 | 10 | 11 | 12 | 13 | 14 | 15 |
| 16 | 17 | 18 | 19 | 20 | 21 | 22 |
| 23 | 24 | 25 | 26 | 27 | 28 | 29 |
| 30 | · | · | · | · | · | · |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
Which months have 31 days?
January, March, May, July, August, October and December. April, June, September and November have 30, and February has 28 or 29.
Why do some months span six week rows?
A 31-day month starting on a Saturday or Sunday (in a Monday-first grid) needs six rows: the first row is mostly blanks and the last days spill into a sixth week.
How does the Calendar Calculator work?
Look up any month in any year: how many days it has, which weekday the 1st falls on, and how many week rows the month spans on a Monday-first calendar. Month · Year → Days in the month and its layout facts. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Calendar Calculator need?
Month · Year → Days in the month and its layout facts. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.