DaysGap

Days Between Dates Calculator

Pick two dates and see exactly how many days are between them, plus the same gap in weeks, months, weekdays and hours.


Pick two dates to see the difference.

How to use the days between dates calculator

  1. 1

    Choose a start date

    Tap the first field and pick a date. It starts on today, so for “days until” questions you only need to change the end date.

  2. 2

    Choose an end date

    Pick the second date. It can be before or after the first one; the calculator always shows the gap as a positive number.

  3. 3

    Read the result

    The total appears instantly, with the same span in years, months and days, full weeks, weekdays, weekend days, hours and minutes.

How to calculate the days between two dates by hand

The simplest manual method is to count the days left in the start month, add the full months in between, then add the days into the final month. It works well for short spans in the same year.

Worked example: March 15 to August 2, 2026
Days left in March: 31 − 15 = 16
Full months: April 30 + May 31 + June 30 + July 31 = 122
Days into August: 2
Total: 16 + 122 + 2 = 140 days

A faster method for any two dates in the same year is to use day-of-year numbers. August 2 is day 214 of 2026 and March 15 is day 74, so the gap is 214 − 74 = 140 days. For dates in different years, add 365 for each full year in between, plus one extra day for every February 29 you pass.

Days in each month

Most mistakes in manual counting come from month lengths. Here is the full list:

MonthDaysNote
January31
February28 or 2929 in leap years
March31
April30
May31
June30
July31
August31July and August are the only back-to-back 31-day months
September30
October31
November30
December31

An easy way to remember them is the knuckle trick: make two fists and count months across your knuckles and the gaps between them. Every month that lands on a knuckle has 31 days.

Should you include the end date?

It depends on what you're counting. A gap or duration, like the time between two appointments or nights in a hotel, excludes the end date. A list of days that something happens on, like the days of a conference or a course of medication, includes both ends.

ExampleEnd date excludedEnd date included
Monday to Friday, same week4 days5 days
January 1 to January 3130 days31 days
January 1 to December 31364 days365 days

Days between popular dates in 2027

SpanDatesDaysWeeksWeekdays
Whole yearJan 1, 2027 → Jan 1, 202836552w 1d261
New Year → Valentine's DayJan 1, 2027 → Feb 14, 2027446w 2d31
New Year → EasterJan 1, 2027 → Mar 28, 20278612w 2d61
New Year → July 4thJan 1, 2027 → Jul 4, 202718426w 2d131
Memorial Day → Labor DayMay 31, 2027 → Sep 6, 20279814w 0d70
Halloween → ChristmasOct 31, 2027 → Dec 25, 2027557w 6d40
Thanksgiving → ChristmasNov 25, 2027 → Dec 25, 2027304w 2d22

What people use it for

Personal milestones

How long you've been together, days since you moved, or how many days until a wedding, birth or graduation.

Work and contracts

Notice periods, probation, project timelines, invoice terms and the length of a fixed-term contract.

Travel and visas

Trip lengths, how long you've stayed in a country, and checking visa limits such as 90 days within 180.

Health and habits

Sobriety streaks, fitness challenges, days since a vaccination or how long a course of treatment lasts.

Leap years and why they matter

A leap year adds February 29 to keep the calendar in line with the Earth's orbit. The rule is that years divisible by 4 are leap years, except century years, which must also be divisible by 400. That's why 2000 was a leap year but 1900 was not. Any span that crosses February 29 gets one extra day.

Upcoming leap years: 2024, 2028, 2032, 2036, 2040, 2044.

Converting a day count into weeks, months and years

Weeks are easy because every week has exactly 7 days. Months and years are harder because their length changes. The calculator handles this by counting real calendar months, but for a quick mental estimate you can use the averages below. They're based on the Gregorian calendar's average year of 365.2425 days.

DaysWeeksMonths (avg.)Years (avg.)
71w 0d0.20.02
142w 0d0.50.04
304w 2d1.00.08
608w 4d2.00.16
9012w 6d3.00.25
10014w 2d3.30.27
18025w 5d5.90.49
36552w 1d12.01.00
50071w 3d16.41.37
1,000142w 6d32.92.74
5,000714w 2d164.313.69
10,0001428w 4d328.527.38

A useful rule of thumb: 100 days is a little over 3 months, 1,000 days is about 2 years and 9 months, and 10,000 days is about 27 years and 4 months.

Days left in 2027 from the start of each month

