Date Calculator

Count the days between two dates, or add and subtract days from a date to find a future or past date. Useful for deadlines, project timelines and planning.

Date Calculator

Difference between two dates

Add / subtract days

How it works: Date differences are counted on the real calendar, so month lengths and leap years are handled for you. Adding or subtracting days simply steps that many days forward or backward from your starting date.

How the Date Calculator Works

The Date Calculator does two related jobs with calendar dates. In its first mode it finds the difference between two dates, showing how much time separates them, and in its second mode it adds or subtracts a number of days from a starting date to find the date you land on. People use the difference mode for project timelines, notice periods, leave planning, loan dates, and counting down to events. The add and subtract mode is handy for deadlines, delivery estimates, appointments, and expiry dates.

For the difference, the calculator uses a real calendar breakdown rather than just dividing by an average month length. It counts the completed years first, then the completed months since the last yearly anniversary, and then the remaining days, borrowing the true length of the relevant month when needed. Alongside that breakdown it gives the total days, counted across the actual calendar including leap days, and splits that total into whole weeks plus remaining days, so 364 days is exactly 52 whole weeks. For adding or subtracting, it simply moves forward or backward day by day across month and year boundaries, using each month’s real length.

This calculator implements both modes with actual dates, so February in a leap year, months ending on the 30th or 31st, and changes of year are all handled without any manual counting. In difference mode the breakdown, total days, and weeks all describe the same period in different units, so you can pick the one your form or plan needs. In add and subtract mode you choose the starting date, enter how many days to move, and pick the direction. Adding zero days returns the starting date itself, a useful check that you entered the date you intended.

How to Use This Calculator

  1. Choose the mode you need: difference between two dates, or add or subtract days from a date.
  2. For a difference, enter the start date and the end date in the two date fields.
  3. For adding or subtracting, enter your starting date, type the number of days, and select add or subtract.
  4. Press Calculate to run the calculation.
  5. Read the breakdown in years, months, and days, the total days, and the weeks, or read your new resulting date.

Example

For a tested example in difference mode, enter 2026-01-01 as the first date and 2026-12-31 as the second date. The result is 364 total days, which is exactly 52 weeks with no days left over. The calendar breakdown for the same period is 0 years, 11 months, 30 days, because the span falls one day short of a full year from 1 January to the following 1 January. All three figures describe the same stretch of time in different units.

As a second example in add mode, start with 2026-11-02 and add 45 days. The resulting date is 2026-12-17. The count moves through November, which has 30 days, then into December, crossing the month boundary automatically.

Understanding Your Result

The breakdown and the total are both correct, but they answer slightly different questions. Use total days or weeks when a rule is written that way, such as a 90-day notice period, a 14-day cooling-off window, or a project measured in weeks. Use the years, months, and days breakdown when you are describing a period in everyday language, such as how long you have lived somewhere or how long a contract has left to run, because that is how people naturally talk about longer spans of time.

A few tips will help you avoid common date mistakes:

  • Be clear about whether endpoints count, because some deadlines include the start date and some start counting the next day; this calculator measures the difference between the dates themselves.
  • Remember that months are not a fixed number of days, so avoid converting months to 30 days for anything official.
  • If a result looks wrong, check the year on both dates, as dates in different years are the most frequent source of error.

Date Calculator FAQs

Does the difference include both the start and end dates?

The result measures the time between the two dates, so it is the number of days you must add to the first date to reach the second. It does not add an extra day for counting both endpoints inclusively, so add one yourself if your rule requires that.

How are weeks calculated from total days?

Whole weeks are found by dividing the total days by seven and keeping the whole number, with any leftover shown as remaining days. For example, 364 total days is exactly 52 weeks, with nothing left over.

Can adding days cross a leap day correctly?

Yes, the calculation moves across the real calendar, so if the period includes 29 February in a leap year it is counted like any other day. Month lengths, year changes, and leap years need no manual adjustment from you.

Can I subtract days to find an earlier date?

Yes, choose subtract, enter the number of days, and the calculator moves backward from your starting date. This is useful for start dates, earliest filing dates, and look-back periods.

Why is the months figure in the breakdown not simply total days divided by 30?

Because calendar months vary from 28 to 31 days, a breakdown based on real anniversaries is more accurate than an average. The calculator counts completed months from the actual start date.

Related calculators: Age Calculator, Salary Calculator, Percentage Calculator.