Days Between Two Dates Calculator
Exact day count between any two dates — deadlines, trips, and more.
Pick any two dates and get the exact number of days between them — leap years handled, timezone-proof. The calculator also breaks the result into weeks and remaining days.
How it's calculated
Days = (end date − start date) in whole days, computed in UTC. The count excludes the start date and includes the end date — January 1 to January 10 is 9 days.
How the day count works
The calculator subtracts the start date from the end date and reports whole days. January 1 to January 10 gives 9 days — the count excludes the start day itself, which is the standard convention for durations (a hotel stay from the 1st to the 10th is 9 nights, for the same reason).
All math runs in UTC on calendar dates, so daylight-saving transitions and timezones can't corrupt the result — a notorious source of off-by-one errors in spreadsheet date math. Leap days are counted automatically whenever February 29 falls inside your range.
Counting days the right way
The classic mistake is the fencepost error: counting both endpoints. From Monday to Friday is 4 days of elapsed time, not 5 — and this calculator uses the elapsed-time convention throughout, so project plans built on its numbers won't drift.
If the end date comes before the start date, the result is negative, which is genuinely useful: it tells you how many days ago something happened. The weeks breakdown (total days ÷ 7) helps with anything scheduled in weekly cycles, from subscriptions to sprint plans.
Where day counts matter
Project deadlines, contract notice periods, and visa stay limits are all defined in days — miscounting by one can mean a missed deadline or an overstay. Travelers use day counts for trip length and travel-insurance windows; a 14-day policy covers 14 elapsed days, not 15 calendar dates.
Health tracking leans on day counts too: pregnancy weeks, medication courses, and recovery timelines are all measured in elapsed days. Whenever the number has consequences, count it with a tool rather than your fingers.
Related calculators
Frequently asked questions
How many days are between January 1 and January 10?
9 days. The calculator excludes the start date and includes the end date — the standard elapsed-time convention.
Is the start date included in the count?
No. From the 1st to the 10th is 9 elapsed days, the same way a hotel stay from the 1st to the 10th is 9 nights.
What if the end date is before the start date?
You get a negative number — for example, -30 means the end date was 30 days before the start date. Useful for how-long-ago questions.
Does it handle leap years?
Yes. February 29 is counted whenever it falls between your two dates, and the UTC-based math is immune to daylight-saving quirks.
How the count is made
The count between two dates is a pure calendar subtraction: the number of midnights crossed from the start date to the end date. The convention matters and this page states it — the start day itself is not counted, so Monday to Tuesday is one day, matching how deadlines, notice periods and interest accrual all reckon. Leap days inside the span are counted automatically because the calendar, not a formula with a 365.25 fudge, does the work. When a contract or a court counts inclusively instead, the adjustment is exactly one day — knowing which convention you hold is worth more than the count itself.
Worked counts for real date pairs
January 15 to March 15, 2026: 59 days
Count it the way the calculator does, month by month. From January 15 to February 15 is 31 days, because January has 31 days. From February 15 to March 15 is 28 days, because February 2026 has 28 days — 2026 is not a leap year. Total: 31 + 28 = 59 days. This is the shape of most real counts — a subscription quarter, a school term, a rental period — and it shows why counting "two months = 60 days" is a guess, not a calculation: the same two calendar months spanning a 31-day pair would give 62.
The leap-year pair: February 1 to March 1
Run one range twice to see the leap day do its work. February 1 to March 1, 2026 spans 28 days. The identical calendar range in 2028 spans 29 days, because February 29, 2028 falls inside it. Nothing else changed — the extra day is the leap day, and the calculator includes it automatically whenever it lies between your two dates, which is precisely the day that finger-counting and spreadsheet shortcuts most often lose. Contracts, interest periods and age calculations that cross the end of February in a leap year all turn on this single day.
Ninety days from June 1, 2026 lands on August 30
Notice periods are the highest-stakes use of this tool. A clause requiring 90 days' notice served on June 1, 2026 expires 90 elapsed days later: June contributes 29 remaining days to June 30, July adds 31 (running total 60), and 30 more days of August brings the count to 90 on August 30, 2026. The same method plans a visa stay: entering a country on December 1, 2026 with a 90-day limit means the allowance runs out on March 1, 2027 — December's 31 days, January's 31 and February's 28 sum to exactly 90. In both cases the answer is a date you can circle, produced by adding elapsed days rather than counting calendar squares.
Calendar days are not business days
One interpretation warning covers most remaining confusion. This calculator counts calendar days — every day, weekends included — which is the convention for notice periods, visa limits, ages and interest. Business processes often mean something narrower: "30 business days" excludes Saturdays, Sundays and usually public holidays, and stretches much further across the calendar. A 30-calendar-day span contains exactly four full weekends (8 weekend days) plus up to 2 more depending on where it starts, so 30 calendar days hold roughly 20 to 22 weekdays, before holidays are even considered. If a deadline is stated in business days, do not feed it to a calendar-day count and trust the result; count the weekdays explicitly, and when a contract is ambiguous, the calendar-day reading is the one courts apply by default.
A long count to end on: 9,497 days
From January 1, 2000 to January 1, 2026 is 26 years — and 9,497 days, not the 9,490 that 26 x 365 suggests. The seven extra days are the seven February 29ths in 2000, 2004, 2008, 2012, 2016, 2020 and 2024. Anyone who turned 26 on that date had lived 9,497 days; the calculator's leap-year handling is what separates that true figure from the plausible-looking wrong one.
Counting backwards, and the medication-course fencepost
The tool subtracts in whichever direction you point it, and planning usually points backwards. An event on September 15, 2026 that needs 45 days of preparation must start 45 elapsed days earlier: September 15 minus 45 days is August 1, 2026 (August's 31 days carry the count back to August 15 at 31 days, and 14 more days reach August 1). Enter the dates in reverse order and the calculator returns -45, confirming the gap. Medication courses expose the fencepost from the other side: a 10-day course starting on the morning of March 3 delivers its last dose on March 12 — only 9 elapsed days later by this calculator's count, because the course counts both the first and the last day as dosing days. Neither convention is wrong; they answer different questions, and choosing the right one for the deadline in front of you is the real skill this page teaches.