Quick answer
A date calculator does two jobs: it counts how many days lie between two calendar dates, and it moves a date forward or backward by a given number of years, months, weeks or days. Both are harder than they look. Counting days is ambiguous until you decide whether the last day counts, and adding a month is ambiguous until you decide what happens when the target month is too short. The tool above makes both choices explicit so the answer is never a guess.
days between = end date − start date 2 Jan 2026 − 1 Jan 2026 = 1 day
inclusive = (end − start) + 1 both endpoints counted = 2 days
new date = start date + offset 1 Jan 2026 + 30 days = 31 Jan 2026
What a date calculator does
Calendar arithmetic is not ordinary arithmetic. Months are 28, 29, 30 or 31 days long. Years are 365 or 366 days long, and the rule that decides which is not simply "every fourth year". Weeks do not divide evenly into months or years. Add all of that together and a question as innocent as "how many days until the deadline" has at least two defensible answers depending on how you count.
The tool above has two tabs. Days Between Dates takes a start date and an end date and reports the gap in days, weeks, months, years, working days, weekend days, hours and minutes, with a checkbox that switches between exclusive and inclusive counting. Add or Subtract takes a start date, a direction, and separate boxes for years, months, weeks and days, then returns the resulting date along with its day of the week, the total days moved, the day of the year, the ISO week number, and whether the target year is a leap year.
Internally, both tabs do the same thing that every reliable date library does. Each calendar date is converted to a single integer, a serial day number counted from a fixed epoch. Once dates are integers, the difference between two of them is a subtraction and moving a date is an addition. Month lengths, leap days and the awkwardness of the calendar are all baked into the conversion, so they cannot be forgotten halfway through a calculation. Only the month and year offsets need special handling, because a month is not a fixed number of days and so cannot be expressed as a serial offset at all.
The distinction that matters most in practice is between a duration and a count. A duration is how much time passes: from 1 January to 2 January, one day passes. A count is how many dated things you touch: 1 January and 2 January are two dates. Contracts, hotel bills, hospital stays, court deadlines and school terms are split roughly evenly between the two conventions, which is why the calculator shows both rather than picking one for you.
If you want the gap expressed in hours, minutes and seconds rather than whole days, the Time Duration Calculator takes times as well as dates. If you want a live count that ticks down on screen, use the Countdown Timer. And if the two dates are a birth date and today, the Age Calculator already applies the years, months and days breakdown that people expect for an age.