Days in Month Calculator

Find days in a month (leap-aware).

Calculate days in any month instantly. Free days-in-month checker with weekdays count.

Calculator Inputs

About Days in Month

Find days in a month (leap-aware).

Handles 28/29/30/31 including leap years.

Where it is used

Payroll, planning, billing.

How to use the Days in Month

  1. Month — enter the value.
  2. Year — enter the value (e.g. 2026).
  3. Calculate — press the Calculate button to see the result instantly above.

Formula

new Date(year, month, 0).getDate()

Examples

Feb 2026

month:2
year:2026
Result: February 2026 has 28 days

Frequently Asked Questions

Leap year?
Feb has 29 days if year is divisible by 4 (except centuries not by 400).