Skip to main content

    Date Difference Calculator

    Calculate the exact difference between two dates in years, months, weeks, days, hours, and minutes. See weekdays vs weekends.

    No signup. 100% private. Processed in your browser.

    Select two dates to instantly see the difference in years, months, weeks, days, hours, and minutes, plus weekday/weekend breakdown.

    Why Date Calculations Are Harder Than They Look

    Counting days between dates sounds trivial until you actually think about it. Months have 28, 29, 30, or 31 days. Years are 365 days — except leap years, which are 366. And "one month from January 31st" doesn't neatly land on February 31st because that date doesn't exist.

    This calculator handles all of that complexity. It uses the date-fns library to correctly compute differences across month boundaries, leap years, and varying month lengths. The result breaks down into years, months, weeks, and remaining days — plus total counts in each unit separately for when you need a single number.

    It also splits the count into weekdays and weekends, which is useful for project planning and business calculations. If you need only business days, use our dedicated Business Days Calculator.

    Quick Reference: Days in Each Month

    MonthDaysMonthDays
    January31July31
    February28/29August31
    March31September30
    April30October31
    May31November30
    June30December31

    What this means for you: February is the wildcard — 28 days normally, 29 in leap years (every 4 years, except centuries not divisible by 400). The next leap year is 2028.

    When You Need Date Differences

    Age Verification

    Calculate exact age in years, months, and days from a date of birth. Useful for forms, legal age checks, and milestone tracking.

    Contract Duration

    How long has a lease been running? When does the notice period end? Date differences remove the guesswork from legal timelines.

    Travel Planning

    Knowing the exact number of nights between departure and return dates helps with hotel bookings, travel insurance, and itinerary planning.

    Fitness & Health Tracking

    Track how many days you've been on a programme, how long until a race, or the gap between medical appointments.

    Common Date Difference Calculations

    ScenarioTypical DurationWatch For
    UK notice period (1 month)28-31 daysCalendar month, not 30 days
    Probation period (3 months)89-92 daysCheck if it's calendar or working days
    Standard pregnancy280 days (40 weeks)Counted from last menstrual period
    UK passport renewal3-10 weeksLonger during peak periods
    Cooling-off period (online)14 daysCalendar days from delivery date

    Related Tools

    How to use this tool

    1

    Enter the start date

    2

    Enter the end date

    3

    Click Calculate to see the full breakdown

    Common uses

    • Calculating exact age or time elapsed since a date
    • Determining contract and lease durations
    • Planning travel with accurate day counts
    • Tracking time between medical appointments or milestones

    Share this tool

    Frequently Asked Questions