Days in a month calculator

Choose the month and year to see whether it has 28, 29, 30 or 31 days, handy for daily rent or pro-rata pay.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter year and month.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

January, March, May, July, August, October and December have 31 days; April, June, September and November have 30; February has 28, or 29 in a leap year.

Example

Inputs: Year = 2,026, Month = February. Result: Days in the month: 28; In weeks: 4 weeks; First day: Sunday.

Limits and caveats

  • It covers the Gregorian calendar only; a Hijri month has 29 or 30 days depending on the moon.

Questions about this tool

How many days are in February 2028?

29, because 2028 is a leap year that divides by 4 and not by 100.

Which months have 31 days?

Seven: January, March, May, July, August, October and December.

How do I work out daily rent?

Divide the monthly rent by the days in that month, so 3100 in a 31-day month is 100 a day.