Skip to content

Days Between Dates Calculator

This days between dates calculator counts how many days there are between two dates, then also shows weeks, years, months and days, and business days. Enter both dates and choose whether to count the end date. From 1 January to 25 December 2026 is 358 days, or 359 if you count both dates.

Last updated November 13, 2026 · Topic: Dates & Time

Year-month-day

Year-month-day

Embed this calculator

Free to embed on your site. The snippet includes a dofollow credit link to this page outside the iframe. No account required.

<iframe src="https://sproutcalculator.com/embed/days-between-dates-calculator?theme=light" title="Days Between Dates Calculator" width="100%" height="420" style="max-width:100%;border:1px solid #d8d0c4;border-radius:12px;background:#fff;" loading="lazy" referrerpolicy="no-referrer-when-downgrade"></iframe>
<p style="margin:8px 0 0;font:14px/1.4 system-ui,sans-serif;"><a href="https://sproutcalculator.com/calculators/days-between-dates-calculator" target="_blank" rel="noopener noreferrer">Calculator by Sprout Calculator</a></p>

Preview

Credit line in the snippet (outside the iframe): Calculator by Sprout Calculator → this tool page.

How is the number of days between dates counted?

This tool answers the question how many days are there between two dates. It uses the real calendar, including leap years, so the answer is exact.

It also breaks the answer into weeks, into years, months and days, and into business days, which helps with schedules, deadlines and plans.

Days between dates formula

days=later date−earlier date(+1 if both dates are counted)\text{days} = \text{later date} - \text{earlier date} \quad (+1 \text{ if both dates are counted})

Weeks are the days divided by 7, with the remainder in days. Business days are the Monday to Friday days in the range.

How to use the days between dates calculator

  1. Type the first date as year-month-day.
  2. Type the second date.
  3. Choose whether to count both dates.
  4. Read the number of days, then the weeks, the years, months and days, and the business days.
  5. If the dates were in the wrong order, the tool swaps them for you.

Days between dates examples

Example 1: A calendar year

How many days from 2026-01-01 to 2026-12-25? January 1 is day 1, and December 25 is day 359, so the difference is 358 days. That is 51 weeks and 1 day, or 0 years, 11 months and 24 days. There are 256 business days in the range.

Example 2: Counting both dates

How many days is a trip from Monday, November 2 to Friday, November 6, 2026 if you count both days? The difference is 4. Counting both ends adds 1, so the trip is 5 days.

Example 3: To a future date

How many days from 2026-11-05 to 2027-03-01? There are 116 days, which is 16 weeks and 4 days, or 3 months and 24 days. About 82 of them are business days.

Example 4: Many years

How many days from 2000-01-01 to 2026-01-01? There are 26 years, and 7 of them include a leap day, so the count is 26 × 365 + 7 = 9,497 days.

Example 5: Calculate the number of days between two dates in different years

How many days are there between March 15, 2024 and October 1, 2026? Break it into whole years first. March 15, 2024 to March 15, 2025 is 365 days, because the 2024 leap day had already passed. March 15, 2025 to March 15, 2026 is another 365. From March 15 to October 1, 2026 adds 200 more: 16 left in March, then 30, 31, 30, 31, 31 and 30 for April to September, plus 1 for October 1. The total is 930 days, or 132 weeks and 6 days.

Should I count the start and end days?

Normal subtraction counts the nights between two dates: from 4 July to 26 July is 22 days. If you need every calendar day you touch, such as a hotel stay counted in days or a medication course, include both ends and the answer becomes 23. Choose "count both dates" for that. Ages and deadlines normally use the plain difference.

Quick checks

FromToDays (plain)Counting both dates
28 March3 April67
4 July26 July2223
1 January 202625 December 2026358359

How many days between two dates?

If you came here asking how many days between two dates, this is the direct answer: subtract the earlier date from the later date on the real calendar. The plain difference counts the nights that pass, so 10 November 2026 to 16 November 2026 is 6 days. If you need every calendar date you touch, include the end date and the same span becomes 7 days.

The calculator does that count for you, including leap days, and also reports days in between dates as weeks and as business days. For the hand method, see how to count days between dates.

StartEndHow many days betweenCounting both dates
1 January 202631 January 20263031
1 January 20261 February 20263132
1 March 202631 March 20263031
4 July 202626 July 20262223
10 November 202616 November 202667
10 November 202625 December 20264546
1 January 20241 January 2025366367
1 January 202625 December 2026358359

