No votes yet

Calculating dates between days

Calculating dates between days means landing on the calendar date that sits a given number of days away, or the reverse: calculating days between dates by subtracting one date from the other.

Time By Online Alarm Clock

how many days in between two dates

When you already have two dates, calculating days between dates is subtraction. The later date minus the earlier date is how many days in between two dates in the ordinary sense. Add one only if the question is how many calendar dates the range contains, not how many days later the second date falls.

The title of this page also runs the other way: you are given days, and you want dates. Start at a known date and move forward or backward by a whole number of days. Ten days after the 1st is the 11th in a month long enough to hold it. Ten days before the 1st is a date in the previous month. You do not convert to weeks first unless you want weeks in the answer. Weeks are a display. The unit you are moving in is the day.

Keep the time of day out of it unless the question is elapsed hours. A calendar date has no hour. Calculating a date from a day count will not tell you whether a meeting is in the morning. It will tell you which square of the calendar you land on.

Fix the starting date, including the year. Decide forward or backward. Add or subtract the number of days as a whole number. Let the month and year roll when the day number runs off the end of the month. If you needed the gap between two known dates instead, subtract those dates and stop.

Calculating days between dates in Excel

Calculating days between dates in Excel is the same subtraction as on paper, with serial numbers doing the rolling of months for you. End cell minus start cell, or DAYS, or DATEDIF with "d", returns the ordinary day gap. To go the other way — from days to a date — add the day count to a date cell: a date plus 40 is the date 40 days later. A date minus 40 is 40 days earlier. Format that result as a date.

Do not use a month-adding function when the instruction was “90 days.” Adding three months is a different calculation. It follows month lengths and end-of-month rules, not a day count. If a formula used EDATE, the result is a calendar-month shift, not a 90-day shift. Read the function name before you trust the cell.

WORKDAY and NETWORKDAYS belong to work-day arithmetic. They skip weekends and, with a list, holidays. Mixing them into a plain day calculation is how a “40 days later” date quietly becomes a later date than the calendar asked for.

Calculating a date from a pile of days is easy until February is in the path, and then the month does the rolling for you whether you remembered leap day or not.

When the month cannot help

There is no honest shortcut that says “a month is thirty days, so ninety days is three months later.” January 31 plus one month is not a day that exists in February. Software that adds months has to pick a rule: last day of February, or overflow into March. A day-count calculation never meets that fork. It only meets actual days.

If you are calculating both a day span and a month span for the same two dates, report them as two answers. They will not stay in a fixed ratio. That is not a rounding problem. That is the calendar.

Questions and answers

How do I calculate a date from a number of days?
Add the days to the start date to go forward, or subtract them to go back. The month and year change when the day count crosses a month end.
How do I calculate days between dates in Excel?
Subtract the start date from the end date, or use DAYS or DATEDIF with "d". Add one only for an inclusive date list.
Why is three months not the same as 90 days?
Months are 28, 29, 30, or 31 days long. Ninety days is a day count. Three months is a month count. They are different kinds of arithmetic.

Related guides

Calendar

10 year anniversary

A 10 year anniversary is the same month and day ten civil years after the original date. If that day does not exist in the later year, pick 28 February or 1 March and say which.

Calendar

10000 days

10,000 days is a little more than 27 years: 27 × 365 = 9,855 days, so 145 days remain if you ignore leap days.

Calendar

107 days

107 days is a span of 107 midnights on the civil calendar: 15 weeks and 2 days. From Thursday 3 September 2026 that span ends on Saturday 19 December 2026.

All guides

All pages