Days Between Two Dates Calculator

Find the exact number of days, weeks, and months between two dates, or find out how many days ago (or from now) a single date is.

Counts the plain difference between the two dates, the start date itself isn't counted as one of the days.

Result

Enter your date(s) and select Calculate.

How this is calculated

The total day count is the plain difference between your two dates. The years/months/days breakdown counts whole calendar months first, using the actual number of days in each month, not a flat assumption of 30, then whatever's left over becomes the days figure. When a date like January 31st doesn't have an equivalent in a shorter month, the calculation clamps to that month's last valid day, the same convention most calendar software uses. For the manual method, see How to Calculate the Days Between Two Dates by Hand, or for spreadsheet formulas, see Days and Months Between Dates in Excel or Google Sheets.

Frequently asked questions

How do I calculate the number of days between two dates?

Enter a start date and an end date above and select Calculate. The result shows the total number of days between them, along with a years, months, and days breakdown. The total day count is the plain difference between the two dates (end minus start), not counting the start date itself.

How is the years, months, and days breakdown calculated?

This calculator counts whole calendar months first, then whatever's left over becomes the days figure, using the actual number of days in each month rather than assuming every month has 30 days. When a date like January 31st doesn't have an equivalent day in a shorter month (like February), the calculation clamps to the last valid day of that month, the same convention most calendar software uses.

How many days ago was a date?

Switch to "Days since a date" mode above, enter the date, and the calculator compares it to today automatically. A past date shows how many days ago it was; a future date shows how many days from now it is.

Built and maintained by Ready Utilities, founded by Cedrick Reese, a retired veteran and web developer. Every formula and convention on this site is checked against real, current sources before publishing. This calculator runs entirely in your browser, nothing you enter is sent anywhere. Spot something that looks wrong? Let us know.

Related tools