Days in Month Calculator

How many days are in any month of any year?

Ad placeholder (leaderboard)
Enjoying the tools? Go Pro for £4.99 (one-time) and remove all ads — forever, on this device. Remove ads — £4.99

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
MonthDays
Jan, Mar, May, Jul, Aug, Oct, Dec31
Apr, Jun, Sep, Nov30
Feb (common year)28
Feb (leap year)29

Everything is calculated locally in your browser.

Ad placeholder (rectangle)