Everyday · dates and time

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.

Format: DD/MM/YYYYViews: Days, weeks, monthsExtra: Weekday count

Choose your dates and counting rule

Dates use UK day/month/year order. The result updates as soon as you change either date.

Live calculation

For example 01/09/2026.

The earlier date is swapped in automatically.

Leave unticked for the standard gap between dates.

Monday to Friday, using the same inclusive choice.

0 days

Your date duration

121days · 17.29 weeksfrom 01/09/2026 to 31/12/2026
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.

Date difference breakdown
ItemValue

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.

One date range, several answers
ViewResult
Exclusive day gap121 days
Inclusive day span122 days
Weeks and days17 weeks, 2 days
Calendar months3 months, 30 days
Weekdays, exclusive end87

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.

Duration rules and assumptions
ItemRule
Accepted date formatsDD/MM/YYYY or YYYY-MM-DD
Default counting modeExclusive of the end date
Inclusive modeAdds one day to the gap
Weekday definitionMonday to Friday
Reversed datesSwapped, 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.

Example ranges and day counts
RangeDaysWeeks and days
01/09/2026 to 30/09/2026294 weeks, 1 day
01/09/2026 to 31/12/202612117 weeks, 2 days
01/01/2027 to 31/12/202736452 weeks, 0 days
01/03/2028 to 31/03/2028304 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?
Subtract the earlier date from the later one using calendar dates. From 01/09/2026 to 31/12/2026 the difference is 121 days; counting both dates as part of the span gives 122.
What is the difference between inclusive and exclusive counting?
Exclusive counting measures the gap and does not count the end date. Inclusive counting treats both the start and the end as days in the span, adding one to a simple gap.
How does the calculator count calendar months?
It moves forward one month at a time from the start date, clamping to the last valid day where needed, and reports whole months plus the remaining days.
Can I count weekdays only?
Yes. Select the weekday option and the tool counts Monday to Friday between the dates, applying your inclusive or exclusive choice to the same range.
Does the calculator handle leap years?
Yes. Dates are parsed as calendar dates and the day counts use real calendar lengths, so a span crossing 29 February is calculated correctly.
Which date format should I enter?
Use DD/MM/YYYY, the usual UK order, for example 01/09/2026. ISO style YYYY-MM-DD is accepted too, but ambiguous formats such as 03/04 are deliberately rejected.
What if I enter the later date first?
The dates are swapped automatically for the count and a note explains the swap. The result is always a non-negative duration.
Can I use this for working out pay or rent?
It can count days and weekdays, but pay and rent have their own conventions. Use a dedicated pay or rent tool for money calculations rather than relying on a raw day count.

Sources, review date and disclaimer

Last reviewed: 27/11/2026. Rates verified: not applicable — this page uses calendar arithmetic rather than official financial rates.

DisclaimerThis content is for information only and is not financial, tax, legal or medical advice. Check the rules of your own organisation or agreement before using a day count for pay, leave or contractual purposes.