Date Duration Calculator

Count the exact time between any two dates — in days, weeks, months, or years plus remainder.

Date duration calculator tools answer a simple question that is surprisingly easy to get wrong by hand: how much time passes between two dates? Enter a start date and an end date, and this page shows the gap as total days, as weeks and days, and as a calendar breakdown in years, months and days. This guide explains exactly how each figure is worked out, with worked examples you can check, so you never have to trust a number you cannot follow.

Date duration calculator

How to use this date duration calculator

Using the tool at the top of the page takes less than a minute:

  1. Enter the earlier date in the start date field.
  2. Enter the later date in the end date field.
  3. Read the result as total days, weeks and days, and the full years, months and days breakdown.

If you want the age between two dates instead — for example, a birth date and today — the same calculation applies, and our age difference calculator explains that case in more detail. If you want to count down to a date that is still coming, try the birthday countdown instead.

How the calculation works

Three different answers are often confused with each other, so it helps to keep them apart.

Total days. This is the plain count of days from the start date up to, but not including, the end date. So 1 January to 2 January is 1 day, and 1 January to 31 December 2026 is 364 days. The end date itself is not counted as a full day. If you need to count both endpoints — for example, a holiday that runs from Monday to Friday inclusive — add 1 to the total.

Calendar breakdown (years, months, days). This counts whole calendar years first, then whole calendar months, then leftover days, always using real month lengths. Months are never converted from total days by dividing by 30, because months have 28, 29, 30 or 31 days. The rule for leftover days is the borrowing rule: if the end day is smaller than the start day, borrow the whole of the previous completed month. For example, from 13 March 2020 to 9 May 2024: 13 March 2020 to 13 March 2024 is 4 years, 13 March to 13 April 2024 is 1 month, and 13 April to 9 May is 26 days after borrowing April’s 30 days — giving 4 years, 1 month and 26 days, or 1,518 days in total.

Weeks and days. Total weeks are total days divided by 7, with the remainder shown as leftover days. A span of 201 days is 28 weeks and 5 days, not just “28 weeks” — the leftover days matter, and a good result always shows them.

Months only. The same whole months as the calendar breakdown, without splitting them into years: years multiplied by 12, plus the remaining months, plus the leftover days. A span of 36 years, 4 months and 20 days is 436 months and 20 days.

One more rule worth knowing: dates here are whole calendar days, with no times attached. Time zones and daylight saving changes cannot shift the result, because no hours are involved at all.

Worked examples

Example 1 — a long life span. From 15 June 1990 to 4 November 2026, the calendar breakdown is 36 years, 4 months and 20 days: 15 June 1990 to 15 June 2026 is 36 years, 15 June to 15 October 2026 is 4 months, and 15 October to 4 November 2026 is 20 days. The same span is 13,291 days in total, which is 1,898 weeks and 5 days (1,898 × 7 = 13,286, plus 5), or 436 months and 20 days. If you want this kind of span expressed as an age, the chronological age calculator on the homepage does exactly this calculation from a date of birth.

Example 2 — a project of a few months. From 1 March 2025 to 18 September 2025: 1 March to 1 September 2025 is 6 whole months, and 1 September to 18 September is 17 days, giving 6 months and 17 days. Counting the days month by month — 31 (March) + 30 (April) + 31 (May) + 30 (June) + 31 (July) + 31 (August) + 17 (September) — gives 201 days, which is 28 weeks and 5 days (28 × 7 = 196, plus 5).

Example 3 — a leap-year edge case. From 28 February 2024 to 1 March 2024 is 2 days, because 29 February 2024 falls between them and is counted like any other day. And from 29 February 2024 to 28 February 2025 is exactly 1 year: a 29 February date counts on 28 February in a non-leap year, never on 1 March — that is this site’s rule, and it keeps anniversaries and yearly counts on the same side of the month boundary. The total is 365 days, or 52 weeks and 1 day.

Date duration calculator for business days

A business-day count is different from a plain day count: it counts only weekdays, Monday to Friday, and skips Saturdays and Sundays. Public holidays are not subtracted in a plain weekday count, because holidays differ from country to country and even from region to region — a count that claims to skip “holidays” without saying which country’s holidays is not a count you can check. A date duration calculator is the starting point for that count, because it first gives the full calendar span from which the weekdays are taken.

To count business days by hand, step through the weekdays in the range, skipping weekends. For example, from Monday 6 January 2025 to Friday 17 January 2025: the weekdays from 6 January up to, but not including, 17 January are Monday 6 to Friday 10 (5 days) plus Monday 13 to Thursday 16 (4 days), giving 9 business days. If you count the end date as well, the total is 10. Saying which convention you used matters more than the number itself — most disagreements about business days come from one person counting the end date and the other not.

Business-day counts are what project deadlines, notice periods and delivery estimates usually run on. If a contract says “10 working days”, count weekdays only, agree whether the start and end dates count, and check the relevant public holidays separately.

Practical uses