How many days remain until New Year's Day 2028, counted from the 1st of each month:

FromDays left in the yearWeeks left
Jan 1, 202736552w 1d
Feb 1, 202733447w 5d
Mar 1, 202730643w 5d
Apr 1, 202727539w 2d
May 1, 202724535w 0d
Jun 1, 202721430w 4d
Jul 1, 202718426w 2d
Aug 1, 202715321w 6d
Sep 1, 202712217w 3d
Oct 1, 20279213w 1d
Nov 1, 2027618w 5d
Dec 1, 2027314w 3d

Common mistakes when counting days

  • Counting both ends by accident. Counting on your fingers from the 1st to the 10th gives 10, but only 9 days have passed. Decide up front whether you need the gap or the number of days involved.
  • Assuming every month has 30 days. Over a long span, the error adds up fast. Six “30-day months” are 180 days, but six real months can be anywhere from 181 to 184.
  • Forgetting February 29. Any span that crosses the end of February in a leap year needs one extra day.
  • Mixing up calendar days and business days. “Within 10 days” and “within 10 business days” can be a week apart. Check which one a contract or letter uses.
  • Reading dates in the wrong format. 03/04 is March 4 in the US but April 3 in the UK, Canada and Australia. The calculator's date picker follows your device's format, so it avoids this.

Counting days in Excel and Google Sheets

Spreadsheets store dates as numbers, so subtracting one date from another gives the days between them. If your start date is in A1 and your end date is in B1:

What you wantFormulaWorks in
Days between two dates=B1-A1Excel, Google Sheets
Days between (named function)=DAYS(B1, A1)Excel, Google Sheets
Days since a date until today=TODAY()-A1Excel, Google Sheets
Weekdays between two dates=NETWORKDAYS(A1, B1)Excel, Google Sheets
Full months between=DATEDIF(A1, B1, "m")Excel, Google Sheets
Full years between=DATEDIF(A1, B1, "y")Excel, Google Sheets

Note that NETWORKDAYS counts both the start and end date, while plain subtraction counts neither end, so the two can differ by one. Format the result cell as a number, not a date, or you'll see something like “Jan 9, 1900” instead of 9.

Time zones and daylight saving time

This calculator counts calendar days, so the answer is the same wherever you are in the world. Time zones only matter if you're counting hours. A day that includes a daylight saving change has 23 or 25 hours, which is why the hours figure in the results is based on 24-hour days. For a countdown to an exact time, use the Countdown Timer, which runs on your local clock.

A short history of the calendar we count with

The calendar used in the US, UK, Canada and Australia is the Gregorian calendar, introduced by Pope Gregory XIII in 1582 to fix a drift in the older Julian calendar, which had a leap year every four years without exception. Catholic countries switched first. Britain and its American colonies didn't switch until 1752, when Wednesday, September 2 was followed directly by Thursday, September 14, skipping 11 days.

Like most date tools, this calculator uses the Gregorian calendar for all dates, including ones before it was adopted. For dates before 1752 in a British or American historical record, the original date may have been written in the Julian calendar.

Popular lookups

Need a date rather than a count? The Date Calculator adds or subtracts days from any date, and the Days Since Calculator counts up from a past date to today.

Frequently asked questions

How many days are between two dates?

Subtract the earlier date from the later one. This calculator does it for you: it counts every calendar day from the start date up to, but not including, the end date. Tick “Include end date” to count both days.

Does the calculator include the end date?

Not by default. From Monday to Friday of the same week is 4 days, the same way a 4-night hotel stay works. If you want to count both the first and last day, for example for a 5-day event, turn on “Include end date”.

Are leap years counted?

Yes. Every date is calculated on the real calendar, so February 29 is counted in leap years and skipped in others.

How do I count only working days?

The result shows weekdays (Monday to Friday) for any range. To also skip public holidays in the US or UK, use the Business Days Calculator.

How many days are in a year?

A common year has 365 days and a leap year has 366. Over the long run the Gregorian calendar averages 365.2425 days per year.

Can I calculate days between dates in different years?

Yes. The calculator works across any years, from centuries ago to far in the future, and accounts for every leap year in between.

Why does my manual count differ by one day?

Almost always because one count includes the end date and the other doesn't. Counting on your fingers from the 1st to the 5th gives 5, but the gap between them is 4 days.

Can I share my result?

Yes. Press “Copy link” and the link will open the calculator with the same two dates already filled in.

More date tools

Last updated October 2026