How to Calculate the Number of Days Between Two Dates

How many days until your vacation, or since your last oil change? Counting the days between two dates sounds tricky, but the method is simple. You walk from the first date to the second, adding up the days in each month you pass. Once you know how many days each month holds, the whole job becomes basic addition that anyone can do on paper.

Quick Answer
To count the days between two dates, add up the days in each full month between them, then adjust for the leftover days. Start at the earlier date and move forward month by month. Use 31, 30, or 28 days per month, and use 29 for February in a leap year. Decide if you are counting exclusively (the gap only) or inclusively (counting both end dates), since that changes your total by one.

The Simple Way: Count Full Months and Days

The cleanest method is to move from the earlier date to the later date in two stages. First you jump forward in whole months. Then you count the leftover days.

Start by stepping month to month on the same day number. For example, from the 10th of one month to the 10th of the next is one full month. Add up the day length of each month you step across as you go.

After the last full month, count the remaining days to reach your target date. Add that small number to your running total. Here is the order to follow:

  • Write down both dates, earlier one first.
  • Step forward in full months, adding each month’s length.
  • Count the leftover days to the final date.
  • Add the months total and the leftover days together.

This works because a date span is just stacked months plus a few extra days. You only need each month’s correct length.

One tip keeps the leftover step simple. If your end date has a smaller day number than your start date, stop one month early. Then count the leftover days forward to the exact end date.

Remember the Days in Each Month

Your whole count depends on using the right number of days per month. Most months have 30 or 31 days, and February is the one that changes.

A quick list keeps you accurate. The months with 31 days are January, March, May, July, August, October, and December. The months with 30 days are April, June, September, and November. February has 28 days in a normal year and 29 in a leap year.

Many people use the knuckle trick. Make a fist, then count across your knuckles and the dips between them. Each raised knuckle is a 31-day month, and each dip is a shorter month.

An old rhyme works too. It goes: “Thirty days hath September, April, June, and November.” All the rest have 31 days, except February, which stands alone with 28 or 29. Either trick helps you catch a wrong month length before it spoils your count.

A reference strip showing the number of days in each month Twelve bars from January to December. Taller blue bars mark 31-day months, medium bars mark 30-day months, and the shortest bar marks February with 28 or 29 days. Days in Each Month Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec 31 31 31 31 31 31 31 28 30 30 30 30 Tall bars are 31-day months. February shows 28, or 29 in a leap year.
A quick reference for how many days sit in each month of the year.

A Worked Example

Let us count the days from January 1, 2026 to March 1, 2026. These dates sit two months apart, which makes a clean example.

First, step forward in full months on the same day number. January 1 to February 1 crosses all of January, which has 31 days. February 1 to March 1 crosses all of February. The year 2026 is not a leap year, so February has 28 days.

Now add the two month lengths together:

  • January 1 to February 1 = 31 days
  • February 1 to March 1 = 28 days
  • Total = 31 + 28 = 59 days

So there are 59 days from January 1 to March 1 in 2026. This count is exclusive of the start date, meaning it measures the gap between the two dates. We landed exactly on March 1 with no leftover days, so no extra adjustment was needed here. Because both months stepped on the same day number, the two month lengths were all we had to add.

A number line showing 59 days between January 1 and March 1, 2026 A horizontal line marks January 1 on the left and March 1 on the right. A 31-day segment for January and a 28-day segment for February add up to a total of 59 days. Counting Days on a Line Jan 1 Feb 1 Mar 1 31 days 28 days Total = 31 + 28 = 59 days
January adds 31 days and February 2026 adds 28, for a 59-day gap.

Handle Leftover Days With a Second Example

The first example landed neatly on a month start. Most real dates leave a few extra days, so let us try one that does.

