How Many Days Between Two Dates?
How many days between two dates is a question with a precise answer, once the convention is settled: the count excludes the start date and includes the end date. From 1 January 2026 to 4 July 2026 is 184 days, from 25 December 2025 to 1 January 2026 is 7 days, and from 1 January 2026 to 31 December 2026 is 364 days. The date difference calculator above answers the question for any pair of dates, and this page shows the method and the answers for the spans people ask about most.
The spans people ask about are usually anchored to a holiday, a deadline, or a trip: days until Christmas, days between New Year and Independence Day, or days from a start date to a delivery date. This page works through those familiar spans, shows how the count changes when a leap year is involved, and explains how to convert the answer into weeks, which is the form most plans use.
How Date Differences Are Calculated
The difference between two dates is the number of days from the first date to the second, counted on the Gregorian calendar. The 1 January 2026 to 31 December 2026 span is 364 days, because 2026 is not a leap year and the count excludes the starting day itself. Counting this way is a convention, and it matters: most people mean “how many days after the first date is the second date,” which excludes the start and includes the end. If you need to count both endpoints, add one to the result.
Leap years are the only complication. A leap year has 366 days, with an extra day on 29 February, and the span from 1 January 2024 to 1 January 2025 is 366 days for exactly that reason. A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400: 2000 was a leap year, 1900 was not, and 2100 will not be. The calculator applies these rules automatically, so spans crossing February in a leap year come out right without you having to remember which years are leap years.
The official time reference for the United States is maintained at time.gov, the public face of the atomic clocks run by the National Institute of Standards and Technology and the US Naval Observatory. Calendar dates and day counts, though, are a matter of arithmetic on the Gregorian calendar, and the calculator’s job is to do that arithmetic without the off-by-one errors that creep in when people count on their fingers.
Step 1 — Write Both Dates in the Same Order
Write the start date and the end date as year, month, and day. For 1 January 2026 to 31 December 2026, the dates are (2026, 1, 1) and (2026, 12, 31). If the end date is earlier than the start date, the difference is negative, and the calculator reports the span in the other direction.
Step 2 — Count the Days in Each Full Month Between Them
Add the remaining days in the start month, then the full months in between, then the days in the end month. For 1 February to 1 March 2026, that is 27 remaining days in February plus 1 day in March, which is 28 days, because February 2026 has 28 days.
Step 3 — Add the Leap Days
Add one day for each 29 February inside the span. The span from 1 January 2024 to 1 January 2025 crosses 29 February 2024, so it is 366 days, not 365. The calculator does this step for you, and it is the step people most often miss when counting by hand.
Worked Examples: Days Between Familiar Dates
Each row answers the question for a pair of dates people actually ask about, with the count and the note behind it.
| Start date | End date | Days between |
|---|---|---|
| 1 January 2026 | 4 July 2026 | 184 |
| 25 December 2025 | 1 January 2026 | 7 |
| 1 January 2026 | 31 December 2026 | 364 |
| 14 February 2026 | 28 February 2026 | 14 |
| 1 January 2024 | 1 January 2025 | 366 |
The first row is the New Year to Independence Day span: January has 31 days, February 28, March 31, April 30, May 31, and June 30, which totals 181 days to 1 July, plus 3 days to 4 July, giving 184 days. The second row is the Christmas to New Year span: 25 December to 1 January is 7 days, which is why the week between the holidays feels short. Try your own dates in the calculator above and compare the answer with a month-by-month count.
How to Use the Date Difference Calculator
Pick a mode, enter two dates, and the calculator shows the difference in days, weeks, and in years, months, and days. It can also add or subtract days from a date, which is the same arithmetic run in the other direction.
- Choose the mode. Difference between two dates is the default; the add and subtract modes take one date and a number of days instead.
- Enter the start date. Use the date picker or type the date. The order matters: start first, end second, or the sign of the answer flips.
- Enter the end date. The calculator updates as you type, so you can slide the end date forward and watch the count grow.
- Read the breakdown. The result shows total days, the same span in weeks, and the same span in years, months, and days, so you can use whichever form your task needs.
- Decide about endpoints. The count excludes the start date. If your task counts both the first and last day, add one to the total.
Days Between Dates People Ask About Most
These are the spans that come up again and again, in travel, school, and work, with the counts for 2026.
| Span | Days | In weeks |
|---|---|---|
| New Year to Independence Day 2026 | 184 | 26 weeks, 2 days |
| Christmas to New Year | 7 | 1 week |
| Valentine’s Day to end of February 2026 | 14 | 2 weeks |
| Full year 2026 | 364 | 52 weeks |
| Full leap year 2024 | 366 | 52 weeks, 2 days |
Common Mistakes With Date Differences
Date arithmetic has a small set of classic errors. These are the ones that produce answers one day out.
- The off-by-one error. Counting both the start and end dates when the task wants the gap between them, or counting neither, shifts the answer by a day.
- Forgetting leap years. A span crossing 29 February is a day longer than a naive month count suggests, and the error only appears for spans that cross February.
- Assuming all months have 30 days. A rough 30-day month estimate can be several days out over a long span; the calculator uses the real month lengths.
- Swapping the dates. Entering the end date first gives a negative difference, which is correct arithmetic but the wrong answer for the question asked.
- Ignoring time zones. A date difference is a calendar difference, not a time difference; two dates in different time zones still differ by the same number of calendar days.
Where You Will Use a Date Difference
Day counts drive deadlines, plans, and records in almost every part of life, from project work to pregnancy to legal filings.
- Project deadlines. Counting the days from a start date to a delivery date tells you how many working days you actually have, before you commit.
- Travel planning. The gap between departure and return dates is the length of the trip, and it decides the cost of hotels, car hire, and insurance.
- Contracts and notice periods. A 30-day notice period and a 90-day warranty are counted in calendar days from a specific date, so the end date must be exact.
- Health and pregnancy. Due dates, treatment courses, and recovery periods are all counted in days and weeks from a start date.
- Anniversaries and milestones. The days between two dates turn a round number, such as 10,000 days together, into a date worth celebrating.
Counting in Weeks Instead of Days
A day count divided by 7 gives weeks, and the remainder is the extra days: 184 days is 26 weeks and 2 days, and 139 days is 19 weeks and 6 days. Weeks are the form most schedules use, because work repeats weekly, and a span of 26 weeks and 2 days is easier to plan around than 184 days. The calculator above shows both forms, so you can use the days for exactness and the weeks for planning.
Tips for Accurate Results
Date differences are exact once the convention is settled. These habits settle it before you start.
- State the convention. Decide up front whether the start date counts, and write it down, so everyone reading the result agrees on what it means.
- Use the calculator for spans over a month. Hand counting across several months is where leap days and 31-day months cause slips.
- Check February. Whenever a span crosses February, confirm whether the year is a leap year before trusting a hand count.
- Keep the year with the date. A date without a year is ambiguous across a year boundary, and the difference depends on which year you mean.
- Verify with a second span. Split a long span into two halves and add them; if the halves do not sum to the whole, one of them is wrong.
Date Difference Quick Answers
These are the day counts people look up most often, each one verified against the calculator above.
| Span | Days |
|---|---|
| 1 January 2026 to 31 December 2026 | 364 |
| 1 January 2024 to 1 January 2025 (leap year) | 366 |
| 1 February 2026 to 1 March 2026 | 28 |
| 15 June 2026 to 1 November 2026 | 139 |
| 1 March 2025 to 15 March 2025 | 14 |
Related tools on this site: the main date difference calculator, days calculator, time calculator, age calculator, and the date difference calculator again whenever you need a fresh check.
Frequently Asked Questions
How many days are between 1 January and 4 July 2026?
There are 184 days. Counting month by month: 31 in January, 28 in February, 31 in March, 30 in April, 31 in May, 30 in June, which is 181 days to 1 July, plus 3 days to 4 July, giving 184.
How many days are between Christmas and New Year?
From 25 December 2025 to 1 January 2026 is 7 days. The count excludes Christmas Day itself and includes New Year’s Day, under the standard convention.
How many days are in 2026?
There are 365 days in 2026, because 2026 is not a leap year. The span from 1 January 2026 to 31 December 2026 is 364 days, and adding the start date itself gives the 365 days of the year.
How do I count days between two dates by hand?
Add the remaining days in the start month, the full months in between, and the days in the end month, plus one for each 29 February in the span. The calculator above does the same count instantly and is the safer choice for long spans.
Does the count include the end date?
Yes. The standard convention excludes the start date and includes the end date, so the count is the number of days after the start date up to and including the end date.
Disclaimer: This calculator is for general information only. Day counts use the Gregorian calendar; deadlines, notice periods, and legal dates are governed by the applicable contract, statute, or authority, which may count days differently.
