Days In Month Calculator
Find the length of a selected month.
--
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
Pick the month
Choose any month.
- 2
Pick the year
The year matters only for February.
- 3
Apply the month rule
April, June, September and November have 30 days. February has 28 or 29. All other months have 31.
- 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.
| Month | Days | Weeks | Hours | Minutes |
|---|---|---|---|---|
| January | 31 | 4.43 | 744 | 44,640 |
| February | 28 | 4.00 | 672 | 40,320 |
| March | 31 | 4.43 | 744 | 44,640 |
| April | 30 | 4.29 | 720 | 43,200 |
| May | 31 | 4.43 | 744 | 44,640 |
| June | 30 | 4.29 | 720 | 43,200 |
| July | 31 | 4.43 | 744 | 44,640 |
| August | 31 | 4.43 | 744 | 44,640 |
| September | 30 | 4.29 | 720 | 43,200 |
| October | 31 | 4.43 | 744 | 44,640 |
| November | 30 | 4.29 | 720 | 43,200 |
| December | 31 | 4.43 | 744 | 44,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 →Day Of Year Calculator
Find a date’s ordinal position within its year.
Day Of Year To Date Converter
Convert a year and ordinal day into a date.
Days In Year Calculator
Find the length of a selected year.
Leap Year Checker
Check whether a Gregorian year is a leap year.
Leap Years Between Dates Calculator
List leap years within a selected interval.
Leap Days Between Dates Calculator
Count February 29 dates within a range.