Days in Month Calculator
Find how many days a given month has, with the weekday breakdown and the number of working days in it.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Days in Month Calculator does
The days in month calculator on this page will find how many days a given month has, with the weekday breakdown and the number of working days in it. Fill in all 2 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for checking whether a February has 28 or 29 days. We run a second free tools site as well — FreeToolsWorld.org.
How to use it
- Enter the year and the month number.
- Read the day count and the weekday breakdown.
- The weekday count is an exact calendar walk, not an estimate.
How it works
The month lengths follow no pattern worth memorising and the knuckle mnemonic exists because of it. The irregularity is Roman: the calendar was reformed repeatedly, July and August were renamed after Julius and Augustus and lengthened to match each other, and February was left as the short month that absorbs the leap day.
The implementation trick here is worth knowing: asking for day 0 of the following month gives the last day of the current one, which avoids hard-coding any table of month lengths and handles leap years automatically.
The weekday count is an exact walk of the calendar rather than an estimate, which matters because a 31-day month can have 21, 22 or 23 weekdays depending on which day it starts. Payroll and billing periods based on working days vary noticeably month to month for that reason.
Public holidays are not included, because they differ by country, by region within a country, and by year. The business days calculator takes them as an input.
When to use it
- Checking whether a February has 28 or 29 days.
- Counting working days in a month for payroll or billing.
- Planning a monthly schedule around the weekday count.
- Finding which weekday a month starts on.
Common mistakes to avoid
- Assuming every month has the same number of weekdays. A 31-day month can have 21 to 23.
- Forgetting public holidays, which this does not include.
- Using 30 days as a generic month length in financial arithmetic where exact days matter.
Frequently asked questions
How many days in February 2026?
28. 2026 is not a leap year, as it is not divisible by 4.
How many working days are in a month?
Between 20 and 23, depending on the month length and which weekday it starts on, before public holidays are deducted.
Why do month lengths vary?
Roman calendar history. July and August were lengthened to match each other after being renamed for Julius and Augustus, and February absorbed the shortfall and the leap day.