How to count days between dates: subtract the earlier date from the later one. From 1 March to 10 March is 9 days. If you want to include both the first and last day, add one and get 10. Nearly every mistake comes from mixing up those two.

How to count days between dates by hand
Work in steps. Finish the first month, add the whole months, then add the days of the last one.
Example, 25 November 2026 to 28 March 2027:
| Step | Days |
|---|---|
| 25 to 30 November | 5 |
| December | 31 |
| January | 31 |
| February | 28 |
| March, to the 28th | 28 |
| Total | 123 |
Check it another way: 123 divided by 7 is 17 weeks and 4 days. 25 November 2026 is a Wednesday, and four days on from a Wednesday is a Sunday. Easter is a Sunday, so the sum holds. That weekday check is worth learning, because it catches nearly every slip.
Inclusive or exclusive?
Think of fence posts. Ten posts have nine gaps. Counting gaps is exclusive and is what “days until” means. Counting posts is inclusive, and is what you want for hotel rotas, festival lengths or days of leave.
- Nights in a hotel from Friday to Monday: 3, so count the gaps.
- Days of leave from Monday to Friday: 5, so count the posts.
- Days until Christmas from 24 December: 1.
- “Sleeps” until something: the same as days until.
Contracts add a wrinkle. “Within 14 days of” may or may not include the first day. Look for the definition, and if there is none, act a day early.
In Excel or Google Sheets
Put the dates in A1 and B1. Then:
- =B1-A1 gives days between. Format the cell as a number or you will see a strange date.
- =B1-A1+1 includes both ends.
- =NETWORKDAYS(A1,B1) counts Monday to Friday, including both ends.
- =NETWORKDAYS(A1,B1,D1:D8) also removes the bank holidays listed in D1 to D8.
Note that the first is exclusive and NETWORKDAYS is inclusive. Mixing them in one sheet is the classic cause of a project plan that is always a day out. The 2027 bank holidays can be copied straight into the list, and official dates are on GOV.UK.
Counting back from a date
To find 28 days before an event, subtract. =B1-28 works, and lands on the same weekday. It is a handy fact: anything that is a multiple of seven days away shares a weekday. Pancake Day is 47 days before Easter. 47 is six weeks and five days, and five days back from a Sunday is a Tuesday.
Leap years and clock changes
If your range crosses 29 February in a leap year, there is one more day; 2028 is next. Clock changes do not alter the number of calendar days, but they can break timers that count in hours. A program dividing by 24 across the March change sees 23 hours and may round down.
Months and years are slippery
One month after 31 January is what? There is no 31 February, so different tools say 28 February or 3 March. For anything that matters, count in days or name the actual date.
Frequently asked questions
Do you count the first day?
For “days until”, no. For the length of an event, yes.
How many days are in six months?
Between 181 and 184, depending on the months.
How do I count working days?
Use NETWORKDAYS with a list of bank holidays. See working days in a year.
Is “days until” the same as “sleeps until”?
Yes, one sleep for each night in between.
Why is my answer one day out?
Usually because one method included both end dates and the other did not.
Related guides
- Solstice vs Equinox
- Do We Lose an Hour When Clocks Go Forward?
- Why Do the Clocks Change in the UK? A Short History
Dates checked on 25 November 2026. Seen an error? Tell us.