Days Between Two Dates Calculator
Find out exactly how many days, weeks, months, and years separate any two dates — completely free, with no account required. Pick a start date and an end date, click Calculate, and get an instant breakdown. Everything runs right in your browser, so nothing you enter is ever sent to a server.
How to Calculate Days Between Two Dates
- 1 Set the start date. Use the Month, Day, and Year dropdowns to pick the earlier date in your range — it defaults to today.
- 2 Set the end date. Pick the second date you want to measure to. Don't worry about the order — if it ends up earlier than the start date, the tool will swap them for you automatically.
- 3 Check "Exclude weekends" if you only want weekdays counted — useful for estimating work days, shipping windows, or project deadlines.
- 4 Click "Calculate." You'll instantly see the total days, a weeks-and-days breakdown, a years/months/days breakdown, and — if selected — a business-days count.
Understanding the Results
Date-difference questions trip people up because "how many days between" can mean two slightly different things. Here's how this tool handles it:
Exclusive Count (the headline number)
The big number at the top is the exclusive count — the number of full days you'd move a calendar page forward to get from the start date to the end date. From January 1 to January 5, that's 4 days. This is the standard mathematical "difference" between two dates.
Inclusive Count (both endpoints counted)
The smaller line underneath is the inclusive count — what you get if you count the start day and the end day themselves, like counting nights of a hotel stay versus counting the days you occupied the room. January 1 to January 5 inclusive is 5 days. This is one more than the exclusive count.
Business Days Only
When "Exclude weekends" is checked, the tool walks day-by-day across the range and counts only Monday through Friday, skipping every Saturday and Sunday. It does not know about public holidays — see the FAQ below for what that means for your calculation.
Frequently Asked Questions
What's the difference between "inclusive" and "exclusive" day counts?
Exclusive counting measures the gap between two dates — how many days you'd flip forward on a calendar to get from one to the other. Inclusive counting adds one more day to also count the start date itself. This tool shows the exclusive number as the headline result, with the inclusive number labeled clearly right underneath it, since both are common ways people mean "days between."
Does this tool account for leap years correctly?
Yes. All calculations use JavaScript's native date handling, which correctly accounts for February having 29 days in leap years (like 2024 and 2028) and 28 days otherwise. You don't need to adjust anything — just pick your dates and the leap-year math is handled automatically.
What counts as a "business day" in this calculator?
A business day here simply means Monday through Friday. The tool excludes Saturdays and Sundays but does not account for public holidays, company-specific closures, or regional observances. If your date range includes holidays, subtract them manually from the business-day total.
Can I calculate the days between two dates far in the past or future?
Yes. The year dropdowns cover a wide range — roughly from 1900 through about a decade beyond the current year — so you can calculate historical spans or plan far ahead. The math works the same way no matter how far apart the two dates are.
Does it matter which date I enter first?
No. If you accidentally put the later date in the "Start Date" fields and the earlier date in "End Date," the tool automatically swaps them before calculating and shows a small note letting you know it did so. The result is always a positive number of days.
Why do the "weeks and days" and "years, months, days" breakdowns look different from each other?
They're two different ways of slicing the same span. Weeks-and-days is simple division of the total exclusive days by 7. The years/months/days breakdown is calendar-aware — it accounts for the actual number of days in each month you cross, so it won't match a rough "divide by 30" estimate. Both are correct; they're just different units.
Is this calculator really free, and do I need to sign up?
Yes — completely free, no account, no email, and no limit on how many times you use it. There's nothing to unlock and no premium tier.
Is my data sent to a server when I use this tool?
No. Every calculation happens locally in your browser using JavaScript — the dates you pick are never transmitted anywhere. Once the page has loaded, the tool even works without an internet connection.
More from DatesAndTimes.org
- All Free Tools — see everything available on DatesAndTimes.org
- Age Calculator — find out exactly how old someone is in years, months, and days
- Add or Subtract Days from a Date — figure out what date it will be after (or before) a given span
- Interactive Calendar — browse notable birthdays and deaths for any day of the year
- Browse by Category — find notable people by occupation, birth month, or year