My Tools Garage

Days in Month

How many days are in any month, leap years included.

in-browser

How to use

  1. 1 Enter the year you are interested in.
  2. 2 Choose the month from the dropdown.
  3. 3 Read the day count and whether the year is a leap year.
  4. 4 Scan the full-year table for every month at once.

About Days in Month

The Days in Month tool answers a deceptively simple question that trips people up surprisingly often: how many days does a given month have? Pick a year and a month and it tells you the exact day count — 31 for January, 30 for April, and either 28 or 29 for February depending on whether the year is a leap year.

It also states plainly whether the year you chose is a leap year at all, so you never have to remember the rule.

That rule, by the way, is the proleptic Gregorian one: a year is a leap year if it is divisible by 4, except for century years, which must be divisible by 400.

So 2000 was a leap year but 1900 was not, and the tool applies this correctly for any year you enter, past or future.

Alongside the single-month answer you get a tidy month-by-month table for the whole year, which is useful for planning calendars, scheduling, payroll periods or billing cycles where the exact number of days in each month matters.

All calculations run locally in your browser with no dates uploaded or stored, and the tool works offline once the page has loaded.

FAQ

How does the tool decide if a year is a leap year?

It uses the Gregorian rule: a year is a leap year if it is divisible by 4, but century years (like 1900) are only leap years if also divisible by 400. So 2000 is a leap year and 1900 is not.

Does it work for years far in the past or future?

Yes. The leap-year rule is applied consistently to any whole-number year you enter, so it works for historical and future dates alike.