← Home

Home > Date Calculators > Days Between Dates Calculator: Count Days Exactly

Days Between Dates Calculator: Count Days Exactly

Enter your dates above and press Calculate.

What is this tool?

The days between dates calculator counts the exact number of days, weeks and months between any two dates, with leap years handled correctly. Use it for countdowns, project timelines, visa stays, school terms and any span where counting days by hand invites an off-by-one error. Enter both dates below, choose whether to include the end date, and the result shows days, weeks and calendar months at once.

How it works

It subtracts the earlier date from the later one in calendar days, counting leap days. By default the end date is not counted, which is how most date differences are quoted. Tick the include-end-date box to add one day, which is the count you want when both the start and end days themselves are part of the span, such as a holiday.

Worked example

Worked example: 1 January 2026 to 1 January 2027. The difference is 365 days, or 52 weeks and 1 day, because 2026 is not a leap year. With include-end-date ticked, the count becomes 366 days.

When to use it

Counting the days between two dates is one of those tasks that looks trivial until the span crosses a month boundary, a leap day or a year boundary, and then it becomes surprisingly easy to get wrong by a day or by several days. Countdowns are the most common use. Whether the target is a holiday, an exam, a wedding, a move or the start of a new job, the number of days remaining is the figure that turns a vague sense of soon into a concrete plan. A countdown of 72 days, for example from 21 October 2026 to 1 January 2027, gives a clear preparation window, while a guess of about two months could be out by more than a week depending on which months are involved.

Trips and stays are another everyday use. A holiday from 24 December 2025 to 2 January 2026 spans 9 days by the standard difference, because the count measures the gap between the two dates rather than the number of nights or the number of days spent away, and confusing those three counts is a classic source of booking errors. The same care applies to rental periods, hotel stays and any arrangement charged by the day, where a single extra day changes the price. Running the two dates through the tool first, and then deciding whether the arrangement counts the end date as well, prevents an argument at checkout.

Projects and study plans rely on the same count in a different way. A project that runs from a start date to a deadline has a fixed number of days available, and that number decides how much work can fit into each week. Counting by calendar months instead of by days hides the fact that some months are longer than others, and counting by weeks hides the leftover days. A result that gives days, weeks and the remainder together, such as 28 days as exactly 4 weeks, or 31 days as 4 weeks and 3 days, lets a planner split the work evenly without leaving a stray few days unaccounted for at the end.

Historical and personal spans are a fourth use, and they are often the longest spans people check. The span from 15 May 1990 to 21 October 2026 is 13,308 days, which is 1,901 weeks and 1 day, and that figure is more vivid than the same span expressed in years. The same applies to the time since a graduation, a move, a first job or any other life event. A day count makes a long span feel concrete, and it also makes two spans comparable: two periods that look similar in years can differ by hundreds of days once leap days and month lengths are counted properly.

Step by step

Start by entering the two dates, and do not worry about which one you enter first. The tool measures from the earlier date to the later one, so swapping the two dates gives the same result. That symmetry is useful when you are checking a span from memory, because it removes one source of error entirely. What does matter is that both dates are complete, with day, month and year, because a missing day forces a guess, and a guess of the first or last day of a month can shift the result by up to 30 days.

Next, decide whether the end date should be included, and make that decision before you read the result. By default, the tool gives the difference, which does not count the end date. That is the right figure for most differences, such as how many days until a date, or how many days have passed since a date. Tick the include-end-date box only when the span itself includes both end days, such as counting the days of a trip, a course or a stay where the first and last days both count. The difference is exactly one day, but that one day is the difference between a correct booking and an overcharge, so it deserves a deliberate choice rather than a default.

Then read the result in all three forms it offers. The headline gives total days, which is the figure to quote. Below it, the weeks and remainder break the same span into whole weeks plus leftover days, which is the form that helps with weekly planning. The calendar months figure gives the number of month boundaries crossed, which is a different kind of information: it tells you how many monthly cycles the span contains, not the exact years-months-days breakdown. For example, from 1 March 2026 to 1 April 2026 is 31 days, which is also exactly one calendar month, while from 10 February 2026 to 10 March 2026 is 28 days, which is exactly 4 weeks and also one calendar month, even though the two spans differ by three days.

Finally, sanity-check the result against a rough estimate before using it. A span of about a month should be near 30 days, a span of about a year should be near 365 days, and a span of ten years should be near 3,650 days plus leap days. If your result is far from the estimate, check whether a day and month were swapped, whether the year was typed correctly, or whether the include-end-date box is in the state you intended. A quick estimate will not catch a one-day error, but it will catch the large errors that come from a swapped date or a wrong year, and those are the errors that cause real problems.

Common mistakes

The single most common mistake is the inclusive versus exclusive confusion, and it accounts for more wrong day counts than any other error. From 1 January 2026 to 8 January 2026, the difference is 7 days, but the count of days including both ends is 8. Both numbers are correct answers to different questions, and the mistake is using one when the other was needed. A countdown uses the difference, because it measures how many days remain before the target date. A stay, a course or a rental period often uses the inclusive count, because both the first and last days are part of the span. Naming the question before choosing the count avoids the error, and the tool's checkbox exists precisely so the choice is visible rather than hidden.

