Days in Month Calculator

Find how many days are in any month of any year, plus which day of the week it starts and ends on.

  • Free to use
  • Accurate results
  • No registration required
  • Works on all devices
Choose a year and month to find how many days are in it, and which day of the week it starts and ends on.

Your result

28

Days in this month

First day of the monthSunday
Last day of the monthSaturday

AI explanation

Formula

Days in month derived from the Gregorian calendar, with February adjusted for leap years

Worked example

February 2026

Worked example: February 2026
FieldValue
Year2026
Month (1 = January ... 12 = December)2
Days in this month28
First day of the monthSunday
Last day of the monthSaturday

Assumptions

  • February's day count depends on whether the year is a leap year under the Gregorian calendar rule.

Frequently asked questions

How many days does February have in a leap year?

29 days, compared to 28 in a non-leap year — use the Leap Year Calculator to check whether a specific year is a leap year.

Why do month lengths vary (30 vs 31 days)?

The Gregorian calendar's month lengths are a historical convention dating back to the Roman calendar, alternating mostly between 30 and 31 days with February as the exception.

What is this useful for?

Planning billing cycles, rent calculations, or any schedule that depends on exact month length.

Related calculators

Related articles

Report a calculation issue