Utility

Date difference calculator

Find the exact time between two dates: days, weeks, months and years.

Result
Select both dates to see the result.
Total days
Weeks and days
Months and days
Years, months and days

Frequently asked questions

The uses are very diverse. In work and legal contexts it is helpful for calculating the length of contracts, expiry deadlines, or warranty periods. In healthcare, it can help estimate weeks of pregnancy or the time elapsed since a diagnosis date. On a personal level, it is useful for knowing how many days are left until an anniversary, a wedding, or a trip — or simply to find out how long you have been in a new job or a new city. The tool displays the result simultaneously in years, months and days, as well as in total days, weeks and months.

Counting exact months is not trivial because months have different lengths. The algorithm advances month by month from the start date and checks whether the target day has been reached. When the destination month has fewer days than the origin month (for example, moving from January 31 to February 28 in a non-leap year), it adjusts to the last available day of that month. That is why between January 31 and March 31 there are exactly 2 months, but between January 31 and February 28 there are 28 days even though it does not count as a full month.

This calculator counts calendar days — that is, every consecutive day including Saturdays, Sundays and public holidays. It does not distinguish between working days and non-working days, and does not take into account public holidays for any particular country. To obtain business days you would need an additional tool that excludes weekends and your region's holiday calendar. That said, knowing the total number of calendar days is still the first step for many deadline calculations.

Yes, and that is completely normal. Calendar months have between 28 and 31 days, so dividing days by 30 is only an approximation. For example, between January 1 and March 1 there are exactly 2 months, but the number of days depends on the year (59 days in a regular year, 60 in a leap year). In another scenario, 60 days from January 1 may land on March 1 or 2, but the month difference could be expressed as 1 month and several days. For precise deadline calculations it is always better to work with exact dates rather than multiplying or dividing by 30.

Lawyers and legal professionals use it to calculate prescription deadlines, contract expiry dates, warranty periods, and procedural terms where every day matters. Human Resources professionals use it to determine seniority, the length of fixed-term contracts, or accumulated vacation time. Doctors and healthcare workers use it to estimate weeks of pregnancy, time elapsed since a diagnosis, or treatment durations. Project managers use it to measure real progress between milestones or calculate how many days remain until a delivery date. Event planners use it to find out exactly how much time is left before a wedding, conference, or deadline. Accountants and auditors consult it to verify fiscal periods, invoice due dates, or the age of outstanding debts.

On desktop, press Ctrl + D (Windows/Linux) or Cmd + D (Mac) in Chrome, Firefox, or Edge to add this page to your bookmarks instantly. In Safari for Mac, use Cmd + D or go to Bookmarks → Add Bookmark. On mobile with Chrome (Android), tap the three-dot menu (⋮) and choose "Add to Home screen" or "Add to bookmarks." On mobile with Safari (iPhone/iPad), tap the share button (□↑) and then "Add to Home Screen." Once on your home screen, open it with a single tap — no need to search for the URL every time you need to calculate a deadline.