A date duration calculator turns those everyday questions into exact answers, whether the span is a few days or several years.

  • Project planning: measure a project phase in weeks and days, not just “about six months”, so milestones land on real dates.
  • Notice periods and deadlines: count the exact days between giving notice and the last day, and check whether weekends count under your agreement.
  • Travel and visas: many stays are limited to a set number of days, and a single miscounted day can matter — always confirm whether the arrival and departure days both count.
  • Subscriptions and memberships: work out how many days are left in a term, or how long a term actually ran.
  • Anniversaries and milestones: find the exact span to a wedding anniversary, a work anniversary, or a 10,000-day milestone. For birthday-style milestones, the birthday countdown counts down to the next one.
  • School and study terms: measure a term or a course in weeks and days, which is how timetables are usually built. Our school starting age calculator covers the related question of how old a child is on a school cutoff date.

Adding or subtracting a duration from a date

Sometimes the question runs the other way: given a start date and a duration, what date do you land on? The safe method is to add whole months first, then days. When a month addition lands on a day that does not exist, clamp to the last day of that month: 31 January 2025 plus 1 month is 28 February 2025, because February 2025 has only 28 days. Then add the remaining days normally: 28 February 2025 plus 1 day is 1 March 2025 A date duration calculator can confirm the result, because the span from the start date to the landing date should match the duration you added or subtracted.

The same idea works for ages and retirement planning. If you need the date someone reaches a particular age, or the date a retirement age is reached, start from the birth date and add whole years first, then months, then days — which is the same calculation our retirement age calculator and decimal age calculator are built around. For spreadsheet work, the same logic appears in date functions; our guide to how to calculate age in Excel shows the formulas step by step.

Common mistakes

A date duration calculator helps you avoid these mistakes, because it applies the calendar rules consistently instead of relying on rough month lengths or endpoint guesses.

  • Counting both endpoints without saying so. From Monday to Friday is 4 days of elapsed time, but 5 days if you count both endpoints. Pick one convention and state it.
  • Dividing total days by 30 to get months. Months are not 30 days long, so this always drifts — sometimes by several days over a long span.
  • Forgetting 29 February. Any span that crosses a leap-year February gains an extra day. Spans that look like whole years on paper (for example, 1 March 2023 to 1 March 2024) still contain 366 days if they cross 29 February 2024.
  • Dropping leftover days. A result of “69 weeks” for a 487-day span hides 4 days (69 × 7 = 483, plus 4). Always keep the remainder.
  • Mixing up the borrowing rule. When the end day is smaller than the start day, borrow the whole previous month — not 30 days flat. Borrowing 30 days in a 31-day month, or in February, gives a wrong answer.

Frequently asked questions

How do I calculate the number of days between two dates?

Subtract the earlier date from the later date, counting the days in between but not the end date itself. For example, from 1 January to 10 January is 9 days. A duration calculator does this count for you and also converts the result into weeks, months and years.

How many days are in 6 months?

It depends on which six months, because months have different lengths. Six months from 1 January to 1 July 2025 is 181 days (31 + 28 + 31 + 30 + 31 + 30), while six months from 1 August 2025 to 1 February 2026 is 184 days. Always count the actual calendar months involved.

How do I calculate weeks between two dates?

Divide the total days by 7 and keep the remainder as leftover days. For example, 201 days is 28 weeks and 5 days, because 28 × 7 = 196 and 201 − 196 = 5.

Do you count the start date or the end date?

The standard convention used here counts the start date as day zero and does not count the end date as a full day, so 1 January to 2 January is 1 day. If you need to count both endpoints — for example, a trip that runs Monday to Friday inclusive — add 1 to the total.

How does a date duration calculator handle leap years?

It counts 29 February like any other day whenever it falls inside the span. A span that crosses 29 February therefore has one more day than the same span in a non-leap year, and a span from 29 February to 28 February in the next year counts as exactly 1 year.

What is the difference between total days and the years, months and days breakdown?

Total days is a single count of days, while the breakdown splits the same span into whole calendar years, then whole calendar months, then leftover days, using real month lengths. Both describe the same span: 13,291 days is the same span as 36 years, 4 months and 20 days for the example from 15 June 1990 to 4 November 2026.

How do I add a duration to a date?

Add whole months first, then days. If adding months lands on a day that does not exist, clamp to the last day of that month — 31 January 2025 plus 1 month is 28 February 2025 — and then add the remaining days normally.

How many business days are in a given period?

Count only weekdays, Monday to Friday, skipping Saturdays and Sundays. For example, from Monday 6 January 2025 to Friday 17 January 2025 there are 9 business days up to, but not including, the end date, or 10 if you count the end date as well. Public holidays are not subtracted in a plain weekday count, because they differ by country and region.

Can I use this calculator for ages?

Yes. The span from a birth date to today is exactly the person’s age in years, months and days, which is the same calculation a chronological age calculator performs. For a full age result, including age in total days and weeks, use the homepage calculator instead.

Is 1 January to 31 January 30 days or 31 days?

It is 30 days of elapsed time: 31 January minus 1 January is 30 days. It covers 31 calendar dates if you count both endpoints, which is why stating your convention matters whenever the answer could be off by one.