Date Difference Calculator
How many days between two dates? Get the exact count, plus weeks and a calendar-accurate years–months–days breakdown.
Enter your dates
Total days
—
Counts the days between the dates.
How it works
The day count is the exact number of midnights between the two dates, computed from UTC timestamps so daylight-saving changes can't shift it:
The years–months–days breakdown is calendar-aware, not just days ÷ 365. It counts full years first, then full months, then leftover days — borrowing the real length of each month (including leap-year February) when the day-of-month doesn't line up. Weeks are simply days ÷ 7.
One convention decides most disagreements between date counters: this page counts the days between the dates, excluding the start day itself. January 15 to January 16 is one day. Counting both endpoints instead — treating the period as a list of calendar days touched — always gives exactly one more, and neither answer is wrong; they answer "how much time passes" and "how many dates are covered" respectively. Deadlines, stays, and billing periods each have their own convention, so check which one your situation uses.
Calendar days are also not business days. This page counts Saturdays, Sundays, and holidays like any other day. Contracts and courts usually mean calendar days unless they say otherwise, while offices and delivery promises often mean business days — the two counts can differ by nearly a third over a long period.
Worked example: January 15 to March 20, 2026
Enter January 15, 2026 as the start and March 20, 2026 as the end, and the calculator returns 64 days — 9.1 weeks, or 0 years, 2 months, 5 days in the calendar breakdown. The count is easy to audit by hand: 16 days remain in January after the 15th, February 2026 has 28 days, and March contributes 20, for 16 + 28 + 20 = 64.
If what you actually need is the number of calendar dates the period covers — hotel nights versus days booked, say, or the length of a rental — add the start date back in: 65. Same two dates, two defensible answers, differing by exactly one. Most "the other calculator disagrees" arguments are this single day in disguise.
Common mistakes
Assuming every month has 30 days. The 30-day shortcut misprices any period that crosses February or a 31-day month, and the errors do not cancel — across a quarter they can reach three days. Interest, rent proration, and deadline math all run on real month lengths, which is why this calculator walks the actual calendar instead of approximating it.
Confusing "days between" with "the nth day." If something starts on the 15th and runs 10 days, it ends on the 25th by elapsed counting — but its tenth day, counted inclusively, is the 24th. Off-by-one errors in deadlines, trial periods, and notice windows almost always come from sliding between these two readings mid-calculation. Pick one reading and write it down.
Worrying about daylight saving time. At the level of whole dates, DST cannot change the answer: this calculator counts calendar days from date to date, not hours. DST only enters when a period is measured in hours or timestamps — a "3-day" server migration window that crosses a spring-forward is 71 hours long, not 72, but it is still 3 calendar days.
Frequently asked questions
Does the day count include the end date?
This calculator counts the days between the two dates, not including the start date, so January 1 to January 2 is 1 day. That is the standard most date calculators use.
How are the years and months in the breakdown counted?
Calendar-aware: full years first, then full months, then leftover days, borrowing actual month lengths as needed, including leap-year February. The total days always match the exact day count.
Why does another calculator give a different number?
Usually it is an off-by-one difference: some tools count both endpoints. Also check time zones, this tool treats each date as a whole calendar day, which avoids daylight-saving quirks.
Can I use this to compute someone's age?
Yes, enter the birth date and today. For a dedicated tool with birthday extras, try our Age Calculator.
How many days is a typical pregnancy counted as?
The standard obstetric count is 280 days — 40 weeks — from the first day of the last menstrual period to the estimated due date. Enter that start date here and add 280 days by setting the end date, or count forward from a known date to check where a given day falls. Actual deliveries spread widely around the estimate; only a minority arrive on the day itself.
Does this calculator count weekends and holidays?
Yes — it counts every calendar day, including Saturdays, Sundays, and public holidays. If your period is defined in business days instead, the count will be lower, roughly five-sevenths of the calendar figure before holidays. Business-day counting needs a specific holiday calendar, which differs by country and employer, so this page deliberately stays with exact calendar days.
How should I count a contract period, trial period, or warranty?
Most contracts and consumer warranties run on calendar days unless the document says business days, and the usual reading counts from the day after the trigger event — a purchase on the 15th with a 30-day window typically ends on the 14th of the following month by elapsed counting. The document's own wording governs; when it is ambiguous, the inclusive/exclusive difference is exactly one day, as the worked example shows.
Embed this calculator
Add this free calculator to your own website — no signup needed, attribution appreciated. The embedded version is ad-free and links back to CalcKitHub.
Next steps
Age Calculator
Exact age in years, months, and days between any two dates.
Everyday mathPercentage Calculator
Percent of a number, what-percent, and percentage change — solved instantly.
HealthSleep Cycle Calculator
Find the best bedtimes or wake-up times based on 90-minute sleep cycles.
Why date math is deceptively hard
Counting days between two dates looks trivial until the edge cases appear. Leap years: February 29 exists in years divisible by 4, except centuries not divisible by 400 (1900 had none; 2000 did). Daylight saving: some days are 23 or 25 hours long. Time zones: where a ‘day’ boundary falls depends on where you stand.
Then there is convention: is the end date inclusive or exclusive? And ‘business days’ need a holiday calendar that differs by country and employer. This calculator counts exact calendar days; for contracts, payroll, and deadlines, confirm which convention the other party uses.
How we calculate & limitations
Assumptions & limitations: Gregorian calendar, counting whole days between the two dates with the start date excluded; whether your contract, deadline, or booking counts the end date too depends on its own wording. Business days and holidays are not modeled — every calendar day counts. Leap years and varying month lengths are handled exactly.