CalculatorApps

Days between two dates

Count the days between two dates and see the difference in weeks and in years, months and days, with an option to include the end date.

Result

Updates as you type
Difference364 days
In weeks
52 weeks 0 days
In years, months, days
0 y, 11 m, 30 d
Approximate hours
8,736

Calculations run in your browser. Nothing you type is sent to us or stored.

About this calculator

Find how many days separate two dates: for notice periods, rent, project deadlines, interest calculations or counting down to an event. By default the calculator gives the standard difference (the end date is not counted). Switch on "count the end date too" when both the first and last days count, such as leave days.

Formula

Days = end date − start date, using calendar dates (no time zones or clock changes involved). Weeks are full 7-day blocks; the years-months-days figure counts completed calendar months.

Worked example

From 1 January 2026 to 31 December 2026 there are 364 days; counting both the first and last day gives 365. From 1 January 2028 to 1 January 2029 there are 366 days because 2028 is a leap year.

Good to know

  • For a period stated as "30 days from" a date, add 30 days to the start date; for "within 30 days including today", count the start date as day 1.

Frequently asked questions

Does it include the start date?

The standard difference counts the days in between plus the end date as the boundary. If you need both dates counted, choose "Yes".

Can the end date be before the start date?

Yes. The calculator shows the size of the gap either way.

Embed this calculator on your website (free)

Copy the code below into any HTML block. The calculator runs inside the frame, carries no ads, and keeps working when we update the rules. Please keep the credit line visible. See all free calculator widgets.

Related calculators