1. Home
  2. Dates & time
  3. Date Difference Calculator
Dates & time

Date Difference Calculator

Count the calendar days between two dates.

Your numbers

Results update as you type. Nothing you enter is sent anywhere.

Result

7 days

1 full weeks and 0 days.

Formula used

Absolute elapsed days = later date − earlier date

The Date Difference Calculator finds how far apart two dates are, in days and in full weeks plus leftover days. It suits planning questions that are naturally expressed in weeks, such as project timelines, training plans, notice periods and pregnancy or school-term counts.

How to use the Date Difference calculator

  1. Enter the two dates in Start date and End date. Either can be the earlier one.
  2. Read the headline number of elapsed days. The start date itself is not counted.
  3. Look at the detail line for the same span broken into full weeks and remaining days, for example '25 full weeks and 6 days'.

How the date difference calculation works

FormulaAbsolute elapsed days = later date − earlier date

Why weeks and days are shown together

Many schedules are written in weeks: a 12-week course, a 26-week lease, a 40-week due-date estimate. Dividing the day count by 7 gives a decimal that is hard to read, so the detail line splits it into whole weeks and leftover days. 181 days becomes 25 weeks and 6 days, because 25 × 7 = 175 and 181 − 175 = 6.

The same split tells you the weekday of the end date. If the start is a Thursday and the remainder is 6 days, the end falls on a Wednesday, since full weeks always land on the same weekday as the start.

What the count includes and leaves out

Every calendar day counts, including weekends and public holidays. Month lengths and leap days are taken from the real calendar, so a 'six-month' span can be anything from 181 to 184 days depending on which months it covers. If you need the span as years, months and days instead, the Age Calculator gives that breakdown for any two dates.

For working-day counts, use the Weekday Counter. For a target date a set number of days away, use the Add or Subtract Days Calculator rather than guessing from a difference.

Worked example

A six-month lease, 15 January to 15 July 2026

Start date: 2026-01-15 · End date: 2026-07-15

  1. January after the 15th: 31 − 15 = 16 days.
  2. February 28 + March 31 + April 30 + May 31 + June 30 = 150 days.
  3. July up to the 15th: 15 days. Total: 16 + 150 + 15 = 181 days.
  4. Weeks: 181 ÷ 7 = 25 full weeks (175 days) with 6 days left over.

Result: 181 days

Assumptions and limits

Counts elapsed days, excluding the start date; does not count business days or holidays.

Formula and worked examples last checked November 20, 2026. Spotted a problem? Report an error.

Frequently asked questions

How many days are in six months?

It depends on the months. January to July 2026 is 181 days, while July to January is 184 days because July, August, October and December all have 31 days. That is why contracts that need precision usually state an end date rather than a number of months.

How many weeks are between two dates?

Divide the days by 7. The detail line does this for you and shows the leftover days, so 100 days appears as 14 full weeks and 2 days.

Does the date difference include weekends?

Yes, every day on the calendar is counted. To count only Monday through Friday, use the Weekday Counter, which also excludes the start date and includes the end date.

What is the difference between this and Days Between Dates?

Both return the same day count. This calculator adds the weeks-and-days breakdown, which is handy for schedules planned in weeks.