Days Between Dates Calculator
Count the exact number of days — and weeks, hours, and minutes — between any two dates.
Days Between Dates Calculator
The headline count is the number of days you add to the start date to reach the end date (end minus start). The inclusive count adds 1 to include both dates.
How it works:
Days between = End date − Start date, counted in whole days on the UTC calendar. Leap days are included automatically: 2024 is a leap year, so 1 January 2024 to 1 January 2025 is 366 days, not 365.
Example: 1 January 2026 to 20 November 2026 = 323 days (324 counting both dates).
What Does a Days Between Dates Calculator Do?
A days between dates calculator counts the exact number of days separating two calendar dates, and expresses the same span in weeks, hours, and minutes. It handles the parts of calendar math that are easy to get wrong by hand: months of different lengths, leap years, and the question of whether to count the start date, the end date, or both.
People use it for countdowns (how many days until a wedding, a holiday, or a deadline), for planning (how long is this project, really?), for travel (how many days is a visa valid?), and for records (how long ago did something happen?). The answer is always exact, because the calculation counts real calendar days rather than estimating from months.
How to Use This Calculator
Enter the start date and the end date. The headline result is the number of days between them — the number you add to the start date to reach the end date. Underneath, you get the inclusive count (both dates counted), the span in weeks, hours, and minutes. The default example shows 1 January 2026 to 20 November 2026: 323 days, or 324 counting both dates, which is 46.14 weeks, 7,752 hours, or 465,120 minutes.
If the end date is before the start date, the result is negative — the count is signed, so the calculator works as a "days since" tool as well as a "days until" tool. Swap the dates to get the positive count.
Exclusive vs Inclusive Counting
The most common source of confusion is whether the endpoints count. The standard convention — and the one this calculator uses for its headline result — is exclusive of the end date: the days between 1 January and 31 January is 30, because 1 January plus 30 days is 31 January. This is the convention used by date arithmetic everywhere, and it makes addition work: start date + days = end date.
The inclusive count adds 1 to include both dates: 1 January to 31 January inclusive is 31 days — the whole month. Inclusive counting is what you want when counting days of an event, a trip, or a rental: a holiday from 10 June to 17 June inclusive is 8 days, even though the dates are 7 days apart. The calculator shows both figures so you can pick the one that matches your situation.
Leap Years
Leap years add a day — 29 February — every four years, with century exceptions: years divisible by 100 are not leap years unless they are also divisible by 400. So 2000 was a leap year, 1900 was not, and 2100 will not be. The calculator includes leap days automatically. The span from 1 January 2024 to 1 January 2025 is 366 days, because 2024 is a leap year; the span from 1 January 2026 to 1 January 2027 is 365 days.
Leap days matter most for long spans. Over 10 years, two or three leap days fall inside the span, adding two or three days to the count. Over 40 years, leap days add 10 days. Any calculation that multiplies years by 365 will be short by that amount — which is why this calculator counts real calendar days instead.
Worked Example: A Project Timeline
Say a project runs from 1 March 2026 to 1 June 2026. The calculator says that is 92 days: March has 31 days, April has 30, and May has 31, so 1 March plus 92 days is 1 June (31 + 30 + 31 = 92). In weeks, that is 13.14 weeks — 13 full weeks plus 1 day. If the team works 5 days a week, that is about 65 working days, before public holidays.
Now suppose the deadline moves to 1 September 2026. From 1 March to 1 September is 184 days (92 days to 1 June, plus 30 in June, 31 in July, and 31 in August = 92 + 92 = 184). The extension doubles the project length exactly, because the second quarter has the same number of days as the first in 2026.
Worked Example: A 90-Day Visa
Visa rules are a classic use case, and an expensive place to be off by one. A 90-day stay starting on 1 January 2026 ends on 1 April 2026: January contributes 30 days after the 1st (to 31 January), February contributes 28 (to 28 February, 58 days total), March contributes 31 (to 31 March, 89 days total), and 1 April is day 90. If the visa counts the arrival day as day 1 (inclusive counting), the last day is 31 March instead. Always check whether the immigration rule counts inclusively — overstaying by one day can mean a fine or a future entry ban.
The same off-by-one question applies to trial periods, warranties, and return windows. A "30-day return policy" starting 1 January usually means the item must be returned by 31 January (30 days later), but some retailers count the purchase day as day 1, making the deadline 30 January. When the stakes matter, read the terms and use the inclusive count if that is what they describe.
Tips for Counting Days
Use the exclusive count for deadlines. "Submit within 14 days of 1 June" means by 15 June: 1 June plus 14 days. The exclusive count is the one that makes start + days = deadline.
Use the inclusive count for durations. A hotel stay from 10 June to 17 June is 7 nights but 8 calendar days inclusive. Rental charges are usually per night (exclusive), while event lengths are usually inclusive.
Check for leap days in long spans. Any span crossing a 29 February is one day longer than the same span in a non-leap year. The calculator handles this, but a hand calculation that forgets the leap day will be short by exactly one day.
Count working days separately. This calculator counts calendar days. For working days, a rough rule is 5/7 of the calendar days: 92 calendar days is about 65.71 working days, or about 65 after rounding down for weekends — before public holidays, which vary by country.
Common Mistakes to Avoid
The biggest mistake is the off-by-one error: counting both endpoints when the rule counts one, or vice versa. A "7-day trial" that starts on Monday ends on the following Monday (7 days later), not on Sunday — unless the terms count Monday as day 1. When in doubt, ask which convention applies, or finish a day early.
The second mistake is estimating months as 30 days. Three months is not 90 days — it is 89, 90, 91, or 92 days depending on which months. From 1 January to 1 April is 90 days in a non-leap year; from 1 March to 1 June is 92 days. Always count on the real calendar.
The third mistake is forgetting leap years. A span from 1 January 2024 to 1 January 2025 is 366 days, not 365. Forgetting the leap day makes a deadline one day early — usually harmless, but occasionally costly.
Frequently Asked Questions
How many days are there between 1 January and 31 January?
30 days. January 1 plus 30 days is January 31. Counting both dates inclusively, it is 31 days — the whole month.
How many days are in a leap year?
366 days. A leap year adds 29 February. From 1 January 2024 to 1 January 2025 is 366 days, while the same span in a non-leap year is 365 days.
What is the difference between exclusive and inclusive day counts?
The exclusive count is end date minus start date (1 January to 31 January is 30 days). The inclusive count adds 1 to include both dates (31 days). Use exclusive for deadlines and inclusive for event lengths.
How many days are there from 1 March to 1 June 2026?
92 days. March has 31 days, April has 30, and May has 31, so 31 + 30 + 31 = 92 days. That is 13.14 weeks.
How many weeks is 323 days?
46.14 weeks. 323 divided by 7 is 46.14, which is 46 full weeks plus 1 day.