Article

Days Between Dates Calculator: How to Count the Days

You find the difference between two dates by subtracting calendar day numbers, and you can write the result in days, weeks, or years, months and days. This article shows the methods, the effect of the end date and of leap years, and four worked examples. You can check your own dates in the days between dates calculator. From January 15 to December 25, 2026 there are 344 days.

Last updated:

Count the days between two dates in the days between dates calculator. For working days use the business days calculator.

How to find the number of days between two dates

The difference between dates is the number of calendar days from the start to the end. The simplest method is to subtract day numbers counted from a common point, such as the start of the year.

days = day number of the end − day number of the start
example: 359 − 15 = 344 days (December 25 is day 359 of the year, January 15 is day 15)

When the dates are in different years, add the days of the whole years in between. A common year has 365 days and a leap year 366. From February 28 to March 1, 2024 there are 2 days, and in 2025 only 1.

The span between two datesA timeline from January 15, 2026 to December 25, 2026 marked with 344 days.StartJan 15, 2026EndDec 25, 2026344 days49 weeks 1 day
The span from January 15 to December 25, 2026 is 344 days, which is 49 weeks and 1 day. The end date is not added.

Try it with an example

Example: from January 15 to December 25, 2026. Both dates are already stored in the link to the calculator.

Start date
Jan 15, 2026
End date
Dec 25, 2026
Result
344 days = 49 weeks and 1 day = 0 years, 11 months, 10 days

Open the calculator with these numbers

The calculator reads the values from the page address and shows the result right away. You can change them freely.

How the calculator works

The calculator counts calendar days in UTC and by default reports elapsed days without adding the end date. The “include the end date” option adds one day. It also shows the span in years, months and days, weeks with a remainder, the number of February 29s in the span and the weekday of both dates. Weekends and holidays stay in the total. It ignores hours and time zones, so a separate calculator handles business days.

With and without the end date

There are two ways to count. Elapsed days are the plain difference, so from December 1 to December 31 there are 30 days. When you count the length of an event, such as a vacation from December 1 to December 31, you count both ends and get 31 days.

PeriodElapsed daysEnd date included
December 1–31, 20263031
December 5, 2026 – January 1, 20272728
January 1 – December 31, 2026364365

The difference in weeks, months and years

You turn days into weeks by dividing by 7: 344 days is 49 weeks and 1 day. The years-months-days form follows the calendar, so January 15 to December 25, 2026 is 0 years, 11 months and 10 days. That is not the same as days divided by 365.25.

Age is counted the same way, as explained in How to Calculate Age from Date of Birth. Hours and minutes within a day are covered in How to Calculate Hours Worked.

Leap years and February 29

A leap year has an extra day, February 29. A year is a leap year when it is divisible by 4, except for years divisible by 100 and not by 400, so 2024 is a leap year, 2100 is not, and 2000 is. The calculator reports how many times February 29 falls in the span.

For example, from January 1, 2024 to January 1, 2025 there are 366 days, and from January 1, 2025 to January 1, 2026 there are 365 days.

Where counting days between dates helps

The number of days matters for payment terms, notice periods, warranties and countdowns. To add days to a date use the add days to date calculator, and for countdowns the countdown to date calculator.

At work the business days calculator, the week number calculator and the age calculator help. Interest for late payment by number of days is in the late payment interest calculator.

Four worked examples

You can repeat each example in the days between dates calculator.

1. January 15 to December 25, 2026

The difference without the end date.

  1. Enter both dates.
  2. Subtract the day numbers: 359 − 15.
  3. The result is 344 days.
  4. That is 49 weeks and 1 day, or 0 years, 11 months and 10 days.

2. A vacation from December 1 to 31, 2026

The end date counted.

  1. Enter both dates and tick the option to include the end date.
  2. The difference is 30 days.
  3. Add the end date.
  4. The vacation lasts 31 days.

3. February 28 to March 1

The effect of a leap year.

  1. In 2024 the difference is 2 days, because February 29 exists.
  2. In 2025 the difference is 1 day.
  3. The calculator shows the number of February 29s in the span.
  4. So a leap year changes the result by one day.

4. December 5, 2026 to January 1, 2027

A countdown to New Year.

  1. Enter both dates.
  2. Count the days left in December: 31 − 5 = 26.
  3. Add 1 day of January.
  4. The result is 27 days, which is 3 weeks and 6 days.

Common mistakes when counting days between dates

  • Leaving out or double counting the end date — decide first whether you count elapsed days or the length of an event.
  • Assuming every month has 30 days — months have 28 to 31 days.
  • Forgetting February 29 — in a leap year February has 29 days.
  • Dividing days by 30 to get months — the months form follows the calendar.
  • Swapping the dates — a negative result means the end is before the start.
  • Counting weekends as working days — a date difference includes every day.
  • Ignoring time zones — the calculator counts whole calendar days in UTC.

Frequently asked questions

How do you calculate the days between two dates?

Subtract the calendar day numbers. From January 15 to December 25, 2026 the result is 344 days.

Is the end date counted?

Not by default, because the result is elapsed days. To count both ends, add one day.

How many days are there from December 1 to 31?

Elapsed days are 30, and with the end date 31.

How many weeks is 344 days?

Three hundred forty-four days is 49 weeks and 1 day.

How do you find the difference in years, months and days?

The calculator follows the calendar. From January 15 to December 25, 2026 it is 0 years, 11 months and 10 days.

Does the calculator account for leap years?

Yes. It counts real calendar days and reports how many times February 29 falls in the span.

Does the calculator count business days?

No. Weekends stay in the total, and business days are handled by a separate calculator.

How many days are left until New Year?

From December 5, 2026 to January 1, 2027 there are 27 days.

Count the days between your own dates

Enter two dates in the days between dates calculator, decide on the end date and read the result in days, weeks, and in years, months and days.

Next use the add days to date calculator or the business days calculator.