Count the days from March 10, 2026 to May 25, 2026. Step forward in full months first, then count the leftover days at the end:

  • March 10 to April 10 = 31 days (all of March)
  • April 10 to May 10 = 30 days (all of April)
  • May 10 to May 25 = 15 leftover days
  • Total = 31 + 30 + 15 = 76 days

So there are 76 days between these dates, counting exclusively. Notice how the two full months gave 61 days, and the 15 leftover days finished the trip to May 25. That leftover step is the part people most often forget.

Inclusive vs Exclusive Counting

One choice changes your answer by a single day. Are you counting both end dates, or only the gap between them? This is the difference between inclusive and exclusive counting.

Exclusive counting measures the distance from the first date to the second. It does not count the start date itself. Our example above used this method, giving 59 days.

Inclusive counting counts both the first and the last date as full days. To switch from exclusive to inclusive, you add one. So January 1 through March 1, counting both ends, is 59 + 1 = 60 days.

Neither method is wrong. Pick one and state it clearly:

  • Use exclusive counting for a countdown or a gap, like days until an event.
  • Use inclusive counting when both days count, like booking a hotel or a total length of stay.

If you are counting a person’s days of life, the same care applies. Our guide on how to calculate your exact age shows how this choice plays out over years.

Watch Out for Leap Years

Leap years are the most common source of a wrong day count. In a leap year, February has 29 days instead of 28. That one extra day quietly shifts any span that crosses late February.

Look back at our example. From January 1 to March 1 was 59 days in 2026 because February had 28 days. In a leap year, the same span would be 60 days, since February would add 29.

Before you finish counting, always ask if February falls inside your date range. If it does, confirm whether that year is a leap year and use the right number. For the full rule on which years qualify, see our explainer on leap years explained.

When you want the answer with zero mental math, the Date Calculator counts the exact days between any two dates and handles leap years for you.

Skip the paperwork and get the exact number in one click. Enter your two dates in our Date Calculator to see the days between them instantly, with leap years and month lengths handled automatically.

Frequently Asked Questions About Days Between Dates

How Do I Count the Days Between Two Dates by Hand?

Start at the earlier date and step forward in full months, adding each month’s length as you go. Use 31, 30, or 28 days, and 29 for February in a leap year. Then count any leftover days to reach the final date. Add the months total and the leftover days together for your answer.

Should I Count Both the Start and End Date?

That depends on what you need. Exclusive counting measures only the gap and skips the start date. Inclusive counting counts both end dates as full days and is one day more. Decide which fits your goal, then state the method so your result is clear to others.

How Many Days Are Between January 1 and March 1, 2026?

There are 59 days, counting exclusively. January adds 31 days and February 2026 adds 28, since 2026 is not a leap year, and 31 + 28 = 59. If you count both end dates inclusively, the total is 60 days.

Why Does February Change My Count?

February has 28 days in a normal year but 29 days in a leap year. If your date range crosses February, that extra day in a leap year adds one to your total. Always check whether February sits inside your span before you finish counting.

What Is the Easiest Way to Remember Month Lengths?

The knuckle trick is popular. Make a fist and count across your knuckles and the dips between them. Raised knuckles are 31-day months, and the dips are shorter months. The 31-day months are January, March, May, July, August, October, and December.

Do I Count Weekends and Holidays?

The basic method counts every calendar day, including weekends and holidays. If you only need working days, you subtract the weekends and any holidays from your total. Holidays vary by country and employer, so check the official calendar that applies to you.

Is It Faster to Use a Calculator?

Yes. Counting by hand is great for understanding the method, but a tool is faster and avoids slips. The Date Calculator counts the exact days between any two dates and handles month lengths and leap years for you, so you get a reliable answer in one step.

Sources

Authoritative Sources Used in This Article

This article is for general education only. Calendars, holidays, and processing times vary by country, employer, and provider, so check the official rules for your situation. Reviewed for accuracy by Prof. Dr. Khalil Mudassar, PhD. Last updated September 12, 2026.


Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.

Leave a Comment