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.

    What is the formula for date working days? ›

    Enter the formula “=WORKDAY(start_date, num_days)” in the selected cell. Replace “start_date” with the desired starting date and “num_days” with the number of days to add or subtract. Press Enter to calculate the result.

    What is the formula for days count? ›

    The DAYS function in Excel is a formula designed to compute the count of days between two given dates. The syntax for the function is “=DAYS(end_date, start_date).” Therefore, the end date is specified as the first argument in the formula, and the start date is specified as the second argument in the formula.

    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 do you calculate the time difference between two dates in Excel? ›

    Another simple technique to calculate the duration between two times in Excel is using the TEXT function:
    1. Calculate hours between two times: =TEXT(B2-A2, "h")
    2. Return hours and minutes between 2 times: =TEXT(B2-A2, "h:mm")
    3. Return hours, minutes and seconds between 2 times: =TEXT(B2-A2, "h:mm:ss")
    Mar 21, 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

    Top Articles
    Latest Posts
    Article information

    Author: Lidia Grady

    Last Updated:

    Views: 6137

    Rating: 4.4 / 5 (45 voted)

    Reviews: 84% of readers found this page helpful

    Author information

    Name: Lidia Grady

    Birthday: 1992-01-22

    Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

    Phone: +29914464387516

    Job: Customer Engineer

    Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

    Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.