Omni Calculator logo

Days Between Dates Calculator

Created by Adena Benn
Reviewed by Rijk de Wet
Last updated: Jan 18, 2024


This days between dates calculator will help you calculate how many days are between two given dates. For instance, if you are wondering how many days have passed since an event took place or the number of days until an event takes place, this how many days are there between two dates calculator is just what you need. As a bonus, you can express the results in seconds, minutes, hours, days, weeks, months, or years.

Keep reading to learn more about:

  • How to calculate the number of days between two dates; and
  • How to use our days between dates calculator.

How to use our days between dates calculator

To use this days between dates calculator, you can:

  1. Click the calendar icon in the From field.
  2. Select the start date in the period you are trying to count. Use the arrow keys to change the year and month.
  3. Click the calendar icon in the To field.
  4. Choose the end date.
  5. In the Time between field, this answer will be expressed in days by default.
  6. You may click on the day option to change day to a unit that best suit your need.

🔎 When used this way, the calculation does not include the last day. So, if you wish to include the last day in your calculation, you need to switch to advanced mode. By selecting Yes for the Include end date option, our days between dates calculator will include the end date in the calculation.

What is the method used to calculate how many days there are between two dates?

If you wish to learn more about how to calculate the days between two dates by hand, follow these steps. For example, if you were born on September 5th, 1970, and you want to work out how old you are in days as of June 5th, 2022.

  1. Subtract the start year from the end year. Since September 2022 has not yet arrived, we know the last complete year is September 2021, so we subtract: 2021 − 1970 = 51.

    • Convert the result to days: Each year is 365.25 days (we include the .25 to cater for leap years). The number of days in 51 years would be 365.25 × 51 = 18,627.75 days.
  2. Find the number of months from September 2021 to June 2022.

    • Month 12 − Month 9 = 3 months in 2021.
    • Month 6 − Month 1 + 1 = 6.
    • So the number of months is 9.
    • Multiply the average number of days in a month by our 9 months: 365.25/12 × 9 = 273.9375 days.
  3. Add the total number of days together and round the final answer: 18,627.75 + 273.9375 = 18,901.6875.

    Round down to get 18,901 — the number of days, not including the end date. Round up (18,902) to include the end date.

FAQ

How do I go about calculating the days between two dates?

To calculate the number of days between two dates, you need to subtract the start date from the end date.

  1. If this crosses several years, you should calculate the number of full years.
  2. For the period left over, work out the number of months.
  3. For the leftover period, work out the number of days.
  4. Convert these values to one unit over all periods (whether it's seconds, minutes, days, etc.).
  5. Finally, add all the values together.

How many days are there between the 4th and the 26th of July?

There are 22 days between the 4th and the 26th of July.

The number of days is the end date minus the start date:
Days = 26 − 4 = 22

If we want to include the end date, then we add 1 day to the result:
Days = 26 − 4 + 1 = 23

Adena Benn
Related calculators
From
To
Time between
days
Check out 32 similar time and date calculators ⏳
8-hour shiftAdd timeAge… 29 more
People also viewed…

Humans vs vampires

Vampire apocalypse calculator shows what would happen if vampires were among us using the predator - prey model.

Quit smoking and save

Quit Smoking and Save Calculator allows you to estimate your potential savings should you decide to quit smoking right away.

Snowman

The perfect snowman calculator uses math & science rules to help you design the snowman of your dreams!

Toothpaste

With our toothpaste calculator you can check a durability and cost of your toothpaste.