Days Calculator 📅 (Days Between Dates) (2024)

Use this days calculator to easily calculate the number of days between two dates. Find out how many days are between calendar dates, number of days since an event or from a given date. The date difference calculator also outputs weeks between dates, months and years between dates.

Quick navigation:

  1. How to do days calculations
  2. How many days are between two dates?
  • Calendar days
  • Weekdays
  • Working days
  • Time between dates
    • Weeks between dates
    • Months between dates
    • Years between dates
  • What calendar do we use?
  • How to do days calculations

    Sometimes you just need to find out how many days you have to finish an assignment or how long a trip is going to be. Using this days between dates calculator is easy and quick as long as you have the first and the last date of the period of time you are interested in. You can choose whether to include the last day in the calculations or not.

    Example: You need to find out how many days are between June 23rd and September 15th 2022. If you choose to exclude the final day, the result will be 84 days. If you wish to include the last day in the result, this would be 84+1, resulting in 85 days total.

    This days calculator can be used to find the number of days between any two calendar dates e.g. days since a date in past till today, or days from a given date till now. Wondering how many days are between Thanksgiving and Independence day? How many days between Halloween and Thanksgiving? Our tool has the answers - simply enter the two dates of interest.

    How many days are between two dates?

    It may look like a simple question, but the answer actually depends on the definition of what is meant by a "day" in the context of the question. There are three most common approaches required in most problems of calculating the time between dates.

    Calendar days

    With calendar days one needs to simply calculate how many days there are between the given dates. The math is straightforward with the only complications arising when the time span includes the end of one or more years. That complication is factoring in leap years. Leap years are years with an extra day (versus a regular year) and are necessary in order to keep the calendar in alignment with Earth’s revolutions around the Sun, as it takes about 365 days, 5 hours and 48 minutes for Earth to make a full circle. If leap years are not calculated into the calendar, we would lose about 24 days every 100 years [2].

    Say you are an expecting parent and today is the first day of November. If the due date is before the end of February next year then leap years do not matter, but if it is after that they may. If the following year is a leap one, then there would be one extra day between now and the due date as opposed to if it was a typical year. This how many days calculator does take into account leap years automatically and so does our counter for the count of days between two dates.


    In some scenarios one is only interested in how many weekdays there are between two dates. This happens in business when one may state a contract term or offer to perform a given service in N weekdays. However, it is more common to state such terms in business days, as discussed below.

    Working days

    It is common for business contracts to state the execution time for a certain amount of work, or the delivery terms for goods or services in terms of business days, otherwise known as working days or "bank days" in some cases. While it varies by country, in general working days include all weekdays minus any official holidays such as those due to important state or religious holidays.

    Time between dates

    While calculating how many days are there between dates, it is a bit more complicated when other time measurement units are concerned. Here is how to convert the time between dates into weeks, months, years, and even centuries.

    Weeks between dates

    Starting from the number of days between the dates, it is very easy to find the number of weeks between them since a week has a strict definition that does not change depending on the calendar time. Simply divide the number of days by seven. For example, if there are 28 days between two dates, the number of weeks is calculated as 28 / 7 = 4 full weeks.

    Months between dates

    To find out the number of months between two dates, one needs to consider the order in which months duration changes, as well as leap years. Some months have 31 days, other 30, and February has either 28 or 29 days depending on it being a leap year or not. For more details see our months between dates calculator.

    Years between dates

    The number of years between any two dates is a bit easier to calculate. A year has either 365 days for a regular year or 366 days for a leap year. You can use a leap year calculator to count the number of leap years between the days. To calculate the number of years from the days between the dates:

    1. Multiply the number of leap years by 365
    2. Subtract the result from the number of days
    3. Divide the remaining number by 365 and add it up with the number of leap years

    What calendar do we use?

    There are three main kinds of calendars currently being used around the world: solar, lunar and solilunar or lunisolar. The date calculator is based on the Gregorian calendar, which contains 365 days in a typical year and 366 in a leap year. This is a solar calendar named after Pope Gregory XIII who introduced it in 1582. It was first used in Catholic countries in Europe, consequently replacing the Julian calendar (introduced earlier by Julius Caesar) which it is based on, the Islamic, and others. Greece was the last European country to adopt it in in 1923, while it was adopted in the British Empire and most of its colonies, including American, in 1752.

    The calendar is currently used throughout most of the world. Some countries have chosen to modify it, others use it alongside their old calendars. There are only a few who have not adopted it at all to this point.

    Most countries use the Gregorian as their civil calendar, which means it is used for general everyday purposes: administrative, civil, and official. Typically these countries would also have other calendars used simultaneously, such as ones based on religion (Christian Orthodox, Catholic, Islamic, Hebrew, etc.).

    There are about forty calendars in the world, including the Chinese, the Persian, the Mayan, the Egyptian, the Islamic, the Bulgar, the Hijri, the Roman [1].

    Days Calculator 📅 (Days Between Dates) (1)

    Due to the change in calendars in the West, there exist the terms Old Style (OS) and New Style (NS). They are found in history books where historians are referring to past events which took place when the Julian calendar was used.

    Not remembering the length of all months or not knowing whether a particular year is a leap year or not may hinder you when trying to calculate days between dates. This tool covers all of these issues and all you need to know is the first and last date of the time interval you are interested in to accurately count days.


    1 Calendars. (n.d.). In Wikipedia. Available at

    2 "What Is a Leap Year?". Available at

    Days Calculator 📅 (Days Between Dates) (2024)


    How to calculate days difference between two dates? ›

    Let us explore various methods to calculate the duration between two dates.
    1. Method 1: Subtract the two dates. ...
    2. Method 2: Subtract the years. ...
    3. Method 3: Using the YEARFRAC function. ...
    4. Method 4: Using DATEDIF function.

    How to calculate days between two dates in Excel? ›

    To find the number of days between these two dates, you can enter “=B2-B1” (without the quotes into cell B3). Once you hit enter, Excel will automatically calculate the number of days between the two dates entered. Note that Excel recognizes leap years.

    What is the formula for the number of dates between two dates? ›

    e.g., start date in cell A1 and end date in cell B1, use the formula =B1 - A1.

    Can Excel calculate working days between two dates? ›

    The NETWORKDAYS Function[1] calculates the number of workdays between two dates in Excel. When using the function, the number of weekends are automatically excluded. It also allows you to skip specified holidays and only count business days.

    How to calculate the number of days between two dates manually? ›

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

    How to calculate days worked? ›

    In the simplest of terms, to calculate the number of days worked, first determine the number of hours worked and then divide those hours by the SWD.

    How do I calculate the average number of days between two dates in Excel? ›

    Calculate number of days between dates in Excel with DATEDIF

    Another way to count days between dates in Excel is by using the DATEDIF function, which is specially designed to work out the date difference in various units, including days, months and years.

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

    Each function designed to calculate days between dates in Google Sheets has unique characteristics: DAYS function: Computes the difference between two dates. Simple syntax: =DAYS(end date, start date). DATEDIF function: Offers more detailed results, such as the difference in days, months, or years.

    How to calculate day from date? ›

    How to Find the Day of the Week for Any Date
    1. Take the last two digits of the year.
    2. Add to that one–quarter of those two digits (discard any remainder).
    3. Add to that the day of the month and the Month Key number for that month: Read Next. When Is Easter 2025? ...
    4. Divide the sum by 7. The remainder is the day of the week!
    May 6, 2024

    What is the formula to calculate number of months and days between two dates? ›

    For example, if you need to calculate the number of months and days between two dates, you can use the formula =DATEDIF(start_date, end_date, "m") & " months and " & DAY(end_date - DATE(YEAR(end_date), MONTH(end_date) - 1, 1)) & " days" .

    How to calculate the time of years between two dates? ›

    But it's straightforward to calculate the number of whole years between two dates:
    1. Take the year number of the current date. That's 2022, in this example.
    2. Then take the year number of the date in the past. 2013, in this case.
    3. Subtract 2013 away from 2022.
    4. The result is 9 years.
    Jan 18, 2024

    How do you calculate the time difference between two dates in Excel? ›

    Time Difference in Excel
    1. Enter the start date and time in cell A2 and hit Enter. ...
    2. Enter the end time in cell B2 and hit Enter.
    3. Enter the formula =B2-A2 in cell C2 and hit Enter. ...
    4. Right-click on C2 and select Format Cells. ...
    5. Choose the Custom category and type “h:mm”
    Apr 12, 2023

    How do you subtract days from a date in Excel? ›

    In cell A1, type 2/8/12. In cell B1, type =A1-15, and then press RETURN . This formula subtracts 15 days from the date in cell A1.

    What is the formula to count values between two dates? ›

    Using Excel COUNTIF function with dates
    CriteriaFormula Example
    Count dates equal to the specified date.=COUNTIF(B2:B10,"6/1/2014")
    Count dates greater than or equal to another date.=COUNTIF(B2:B10,">=6/1/2014")
    Count dates greater than or equal to a date in another cell, minus x days.=COUNTIF(B2:B10,">="&B2-"7")
    Mar 22, 2023

    How to do datediff in Excel? ›

    How to Use DATEDIF Excel Function? (With Steps)
    1. Open Excel. Open your Excel workbook where you want to use the DATEDIF function.
    2. Enter Your Dates. Enter the start date and end date in two separate cells. ...
    3. Select the Cell for the Result. ...
    4. Enter the DATEDIF Formula. ...
    5. Choose the Unit.
    Jun 5, 2024

    Top Articles
    Latest Posts
    Article information

    Author: Jamar Nader

    Last Updated:

    Views: 5625

    Rating: 4.4 / 5 (55 voted)

    Reviews: 86% of readers found this page helpful

    Author information

    Name: Jamar Nader

    Birthday: 1995-02-28

    Address: Apt. 536 6162 Reichel Greens, Port Zackaryside, CT 22682-9804

    Phone: +9958384818317

    Job: IT Representative

    Hobby: Scrapbooking, Hiking, Hunting, Kite flying, Blacksmithing, Video gaming, Foraging

    Introduction: My name is Jamar Nader, I am a fine, shiny, colorful, bright, nice, perfect, curious person who loves writing and wants to share my knowledge and understanding with you.