π Days Between Dates
Exact day count between any two dates, with weeks, months, and weekday breakdowns.
Between the Two Dates
How to Use the Date Duration Calculator
Enter the two dates in either order and press Calculate. The tool returns the exact number of days between them, plus the same span expressed in weeks, approximate months, and a count of weekdays versus weekend days. It also shows the inclusive count, both endpoints included, since trip planners and project schedules often need that version instead of the standard difference.
Date math looks trivial until leap years and uneven months get involved. Counting forward by hand across February in a leap year, or across a 31-day month followed by a 30-day one, is where errors creep in. The calculator works from real calendar dates, so every month length and every February 29 is handled exactly. Common uses include countdowns to weddings and vacations, pregnancy and project timelines, age gaps between siblings, and contract durations.
How the Calculation Works
Internally, each date becomes a timestamp at local midnight, and the difference in milliseconds is divided by 86,400,000, the number of milliseconds in a day. This automatically accounts for every quirk of the calendar. The weekday split counts how many of the spanned days fall Monday through Friday versus Saturday and Sunday, which is useful for estimating work time inside a longer span.
Worked Example
From January 1, 2026 to October 16, 2026: add the full months first. January 31, February 28, March 31, April 30, May 31, June 30, July 31, August 31, September 30 gives 273 days to reach October 1. Add 15 more to reach October 16, for 288 days total. That is 41 weeks and 1 day, or about 9.46 months. The inclusive count, counting both January 1 and October 16, is 289 days. 2026 is not a leap year, so February contributes its usual 28 days.
Practical Tips
Decide upfront whether you need the exclusive or inclusive number. "How many days until the wedding" uses the exclusive difference. "How many days is the rental" usually wants inclusive, since you pay for both the pickup day and the return day. Mixing the two conventions is the number one cause of off-by-one arguments about deadlines and due dates.
For spans over a year, sanity-check with anniversaries: January 1, 2026 to January 1, 2027 must be 365 days, since 2026 is not a leap year and the span skips February 2029 entirely. If a hand count disagrees with the calculator, the hand count almost always missed a 31-day month or a leap day. And when a span crosses a daylight-saving change, note that the tool counts calendar days, not elapsed hours, so a "day" lost or gained to the clock shift does not affect the result.
Real-World Uses for Day Counts
Project managers live by day counts. A 120-day build schedule is 17 weeks and 1 day, which turns into weekly milestones far more naturally than a raw date range. Pregnancy tracking uses a 280-day standard from the last menstrual period, and fertility apps count forward and backward from that anchor constantly. Contract notice periods, "90 days written notice," are day counts with legal force, where being off by one can void a termination.
Fitness and habit programs love round numbers: 30-day challenges, 75-day programs, 100-day streaks. Knowing that 75 days is 10 weeks and 5 days helps you plan rest days inside the streak instead of burning out at day 40. Travelers use inclusive counts for visas, many allow 90 days per entry, where the entry and exit days both count. In every case, the question to ask first is which convention applies, exclusive or inclusive, because that single choice moves every deadline by a day.
The Inclusive vs. Exclusive Trap
Two people can count the same date range and differ by exactly one day, and both are right under different conventions. The exclusive count, the standard difference, answers "how many days pass between." The inclusive count answers "how many days does this cover." January 1 to January 7 is 6 days exclusive but a 7-day week inclusive. Neither is wrong; the error is using one when the situation demands the other.
Deadlines almost always want exclusive: "due in 7 days" from Monday means the following Monday, not Sunday. Bookings and rentals almost always want inclusive: a Monday-to-Friday rental is billed as 5 days. Medical instructions split: "take for 10 days" starting Monday ends the following Wednesday inclusive. When a count matters, state the convention out loud: "6 days exclusive, so the deadline is the 16th." Ten seconds of clarity prevents the entire category of off-by-one dispute.
A Second Worked Example: The 90-Day Notice
A contract requires 90 days notice, served October 16, 2026. Ninety days later is January 14, 2027, a Thursday. But the start convention matters: if day one is the day after service, the end date is January 15. If the contract counts the service day, it is January 14. One day of difference, and in contract law one day decides whether the notice was valid. Read the clause for the counting convention before trusting any calculator.
The weekday check is the practical bonus. A notice period ending on a weekend or holiday may roll to the next business day depending on the jurisdiction. The calculator shows the weekday so you can spot the problem while there is still time to serve early.
The Weekday Split for Billing
The calculator's weekday-versus-weekend breakdown earns its keep for freelancers and contractors. A 90-day project span is not 90 billable days; it is about 64 weekdays. At a $500 day rate, the difference between billing 90 days and 64 is $13,000 of fantasy revenue. Real quotes multiply the day rate by weekdays, then subtract holidays.
Employers use the same split for leave accounting. Ten days of vacation across two weekends is 10 weekdays but 14 calendar days of absence from the project. The span on the calendar and the cost to the timeline are different numbers, and the weekday count is the one that matters for planning.
Common Date-Span Mistakes
First: inclusive versus exclusive, the eternal trap. A hotel stay from the 16th to the 18th is 2 nights but 3 calendar days. Name the convention before money depends on it. Second: daylight saving. Spans computed in local time across a spring-forward lose an hour; across a fall-back gain one. For day counts it rarely matters, but for hour-precise deadlines it does.
Third: month approximation drift. Dividing days by 30.44 gives a fine estimate, but "3 months" from January 31 is April 30, not "92 days later" in any consistent sense. Months are irregular; the day count is exact. Fourth: forgetting that the end date might move. Contracts with business-day definitions shift end dates around weekends and holidays; the calendar count is the starting point, not the final answer.
Frequently Asked Questions
How do I calculate days between two dates?
Subtract the earlier date from the later date, counting each midnight crossed. The calculator above does this exactly, including leap years. For a quick mental estimate, count full months at 30 days each and adjust, but month lengths vary enough that the estimate can be off by several days.
Do you count the start date or end date?
Standard date math counts the difference, which excludes the start date and includes the end date. January 1 to January 2 is 1 day. If you need an inclusive count that includes both endpoints, like counting days of a trip, add 1 to the result. The calculator notes both conventions.
How many days are between Jan 1 and Dec 31?
In a non-leap year, January 1 to December 31 is 364 days, which is exactly 52 weeks. In a leap year it is 365. This surprises people who expect 365, but the difference between the two dates excludes one endpoint. Add 1 if you want the inclusive count of 365 or 366.
How do leap years affect the count?
Leap years add one extra day, February 29, to any span that includes it. A date range crossing February 29, 2024 gains a day versus the same range in a non-leap year. The calculator uses real calendar dates, so leap days are counted automatically with no special handling needed.
How many weeks is 100 days?
One hundred days is 14 weeks and 2 days, since 100 divided by 7 is 14.29. The calculator shows this breakdown for any span, which helps with project planning: 100 days sounds vague, but 14 weeks reads as a concrete schedule of weekly milestones.
Can I count only weekdays between dates?
Yes, use the working days calculator for a business-day count that skips weekends and US federal holidays. This date-to-date tool counts every calendar day. Roughly 5/7 of any long span falls on weekdays, so a quick estimate is the day count times 0.714.
How many days until my birthday?
Enter today as the first date and your next birthday as the second date. The calculator returns the exact day count. Birthdays are a classic use case along with anniversaries, vacations, due dates, and project deadlines. Bookmark the page if you check often.
Why do online calculators disagree by one day?
The usual cause is the inclusive versus exclusive convention: one tool counts both endpoints and another counts only the difference. Time zones can also shift a date by a day near midnight. This calculator reports the standard difference and tells you the inclusive number too, so there is no ambiguity.