Date duration calculator
A date difference looks simple until you ask whether to include the last day, count only weekdays or express the answer in calendar months. This calculator gives all of those views from one pair of dates in DD/MM/YYYY format. It also shows a month-by-month timeline and lets you move the end date to test a different finish.
Choose your dates and counting rule
Dates use UK day/month/year order. The result updates as soon as you change either date.
Your date duration
- Weeks and days
- 17 weeks and 2 days
- Calendar months
- 3 months and 30 days
- Years and months
- 0 years and 3 months
- Weekdays only
- 87
The end date is not counted (standard date difference).
Moving the end date to 31/12/2026 gives 121 days.
Date duration result.
| Item | Value |
|---|
Days by calendar month
Month segments use real calendar lengths, including leap years.
How the date duration calculation works
The standard difference between two dates is the number of midnights you cross going from the first to the second. From 01/09/2026 to 02/09/2026 that is one day, not two. The calculator starts with that gap, then adds one day if you choose inclusive counting, which treats both named dates as part of the span.
Weeks are simply the day count divided by seven, and the tool also shows whole weeks plus leftover days. Calendar months are different: a month is not a fixed number of days. The calculator advances one month at a time from the start date, using the same day number where it exists and the last day of the month where it does not. It then reports the remainder in days. Years and months are derived from the whole-month count.
Weekday counting walks through the selected range and counts Monday to Friday only. It applies the inclusive choice as well, so a span that ends on a Friday will include that Friday only when the inclusive box is ticked. Leap years are handled by the calendar itself: a date range crossing 29 February includes that extra day when it occurs.
The timeline splits the span at each calendar month boundary. It is useful for seeing why a six-month period may not contain exactly 180 days, and why two ranges with the same month count can differ in days. The slider moves the end date by whole days so you can compare a slightly earlier or later finish.
Worked example: 01/09/2026 to 31/12/2026
September has 30 days, October 31, November 30 and December 31. The exclusive gap from 01/09/2026 to 31/12/2026 is 121 days. Tick the inclusive box and the count becomes 122, because both the first and last dates are counted. Divided by seven, 121 days is about 17.29 weeks, or 17 whole weeks and 2 days.
Advancing from 1 September by three calendar months reaches 1 December, leaving 30 days to 31 December, so the result is 3 months and 30 days. That is just under four months even though the range touches four named months. Between those dates there are 87 weekdays under the standard exclusive rule.
| View | Result |
|---|---|
| Exclusive day gap | 121 days |
| Inclusive day span | 122 days |
| Weeks and days | 17 weeks, 2 days |
| Calendar months | 3 months, 30 days |
| Weekdays, exclusive end | 87 |
Month arithmetic is not the same as adding 30 days at a time. The calculator uses real calendar boundaries.
Counting rules used here
Three conventions matter: the date format, whether the end date is counted and whether weekends are included. The table records the rules applied on this page. Last reviewed 27/11/2026.
| Item | Rule |
|---|---|
| Accepted date formats | DD/MM/YYYY or YYYY-MM-DD |
| Default counting mode | Exclusive of the end date |
| Inclusive mode | Adds one day to the gap |
| Weekday definition | Monday to Friday |
| Reversed dates | Swapped, with a note |
Getting a reliable count — and avoiding mistakes
Decide what the count is for before choosing a mode. If you need to know how many days a room is booked including both arrival and departure, inclusive is usually the right view. If you are measuring the gap between two milestones, the standard exclusive difference is clearer. Write down which rule you used so a later check agrees.
Common errors include mixing American and UK date order, treating a month as always 30 days, and assuming weekdays mean the same thing as working days. Public holidays are not removed by this tool. The calculator also does not know about time zones or times of day: it counts calendar dates only, which is why it rejects an ambiguous entry rather than guessing.
Common durations compared
These examples use the standard exclusive end-date rule.
| Range | Days | Weeks and days |
|---|---|---|
| 01/09/2026 to 30/09/2026 | 29 | 4 weeks, 1 day |
| 01/09/2026 to 31/12/2026 | 121 | 17 weeks, 2 days |
| 01/01/2027 to 31/12/2027 | 364 | 52 weeks, 0 days |
| 01/03/2028 to 31/03/2028 | 30 | 4 weeks, 2 days |
For percentages of a year or changes over time, the everyday calculators hub collects related tools.
Frequently asked questions
How many days are between two dates?
What is the difference between inclusive and exclusive counting?
How does the calculator count calendar months?
Can I count weekdays only?
Does the calculator handle leap years?
Which date format should I enter?
What if I enter the later date first?
Can I use this for working out pay or rent?
Related calculators
Sources, review date and disclaimer
Last reviewed: 27/11/2026. Rates verified: not applicable — this page uses calendar arithmetic rather than official financial rates.