Measure the time between two dates in years, months, days and totals.
Measure the time between two dates in years, months, days and totals.
Enter values above and click Calculate — results will appear here with the formula explained.
Two ways of stating a duration are both useful and both correct. The calendar breakdown (years, months, days) matches how contracts, ages and anniversaries are phrased. The total-day count matches how interest accrual, deadlines and project plans are computed. They disagree because months vary from 28 to 31 days — 'one month' from January 30 is ambiguous and conventions differ, so whenever precision matters, cross-check both formats.
Inclusive versus exclusive counting is the classic off-by-one trap. Elapsed time between midnights (this calculator, nights in hotels, age) excludes the end date; inclusive counts (days on a roster including both endpoints, some statutory deadlines) include it — exactly one day apart. When a contract says '30 days after March 1', confirm whether March 31 or April 1 is the deadline under local interpretation before relying on either total here.
Leap years and time zones enter subtly. February 29 adds its day to totals and can shift month/day breakdowns; Gregorian rules apply throughout. Calendar dates here ignore time-of-day and zones — a 23-hour daylight-saving transition day is still one calendar day, and a flight crossing zones measures duration by local-date gap, not block time. For hour-level precision, use timestamp differences, not calendar gaps.
Business-day math is a different domain with weekday, holiday and convention rules: 5-day weeks, federal/state holiday calendars, settlement conventions (T+1, ACT/360), and cutoff times. This calculator reports calendar gaps; business-day counts need holiday tables and weekend logic (see the dedicated business-days tool). Rough mental conversion: multiply calendar days by ~5/7 after removing edge weeks for a quick estimate before looking up the precise count.
Duration feeds many downstream numbers: interest accrual (days ÷ 360 or 365 × rate), age and tenure milestones, project critical-path float, medication and leave balances, and contract cure periods. Small miscounts compound: a 2-day error on a $500k bridge loan at 10% costs ~$270 in interest — cheap compared to a missed statutory deadline where one day can void a filing.
Long spans deserve sanity checks: check both the calendar breakdown and the total-days figure, then convert totals to weeks (÷7), hours (×24) and pay periods for the context at hand. When reporting durations publicly (press releases, filings, invoices), quote the explicit totals alongside the breakdown to prevent readers from choosing the wrong interpretation.
Measure the time between two dates in years, months, days and totals. Formula: calendar difference between two dates. Example: From January 15 to March 20 of a non-leap year: 2 months and 5 days, or 64 total days — nine full weeks plus one day.
Two ways of stating a duration are both useful and both correct. The calendar breakdown (years, months, days) matches how contracts, ages and anniversaries are phrased. The total-day count matches how interest accrual, deadlines and project plans are computed. They disagree because months vary from 28 to 31 days — 'one month' from January 30 is ambiguous and conventions differ, so whenever precision matters, cross-check both formats.
Inclusive versus exclusive counting is the classic off-by-one trap. Elapsed time between midnights (this calculator, nights in hotels, age) excludes the end date; inclusive counts (days on a roster including both endpoints, some statutory deadlines) include it — exactly one day apart. When a contract says '30 days after March 1', confirm whether March 31 or April 1 is the deadline under local interpretation before relying on either total here.
Leap years and time zones enter subtly. February 29 adds its day to totals and can shift month/day breakdowns; Gregorian rules apply throughout. Calendar dates here ignore time-of-day and zones — a 23-hour daylight-saving transition day is still one calendar day, and a flight crossing zones measures duration by local-date gap, not block time. For hour-level precision, use timestamp differences, not calendar gaps.
Business-day math is a different domain with weekday, holiday and convention rules: 5-day weeks, federal/state holiday calendars, settlement conventions (T+1, ACT/360), and cutoff times. This calculator reports calendar gaps; business-day counts need holiday tables and weekend logic (see the dedicated business-days tool). Rough mental conversion: multiply calendar days by ~5/7 after removing edge weeks for a quick estimate before looking up the precise count.
Duration feeds many downstream numbers: interest accrual (days ÷ 360 or 365 × rate), age and tenure milestones, project critical-path float, medication and leave balances, and contract cure periods. Small miscounts compound: a 2-day error on a $500k bridge loan at 10% costs ~$270 in interest — cheap compared to a missed statutory deadline where one day can void a filing.
Long spans deserve sanity checks: check both the calendar breakdown and the total-days figure, then convert totals to weeks (÷7), hours (×24) and pay periods for the context at hand. When reporting durations publicly (press releases, filings, invoices), quote the explicit totals alongside the breakdown to prevent readers from choosing the wrong interpretation.
From January 15 to March 20 of a non-leap year: 2 months and 5 days, or 64 total days — nine full weeks plus one day. An inclusive roster counting both endpoints would be 65 days. A contract case: '90 days after January 1' under elapsed-time counting lands April 1 (90 days later); under inclusive counting lands March 31 — one day decides compliance on 90-day cure clauses.
Formulas are standard public references (see our methodology). External standards are cited in the text where they apply.
Last reviewed: September 2026 · Report an error