How it works
This date calculator has two modes. Switch between them with the tabs at the top.
Difference between two dates
Pick a start date and an end date. The calculator finds the gap between them in a few useful units at once. The math is order-independent: it always measures from the earlier date to the later one, so you get the same answer whichever box you put each date in.
- Total days is the raw number of calendar days between the two dates. It is the difference in milliseconds divided by the length of a day, rounded to the nearest whole day. This counts elapsed days (nights), so the start date itself is not counted.
- Calendar breakdown expresses the same gap in years, months, and days. It works the way a person counts an age or an anniversary: it compares the year, month, and day parts and borrows from the larger unit when the day or month goes negative. This respects the real length of each month, so the same number of days can be a different breakdown depending on which months it spans.
- Total weeks divides the day count by 7. The leftover shows the remaining days, so 52 weeks and 0 days is a full non-leap year.
Add or subtract from a date
Pick a start date, choose Add or Subtract, type an amount, and pick a unit (days, weeks, months, or years). The result is shown in full, for example Saturday, 15 August 2026.
Days and weeks are simple: the tool moves the date forward or back by that many days (a week is 7 days). Months and years are calendar-aware. Adding a month keeps the same day number where possible, but if the target month is shorter the extra days roll into the next month. For example, 31 January plus 1 month gives 3 March, because February is not long enough to hold a 31st. Likewise, adding a year to 29 February gives 1 March in a non-leap year.
A note on precision
All calculations use whole calendar dates, not clock time, so daylight saving changes and time zones do not shift the result. If you need working days, remember that this tool counts every day, weekends included.