A second mistake is forgetting leap days. From 1 January 2024 to 1 January 2025 is 366 days, not 365, because 2024 is a leap year and 29 February 2024 falls inside the span. People who assume every year has 365 days undercount every span that crosses a leap day, and the error compounds over long spans. From 1 January 2020 to 1 January 2030 is 3,653 days, not 3,650, because three leap days fall inside that decade. The same caution applies in the other direction. From 29 February 2024 to 28 February 2025 is 365 days, because the leap day itself is the starting point and is not counted twice. The rule is simple to state and easy to forget: count the leap days that fall strictly inside the span, and let the tool do it rather than trying to remember which years were leap years.

A third mistake is treating months as fixed lengths. A month is not 30 days, and a span counted as a number of months times 30 will be wrong by days in almost every case. From 1 March 2026 to 1 April 2026 is 31 days, because March has 31 days, while from 10 February 2026 to 10 March 2026 is 28 days, because February 2026 has 28 days. Both spans are one calendar month, yet they differ by three days. Anyone who converts months to days by multiplying by 30 will overcount the February span by two days and undercount the March span by one day, and those small errors matter when the count decides a deadline or a charge.

Finally, do not confuse calendar days with working days, and do not assume weeks divide evenly. A span of 31 days is 4 weeks and 3 days, not 4 weeks, and rounding it down to 4 weeks loses three days of planning time. A span that includes weekends has more calendar days than working days, so a deadline expressed in calendar days is sooner in working terms than it looks. If the question is about work, use a working-day count instead, and if the question is about elapsed time, use the calendar count given here. Mixing the two is how a deadline that looked comfortable becomes impossible in the final week.

More worked examples and notes

Work through a set of short spans first, because short spans are where the inclusive error and the month-length error show up most clearly. From 1 January 2026 to 8 January 2026 is 7 days, or exactly 1 week, and 8 days with the end date included. From 10 February 2026 to 10 March 2026 is 28 days, which is exactly 4 weeks, even though the span crosses from February into March. From 1 March 2026 to 1 April 2026 is 31 days, which is 4 weeks and 3 days. All three spans are roughly a month, yet they are 7, 28 and 31 days respectively, which shows why counting by months alone is not a substitute for counting days.

Next, consider spans that cross a year boundary, because those are the spans where people most often lose track. From 24 December 2025 to 2 January 2026 is 9 days, which is easy to undercount if you treat December and January as separate problems rather than as one continuous calendar. From 21 October 2026 to 1 January 2027 is 72 days, which is 10 weeks and 2 days, and that figure is useful for end-of-year planning, because it covers the final stretch of October, all of November and all of December. From 1 January 2026 to 31 December 2026 is 364 days, or 365 days with the end date included, which is the full calendar year expressed as a span rather than as a label.

Leap-year spans deserve their own examples, because they are the ones most often quoted wrong. From 1 January 2024 to 1 January 2025 is 366 days, because the leap day of 29 February 2024 falls inside the span. From 29 February 2024 to 28 February 2025 is 365 days, because the starting leap day is not double-counted. From 1 January 2020 to 1 January 2030 is 3,653 days, which is ten ordinary years plus three leap days, for the leap years 2020, 2024 and 2028. Anyone who quoted 3,650 days for that decade would be three days short, and over a longer span the shortfall grows by roughly one day every four years.

One last note concerns how to use the result once you have it. A day count is most useful when it is paired with the question it answers. For a countdown, quote the difference and the target date together, so the reader can check both. For a stay or a period, state whether the count includes the end date, so the reader does not have to guess. And for a long historical span, quote the total days alongside the years, because the day figure is the one that can be checked against a calendar, while the year figure is the one that is easiest to misremember. The span from 15 May 1990 to 21 October 2026 is 13,308 days, or 1,901 weeks and 1 day, and either form is checkable in seconds, which is the whole point of counting exactly rather than approximately.

Try also

Date Calculator →Business Days Calculator →Age Difference Calculator →

Frequently asked questions

How do I calculate days between two dates?

Enter both dates above. The calculator subtracts them in calendar days, so leap years and month lengths are handled, and you get weeks and months as well.

Should I include the end date?

Usually no, for a difference. Tick the box when the span includes both end days themselves, such as counting days of a trip or a holiday.

What is the difference from business days?

This page counts calendar days, including weekends. The business days calculator counts only Monday to Friday, which is what work deadlines and contracts usually need.

Days between dates in Excel or Google Sheets?

Subtract the two dates directly, for example =B1-A1, and format the result as a number. Add 1 for an inclusive count.

Written and checked against the calculator above. Last updated: 21 October 2026. Calculation runs entirely in your browser — no date is sent to a server. This tool gives calendar results only, not medical, legal or financial advice.