StatGardenREF. DESK
Calculators/Everyday/Days in a Month Calculator
Everyday

Days in a Month Calculator

How many days a given month has, including whether a February falls in a leap year.

Published 26 August 2026

What this calculator does

Most months have a fixed length that never changes, but it is easy to blank on the exact number when planning a billing cycle, a due date or a roster. This calculator answers how many days in Jan, June, November or any other month, and handles the one month that genuinely varies: February.

February has 28 days in a normal year and 29 in a leap year. A leap year is any year divisible by 4, except century years (divisible by 100) unless they are also divisible by 400, which is why 2000 was a leap year but 1900 was not. Every other month keeps the same length every single year.

The formula

FormulaDays in month = fixed calendar length, with February = 29 in a leap year (divisible by 4, not by 100 unless also by 400)

Every month from March through January has a fixed number of days that never changes. February is the exception: it has 28 days, or 29 in a leap year. A year is a leap year if it divides evenly by 4, unless it also divides evenly by 100, in which case it is only a leap year if it divides evenly by 400 too.

TermMeaning
Leap yearA year with an extra day in February (29 instead of 28), added to keep the calendar aligned with the solar year.
Common yearAny year that is not a leap year, with 365 days total and 28 in February.

The inputs explained

FieldWhat to enter
MonthPick the month you want the day count for.
Year (only matters for February)Only affects the result if you selected February; ignored for every other month.

When to use it

Setting up a monthly billing cycle

Knowing exactly how many days fall in a given month avoids off-by-one errors when pro-rating a subscription or invoice that starts or ends partway through it.

Checking if a specific year is a leap year

Selecting February for any year instantly shows whether that year has the extra day, without having to work through the divisibility rule by hand.

Planning around February in advance

Anyone rostering shifts, booking travel or setting a recurring reminder for the end of February needs to know in advance whether it runs to the 28th or the 29th.

Worked examples

Every figure in the tables below is produced by this page’s own calculator at build time, so the numbers and the tool always agree. Select any row to load that scenario.

How many days does each month have?

Every month in a common year, for quick reference.

Calendar year 2026 (not a leap year)
MonthDays in the month
January31 days
February28 days
March31 days
April30 days
May31 days
June30 days
July31 days
August31 days
September30 days
October31 days
November30 days
December31 days
January has 31 days, and every month alternates in a fixed pattern except for February, which is fixed at 28 unless the selected year is a leap year.

Does February change length across nearby years?

February specifically, checked against a spread of years including two century years.

February, various years
YearDays in FebruaryIs it a leap year?
202328 daysNo
202429 daysYes
202528 daysNo
202829 daysYes
190028 daysNo
200029 daysYes
2024 and 2028 are leap years with 29 days in February; 2023 and 2025 are common years with 28. 1900 is not a leap year despite dividing evenly by 4, because it divides by 100 but not by 400; 2000 divides by both, so it is a leap year.

Questions

How many days in Jan?

January always has 31 days, regardless of the year. It is one of the seven months (along with March, May, July, August, October and December) fixed at 31 days.

Why does February change length?

The Earth actually takes about 365.24 days to orbit the sun, not an even 365. Adding a leap day to February roughly every four years keeps the calendar from slowly drifting out of sync with the seasons.

Is every year divisible by 4 a leap year?

Almost, but not quite. Century years (like 1900 or 2100) are the exception: they are only leap years if they also divide evenly by 400. That is why 2000 was a leap year but 1900 and 2100 are not.

How many days does a full year have?

A common year has 365 days and a leap year has 366, the extra day coming entirely from February having 29 days instead of 28.

To count the number of days between two specific dates rather than within one month, see the days calculator. For working out a date a set number of days or months from today, see the date months ago/from now calculator.