How to Use the Days in Month Calculator: Steps and a Worked Example
Find the number of days in a month for a given year. This guide shows what to enter, a worked example with real numbers, and the limits to keep in mind. The Days in Month Calculator tool is free, needs no account and runs in your browser.
What you need
- Year, for example 2026
- Month (1-12), for example 1
Step by step
- Open the Days in Month Calculator tool.
- Fill in Year.
- Fill in Month (1-12).
- Read the result, which updates as soon as the inputs change.
Worked example
With these inputs:
- Year: 2026
- Month (1-12): 1
the tool returns:
31 days
How it works
Calendar month length, including leap-year February. Enter a year and a month number from 1 for January to 12 for December. The tool returns 28, 29, 30 or 31.
Things to keep in mind
Uses the Gregorian calendar, which applies to all modern dates.
Related tools
If this is not quite what you need, try Working Days per Month Calculator, Add Days to Date or Business Days Calculator.