What does "days between" mean?
Days Between Dates gives you one number: the integer count of days from one date to another. No years, no months, no hours — just the day count. If you want to know how far apart two dates are in the way a project manager or an event planner needs to know, this is the calculator that answers without the conversational rounding.
The day count is the most direct way to compare two dates. It's the format calendars use under the hood, the format spreadsheets use when you subtract one date cell from another, and the format anyone tracking deadlines, anniversaries, or milestones actually needs. "Six months and a bit" is a guess; "182 days" is a number you can plan around.
Days Between Dates handles any two valid dates and counts the calendar days between them — including the leap days. Order doesn't matter; you get the absolute number.
How to use Days Between Dates
Two date inputs. One number out.
- Pick the start date
- Pick the end date
- Read the day count
The result updates as you change either date. There's no submit button. The calculation runs entirely in your browser — your dates aren't sent anywhere, logged, or stored. Close the tab and the dates are gone.
If you swap the order of the dates, the number stays the same. Most "days between" questions don't need a signed answer (it's not "this date minus that date"), they need the gap. The calculator gives you the gap.
The math: what counts and what doesn't
The calculation is one subtraction, but there's a convention to nail down: do you count both endpoints or neither?
Days Between Dates counts the gap, not the endpoints. From January 1 to January 2 is 1 day. From January 1 to January 3 is 2 days. The end date minus the start date, in calendar days.
This matches what most date libraries and spreadsheet functions do (Excel's DATEDIF with the "d" unit, JavaScript's date subtraction, Python's timedelta). It's also what most people informally mean — "five days between Monday and Saturday" means Mon → Tue → Wed → Thu → Fri → Sat, which is five steps, not six.
If you want to include both endpoints (sometimes called "inclusive day count" — used for hotel stays, project duration, or vacation days), add one to the result. A "5-day project starting Monday" finishes Friday, even though the calculator shows 4 days between Monday and Friday.
Worked examples
Two real ones, plus the leap-year gotcha.
Example 1: a full calendar year. January 1, 2026 to December 31, 2026.
- 2026 is not a leap year (365 days)
- December 31 minus January 1 = 364 days
- If you count both endpoints inclusively, it's 365 — every day of the year
The same calculation for a leap year — January 1, 2024 to December 31, 2024 — gives 365 days (or 366 inclusive), because February 29 falls inside the range.
Example 2: the moon landing to today. July 20, 1969 (Apollo 11) to May 13, 2026.
- The Eagle landed at 20:17 UTC on July 20, 1969
- From that date to May 13, 2026 is 20,749 days
- Slightly more than 56 years 9 months, but in days it's a number that grows by one every 24 hours
The day-count form is what makes "how long ago was the moon landing" useful for anything beyond conversation. 20,749 days is something you can compare directly to other intervals — "twice as long as the Beatles were a band" or "longer than the average lifespan of a U.S. president after leaving office."
What people use Days Between Dates for
Most uses cluster around three categories: project work, milestone tracking, and historical curiosity.
| Use case | Example | Why day count beats years/months |
|---|---|---|
| Project deadlines | "Kickoff to launch" | You can divide it into sprints — 84 days is 12 weeks, period. |
| Vacation planning | "Day of arrival to day of return" | Hotels charge by the night, not the month — day counts match the invoice. |
| Anniversaries | "How many days have we been together?" | 1,000-day milestones are real things people celebrate. |
| Loan and credit | "Days until next payment" | Interest accrues daily; the day count is what gets multiplied. |
| Subscription billing | "Sign-up to renewal" | Prorated refunds use day count, not month count. |
| Pet age | "Days since the rescue" | For young animals, days are the meaningful unit (a 90-day-old puppy is very different from a 120-day-old one). |
| Pregnancy tracking | "LMP to today" | Gestational age is measured in days; weeks come from dividing by 7. |
| Sobriety counters | "Quit date to today" | Cultural milestones are 30, 60, 90, 365 days — the day count is the celebration. |
| Sports streaks | "First start to today" | Cal Ripken Jr.'s 2,632 consecutive games is a day-count record. |
| Historical perspective | "Event X to today" | Day counts make distant dates comparable. |
The common thread: whenever you're going to divide, multiply, or compare an interval with another interval, day count is the unit you want.
Historical day-counts (and what they tell you)
For a sense of scale, a few historical events and their day counts to today (May 13, 2026). All are reproducible — type the date into Days Between Dates and you'll get the same number.
| Event | Date | Days to 2026-05-13 |
|---|---|---|
| Declaration of Independence | 1776-07-04 | 91,260 days |
| First flight (Wright Brothers) | 1903-12-17 | 44,710 days |
| End of WWII (V-E Day) | 1945-05-08 | 29,590 days |
| First moon landing | 1969-07-20 | 20,749 days |
| Berlin Wall falls | 1989-11-09 | 13,335 days |
| iPhone launch | 2007-06-29 | 6,893 days |
| COVID-19 declared pandemic | 2020-03-11 | 2,254 days |
| ChatGPT public launch | 2022-11-30 | 1,260 days |
A few of these are worth pausing on. The iPhone was less than 7,000 days ago. ChatGPT, less than 1,300. Two events that reshaped how phones and software work are inside a single decade's worth of days. The day-count format makes that visceral in a way "seven years" doesn't.
Leap years and other things that catch people out
Days Between Dates handles leap days automatically, but the result sometimes surprises people who do the math in their head and forget February 29 exists.
- Leap years are years divisible by 4, except century years not divisible by 400. 2000 was a leap year. 1900 was not. 2024 was, 2026 is not, 2028 will be.
- Any range that crosses February 29 in a leap year picks up an extra day. January 1, 2024 to March 1, 2024 is 60 days. The same range a year earlier (2023) is 59 days.
- Daylight saving time doesn't affect the day count. The calculator works on calendar dates, not local clock times — losing an hour in spring or gaining one in fall doesn't change how many calendar days are between two dates.
- Time zones don't affect the day count either. The calculator treats both dates as their own calendar entries, independent of where in the world either represents. If you need time-zone-aware date math, use the Time Zone Converter first to normalize, then come back here.
- The Julian-to-Gregorian transition (1582 and after, depending on the country) isn't modeled. The calculator treats all dates as Gregorian, which is the modern convention. For dates before October 1582 the result is mathematically consistent but historically anachronistic.
Related calculations
Days Between Dates is the right tool when you want one number. For other shapes of date math:
- Age Difference Calculator — same two-date input, but the result is years/months/days instead of one day count. Use it when the gap is conversational rather than computational.
- Age Calculator — age from a single birthdate, in years/months/days.
- Date Time Calculator — add or subtract days from a date. "What's the date 100 days from today?"
- Hours Calculator — same idea, but for hours and minutes between two clock times.
- Countdown Timer — same calculation, but live and ticking, displayed in days/hours/minutes/seconds.
- Unix Timestamp Converter — if either date is an epoch timestamp instead of a calendar date.
Frequently asked questions
Does the result include both the start and end dates?
No — the result counts the gap, not the endpoints. January 1 to January 2 is 1 day, not 2. If you need an inclusive count (used for hotel nights, project durations counted "from Monday to Friday"), add one to the result.
Does the calculator handle leap years correctly?
Yes. Any range that includes February 29 in a leap year picks up the extra day automatically. January 1, 2024 to March 1, 2024 is 60 days because 2024 was a leap year; the same range in 2023 is 59 days.
What's the difference between this and the Age Difference Calculator?
Days Between Dates returns one number (the day count). The Age Difference Calculator returns three (years, months, days). Same two-date input, different output format. Pick day count when you're going to do math with the result; pick years/months/days when you're going to say it out loud.
Does the order of the dates matter?
No. The calculator returns the absolute gap, so swapping the dates gives the same number. There's no signed "negative days ago" output — if you want to express that a date is in the past, the day count alone already tells you the distance.
Can it handle business days, not calendar days?
Not directly — this calculator counts every day, including weekends and holidays. For business-day math (skipping Saturdays, Sundays, and optionally holidays), you'd want a workday calculator. The trade-off is that "business days" varies by country and even by company, so a single canonical answer is harder to give.
How far back or forward can I go?
From year 1 forward, into the far future. The math is the same regardless of the magnitude. Comparing two dates a thousand years apart works; the result is just a big number. For dates before October 1582 (when the Gregorian calendar was introduced), the calculator still uses Gregorian arithmetic, which differs from the historical Julian calendar by 10 to 13 days depending on the century.
Why is my answer one day off from what I expected?
Usually one of two things: either you expected an inclusive count (add one to the result) or you forgot a leap day. If neither applies, double-check the years on both date inputs — a typo of 2026 instead of 2025 shifts the answer by 365 (or 366) days.
Are my dates saved anywhere?
No. The calculation runs in your browser; nothing's sent to a server. There's no account, no history, no "your recent calculations" pane. Close the tab and the dates are gone. The same two dates will always produce the same number, so there's nothing to save in the first place.