Last Day of Month Calculator

Find month-end date.

Find the last day of any month instantly. Free month-end date calculator.

Calculator Inputs

About Month End

Find month-end date.

Uses day-zero trick: day 0 of next month is last day of current.

Where it is used

Billing close, reporting cycles.

How to use the Month End

  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) gives last day of that month.

Examples

Feb 2026

month:2
year:2026
Result: Last day of month 2/2026: 2026-02-28

Frequently Asked Questions

Leap Feb?
2024 → Feb 29, 2026 → Feb 28.