SUITE TOOLS
What's new100% in your browser

How to calculate the days between two dates

How many days until a holiday, how long since you started a job, exactly how old someone is: counting days by hand on a calendar is slow and easy to get wrong, especially across months of different lengths and leap years. Here is how to do it in seconds, with examples and the rules that cause most mistakes.

Step by step

  1. Open the Date and Age Calculator.
  2. Pick the start date. For an age, use the date of birth.
  3. Pick the end date, or tap "Use today as end date".
  4. Read the result in days, in weeks, and in years, months and days.

Examples

The rules that trip people up

What people use it for

What the calculator does not do

It does not add days to a date (for example "30 days from today"). Pick today as the start and try end dates until you reach 30, or use a calendar. It also does not count working days or hours.

Questions

Why does my count differ by one day?

Because one of the two counts includes both the first and the last day. The calculator counts the difference, like most spreadsheets: from the 1st to the 2nd is one day.

Can the end date be before the start date?

Yes. The days and weeks then appear with a minus sign.

Does it work for dates long ago?

Yes, with the calendar used today in most of the world. Very old dates, before countries changed calendars, may need historical adjustment.

Is anything saved?

No. Everything is calculated in your browser.