How many days are in a month?
Pick a month and year to see exactly how many days it has, whether the year is a leap year, and which weekdays the month begins and ends on. It is handy for planning rotas, payroll periods, rent calculations and anyone who needs a quick, accurate month length.
How it works
The tool asks the calendar for the last day of the chosen month — internally, day 0 of the following month, which is the final day of the month you picked. That value is 28, 29, 30 or 31. It also checks whether the year is a leap year (divisible by 4, except century years which must be divisible by 400) and reports the weekday of the first and last day of the month.
Only February changes length: 29 days in a leap year, 28 otherwise. The other eleven months are fixed.
Example
For February 2024 (a leap year):
- Days: 29
- First day: Thursday
- Last day: Thursday
- Leap year: Yes
| Month | Days |
|---|---|
| Jan, Mar, May, Jul, Aug, Oct, Dec | 31 |
| Apr, Jun, Sep, Nov | 30 |
| Feb (common year) | 28 |
| Feb (leap year) | 29 |
Everything is calculated locally in your browser.