Same-month questions are the easiest place to go wrong. From the 1st to the 31st of a 31-day month is 30 days if you subtract, and 31 if you count every date on the calendar. From January 1 to February 1 is always 31 days in the plain count, because January has 31 days. A whole year from 1 January 2024 to 1 January 2025 is 366 days, because 2024 is a leap year.

To calculate the number of days between two dates across years, add the days left in the first year, 365 or 366 for each full year in the middle, and the day-of-year number of the end date. The tool does this automatically, so you can enter the two dates and read how many days between them without tracking February 29 yourself.

How many days since I was born?

Use the age calculator. It gives your age in years, months and days and the total number of days lived. To move forward or back from one date by a set number of days, use the date calculator.

Tips

  • Choose Count both dates for hotel stays, rentals and events.
  • The plain difference is best for ages and durations.
  • Business days do not remove public holidays.
  • To find a date by adding days, use the date calculator.
  • For exact age, use the age calculator.

Common mistakes

  • Off by one. Decide whether the end date counts.
  • Using 30 days for every month.
  • Forgetting leap days.
  • Mixing date formats.

Real-life uses

Counting days helps with project plans, rent and billing, countdowns to events, travel, medical schedules and legal deadlines. Knowing the number of business days helps you plan delivery times. For tasks measured in months, check which counting rule the contract uses, since there are several. To find a future date from a number of days, use the date calculator.

A short table of common spans

These counts are the number of days from a start date to an end date, not counting both ends. Add 1 if you include the end date. A 90-day span that starts on 13 November 2026 ends on 11 February 2027, which you can also get by adding 90 days in the date calculator.

SpanDays (end date not counted)Days (both dates counted)
One week78
A fortnight1415
30 days3031
90 days9091
180 days180181
A common year365366
A leap year, 1 January to 31 December366367

Business days for the same span depend on which weekdays the period covers. The calculator counts Monday to Friday only, and does not subtract public holidays, which differ by country.

FAQ

Frequently asked questions

01Do I count the start day and the end day?

It depends on the question. The plain difference counts each night between the dates, so Monday to Friday is 4 days. If you count both days, as in a hotel stay where every date counts, Monday to Friday is 5 days. Use the End date option to choose.

02What are business days?

Business days are Monday to Friday. The calculator counts these days between your two dates and skips Saturdays and Sundays. It does not know public holidays, which differ by country, so subtract those yourself. The count starts after the first date and ends on the second date when you count both dates.

03Does the order of the dates matter?

No. If the second date comes first, the tool swaps them and tells you. The answer is always a positive number of days. If you need to know which date is earlier, read the first line of the steps, which shows both dates with their weekdays.

04How are the years, months and days worked out?

It subtracts the dates part by part: years, then months, then days. If the day goes negative, it borrows the length of the month before the later date. So January 31 to March 1 is 1 month and 1 day in a non-leap year. Different methods can give slightly different month counts.

05How do leap years affect the count?

Each leap day, February 29, adds one extra day. From 2000-01-01 to 2026-01-01 is 9,497 days, which is 26 × 365 = 9,490 plus 7 leap days. The calculator uses the real calendar, so you do not need to adjust for leap years.

06What date formats work?

Use year-month-day, such as 2026-11-05, or month/day/year, such as 11/5/2026. The year-first form is safest, because other countries read the first number as the day. The tool checks that each date exists, so a date like 2026-02-30 is rejected.

07How many days are there between 4 July and 26 July?

There are 22 days if you subtract the dates, and 23 if you count both the 4th and the 26th. Most counts, such as deadlines and ages, use 22. Counting both days is common for events or stays measured in calendar days.

08How do I calculate weeks between two dates?

Find the number of days, then divide by 7. 358 days is 51 weeks and 1 day. The calculator shows the weeks and leftover days under the main answer.

09How do I calculate days between two dates in Excel or Google Sheets?

Subtract the earlier date from the later one: if A1 is the start and B1 is the end, =B1-A1 (or =DAYS(B1, A1)) gives the number of days between them, not counting both ends. To count both dates, add 1. For weekdays only, =NETWORKDAYS(A1, B1) counts Monday to Friday and includes both ends unless you pass a holiday list. This calculator does the same two counts, and also reports weeks, months and years. The method is explained in the how-to-count-days-between-dates guide on this site.

10What is the difference if I include the end date?

Without the end date, 1 January to 3 January is 2 days (the time from the first date to the third). With the end date counted, it is 3 days (the 1st, the 2nd and the 3rd). Hotel stays and age in days usually leave the end date out; a venue booking that covers both calendar days often includes it. Tick the option in the calculator to switch. Business days use the same choice, and skip Saturdays and Sundays, but not public holidays.