Date differences
without the guesswork
Counting days between dates, and the small rules that trip people up.
Calcylator Editorial Team
Updated · 5 min read
Inclusive or exclusive: do you count the first day?
Counting days looks trivial until a form asks for the exact number. Three things cause most wrong answers: whether the first day counts, how long each month is, and whether weekends are included.
Take the first one. The plain difference, called exclusive counting, leaves the start day out: from 10 June to 11 June is 1 day. Inclusive counting includes both ends, so the same dates give 2 days.
Most calculators, ours included, give the plain difference: end date minus start date. Add 1 when a form, contract or leave application says both days are included. When the wording is unclear, ask or check the document.
For example, take leave from 5 March to 7 March 2026. The plain difference is 2 days, but if the first and last day both count as leave, you are away for 3. When late fees or interest are charged per day, that one day can change the amount.
Months are uneven, and leap years add a day
| Month | Days | Month | Days |
|---|---|---|---|
| January | 31 | July | 31 |
| February | 28 (29 in a leap year) | August | 31 |
| March | 31 | September | 30 |
| April | 30 | October | 31 |
| May | 31 | November | 30 |
| June | 30 | December | 31 |
A year is a leap year if it is divisible by 4, except for century years, which must also be divisible by 400. So 2024 and 2028 are leap years, 2000 was one, but 1900 and 2100 are not. A normal year has 365 days and a leap year has 366.
This is why 28 February to 1 March is 1 day in 2026 but 2 days in 2024. Over a full year it adds up: 1 January 2026 to 1 January 2027 is 365 days, but 1 January 2024 to 1 January 2025 is 366.
A quick memory aid: make a fist and count the months along your knuckles and the gaps between them. Each knuckle is a 31-day month and each gap is a shorter one. Start again on the first knuckle for August.
Turning days into weeks and months
- days:
- the number of days between the two dates
Months are harder because a month is not a fixed number of days. Two months after 15 January is 15 March, 59 days later in 2026. Two months after 15 March is 15 May, 61 days later. For a rough conversion, a year is about 52 weeks and a day, and an average month is about 30.4 days (365 ÷ 12).
Month ends are a trap. There is no 31 February, so one month after 31 January has no single obvious answer, and tools and contracts handle it differently. For a precise deadline, count exact days instead of months.
Worked example: 15 January to 20 March 2026
Count the days left in the start month, add the full months in between, then add the days elapsed in the end month.
Rest of January (after the 15th)
16 days
February 2026
28 days
March, up to the 20th
20 days
Days between 15 Jan and 20 Mar 2026
64 days
16 + 28 + 20 = 64. That is 9 weeks and 1 day, or 2 months and 5 days. Counting both dates gives 65.
Check it a second way: 15 January to 15 March is 31 + 28 = 59 days, and 15 March to 20 March adds 5 more, which is also 64.
Adding days, and a caution on business days
Counting forward works the same way, which helps with invoice due dates, return windows, notice periods and trial end dates. An invoice dated 1 March 2026 with payment due in 30 days falls due on 31 March 2026. 45 days after 15 January 2026 is 1 March 2026.
Notice periods show the inclusive question again. A 30-day notice given on 10 November 2026 ends on 10 December 2026 if the first day is not counted, and a day earlier if it is. The Add Days to a Date Calculator does the counting for you.
The Age Calculator applies the same logic to a date of birth, but counts only completed years. Someone born on 15 January 2000 is 25 on 14 January 2026 and turns 26 the next day.
Common questions
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one. By hand, count the days left in the start month, add the full months in between, then add the days elapsed in the end month. From 15 January to 20 March 2026 that is 16 + 28 + 20 = 64 days.
Do I count the start date when finding days between dates?
It depends on the rule you are following. The plain difference does not count the start date, so 15 to 16 January is 1 day. If a form or contract says both dates are included, add 1. When the wording is unclear, check the document or ask.
How do I know if a year is a leap year?
A year is a leap year if it is divisible by 4, except century years, which must also be divisible by 400. So 2024 and 2028 are leap years, 2000 was one, but 1900 and 2100 are not. A leap year adds 29 February.
How many weeks are there between two dates?
Divide the number of days by 7. The whole number is the weeks and the remainder is extra days. For example, 64 days is 9 weeks and 1 day, because 9 × 7 = 63. Months do not divide into a fixed number of weeks.
Does a days-between-dates count include weekends and holidays?
Yes. A calendar-day count includes every day, weekends and public holidays too. If a deadline is in working days or business days, the count is lower, and the rules for holidays vary, so check how the deadline is defined.
Was this guide helpful?
Continue reading
View all blogsAge calculations, explained
Learn different ways to calculate age, from exact years to days, with clear examples.
4 min read
How to calculate EMI: a simple guide
Understand how EMI works, learn the formula, and see a step-by-step example to calculate your monthly payments with ease.
6 min read
A quick guide to unit conversions
Convert between common units for length, weight, temperature and more, with clear examples.
5 min read







