Calendar & Leap Years

Days In Month Calculator

Find the length of a selected month.

--
days

--

Business Days
0
Weekend Days
0
Weeks
0.0
Total Hours
0 h

How Days In Month Calculator Works?

The Days in Month Calculator works by reading the fixed length of the chosen month and checking the leap-year rule for February.

  1. 1

    Pick the month

    Choose any month.

  2. 2

    Pick the year

    The year matters only for February.

  3. 3

    Apply the month rule

    April, June, September and November have 30 days. February has 28 or 29. All other months have 31.

  4. 4

    Read the length

    The result shows days, weeks and weekdays for the month.

Days In Month Calculator Formula

The Days in Month formula is Days = 31, 30 or 28 + (1 if leap year), based on the month.

Days(M) = 31 for M ∈ {1, 3, 5, 7, 8, 10, 12}
Days(M) = 30 for M ∈ {4, 6, 9, 11}
Days(2) = 28 + (1 if leap year)
M:
Month number

Example: February 2026 has 28 days, and February 2028 has 29 days. August always has 31 days.

Days In Month Calculator Conversion Table

The table lists the length of each month in hours and weeks for 2026.

MonthDaysWeeksHoursMinutes
January314.4374444,640
February284.0067240,320
March314.4374444,640
April304.2972043,200
May314.4374444,640
June304.2972043,200
July314.4374444,640
August314.4374444,640
September304.2972043,200
October314.4374444,640
November304.2972043,200
December314.4374444,640

What is Days In Month Calculator?

A Days in Month Calculator is a tool that returns the number of days in a chosen month and year.

The Gregorian calendar has 7 months with 31 days, 4 months with 30 days and 1 month (February) with 28 or 29 days.

The knuckle method gives the same answer: count months across the knuckles and the gaps between them, and every knuckle month has 31 days.

What are the uses of Days In Month Calculator?

There are 5 main uses of the Days in Month Calculator, including rent proration, daily budgets and payroll.

  • Rent proration

    Landlords divide monthly rent by the days in the month.

  • Daily budgets

    Households divide monthly spending by days in the month.

  • Payroll

    Payroll teams calculate daily rates for partial months.

  • Interest

    Lenders calculate monthly interest using actual days.

  • Data validation

    Developers reject dates such as April 31.

Related Calendar & Leap Years Tools

View All 141 Tools →