Date Calculator
This date calculator answers "how many days between two dates" exactly: pick the date-difference mode and it gives the total days (327 days from 1 January to 24 November 2026), the calendar breakdown in years, months and days, the whole weeks, and the weekday and weekend counts — or switch modes to add or subtract days, months and years from a date (24 November 2026 + 100 days is 4 March 2027), or to measure the time duration between two dates with times (09:00 to 17:30 is 8 hours 30 minutes). It is leap-year aware, counts real calendar months instead of a 30.42-day average, and works in UTC so no timezone or daylight-saving change can move a date by a day. Unlike the School Days Calculator, which counts school days on a school calendar with holidays, this tool counts plain calendar days between any two dates.
Pick the question you are asking; the fields below change to match it.
The first date — the "from" date. In add/subtract mode it is the date you start from (today if left blank).
1 = January, 12 = December.
Day of the month, 1–31 (29 February is allowed in leap years).
The second date — the "to" date (today if left blank).
1 = January, 12 = December.
Day of the month, 1–31.
Enter measurements to see results
Fill in the fields and your results will update instantly — no button needed.
How it works
Date difference is a plain day count: end date minus start date, counted in UTC so leap days are included automatically and no timezone or daylight-saving shift can move a date. 1 January 2026 → 24 November 2026 is 327 days (31 + 28 + 31 + 30 + 31 + 30 + 31 + 31 + 30 + 31 days for January–October, plus 23 days of November after the 1st). When the end date is earlier the count is negative: 24 November 2026 → 1 January 2026 is −327 days.
The years / months / days breakdown counts real calendar units, never a 30.42-day average: whole years run to the last anniversary of the start date, then whole calendar months run to the same day-of-month, then the leftover days. 1 January → 24 November 2026 is 0 years, 10 months (1 January → 1 November), 23 days (1 → 24 November). A month boundary borrows days from the real previous month, which is why 31 January → 28 February 2026 is 0 months, 28 days (January has 31 days).
Weekdays and weekend days are counted over the same span and always add up to the absolute total days: 1 January → 24 November 2026 has 233 weekdays (Monday–Friday) and 94 weekend days (Saturday–Sunday), and 233 + 94 = 327. Whole weeks are the total days divided by 7 and truncated toward zero, with the signed remainder shown — 327 days is 46 weeks and 5 days, and −327 days is −46 weeks and −5 days.
Adding or subtracting moves years and months on the calendar first, then weeks and days as a plain day count. A day that does not exist in the target month clamps to that month's last day: 31 January 2026 + 1 month is 28 February 2026 (February 2026 has 28 days), and 29 February 2024 + 1 year is 28 February 2025. Years and months are added together in one step, so 31 January + 2 months is 31 March, not 28 March. On the worked example, 24 November 2026 + 100 days is 4 March 2027: 6 days left in November, 31 in December, 31 in January, 28 in February 2027, then 4 days into March.
Time duration is the exact minute count between two date-times: 24 November 2026 09:00 → 17:30 is 8 hours 30 minutes — 510 minutes, 30,600 seconds. The whole-days split truncates toward zero (2 days 12 hours is 60 hours), and a duration that ends before it starts is negative on every part, so the sign is never hidden.
Worked examples
1 January 2026 → 24 November 2026 is 327 days
Total days: 24 November minus 1 January is 327 days (January–October add up to 304 days from the 1st, plus 23 days of November). Calendar breakdown: 0 years, 10 months (1 January → 1 November), 23 days. In whole weeks that is 46 weeks and 5 days (46 × 7 = 322), and 327 × 24 = 7,848 hours. Weekday count: 233 weekdays and 94 weekend days (233 + 94 = 327). 1 January 2026 is a Thursday and 24 November 2026 is a Tuesday.
24 November 2026 + 100 days is 4 March 2027
Count forward 100 days from Tuesday 24 November 2026: 6 days finish November (30 − 24), 31 days finish December (37 used), 31 days finish January (68 used), 28 days finish February 2027 (96 used), and the last 4 days land on 4 March 2027 — a Thursday (100 ÷ 7 leaves a remainder of 2, and Tuesday + 2 days is Thursday). The result is 100 days after the start, or 14 whole weeks. Subtracting 30 days instead lands on Sunday 25 October 2026.
How to measure
- Count the days between two dates by subtracting, not by adding the months up: the day count from 1 January to 24 November 2026 is 327, which is the 24 November day-of-year (328) minus 1 — adding "10 months and 23 days" only works if you know how long each of those months is.
- Check the direction before trusting a negative answer: a total of −327 days means the end date is before the start date, not that the calculation failed — swap the two dates to see the same span as +327 days.
- For "how many days until" a date, put today (or the earlier date) first and the future date second; the total-days row is the countdown, and the weekday row tells you which weekday the day falls on.
- When adding months, watch the end of the month: 31 January + 1 month is 28 February (29 in a leap year), not 31 February — the calculator clamps to the last day of the target month and says so in a warning, so check the result date before using it for a deadline.
- Use the weekday/weekend split for planning, not for payroll: it counts every Monday–Friday in the span and ignores public holidays, so a leave or project count that must exclude holidays needs the School Days Calculator or a holiday list on top.
- For a duration across midnight, enter the end date as the next day, not the same day: 22:00 → 06:30 on the same date is −15.5 hours, while 22:00 on 24 November → 06:30 on 25 November is the intended 8.5 hours.
Assumptions & limitations
Planning estimate
- Gregorian calendar dates only, 1900–2100. Dates before the Gregorian adoption in a given country, and other calendars, are out of scope.
- All date math is done in UTC so no local timezone or daylight-saving change can shift a date by a day; a moment recorded in a different timezone is counted by its calendar date and time as entered.
- The weekday/weekend split is a plain calendar count — public holidays are NOT subtracted. For school or work calendars with holidays, use the School Days Calculator instead.
- A 29 February date is counted as 1 March in non-leap years for the years/months/days breakdown (the same rule as the Age Calculator), so 29 February 2020 → 28 February 2021 is 0 years, 11 months, 30 days. Adding years or months uses the opposite corner rule instead — it clamps to the last day of the target month, so 29 February 2024 + 1 year is 28 February 2025. The two views differ by one day only on 29 February and 31st-day starts, and each mode states its rule.
- Time duration is minute precision: seconds are not asked for, so a duration is exact to the minute as entered. There is no timezone conversion — both date-times are read as UTC.
- The years / months / days breakdown and the weekday counts are always counted forward from the earlier date to the later one, even when the signed total is negative; the sign lives on the total-days, total-weeks and total-hours rows only.
Frequently asked questions
Subtract the start date from the end date: 1 January 2026 → 24 November 2026 is 327 days. The calculator also gives the calendar breakdown — 0 years, 10 months, 23 days — the whole weeks (46 weeks and 5 days), the weekday/weekend split (233 weekdays, 94 weekend days), and the total hours (7,848). If the end date is earlier, the total is negative: 24 November 2026 → 1 January 2026 is −327 days, and swapping the dates gives +327.
Pick "add or subtract time from a date", enter the start date and the number of days: 24 November 2026 + 100 days is 4 March 2027, a Thursday. You can add years, months and weeks in the same step — 15 March 2026 + 1 year and 2 months is 15 May 2027 (426 days later). If the day does not exist in the target month it clamps to the last day: 31 January 2026 + 1 month is 28 February 2026, and the calculator warns you when that happens.
That is the "Weekdays (Mon–Fri)" row: 1 January → 24 November 2026 has 233 weekdays and 94 weekend days, and the two always add up to the total days (233 + 94 = 327). It counts every Monday–Friday in the span, including public holidays — it is a plain calendar count, not a business-day count, so holidays must be subtracted separately if you need working days for leave or payroll.
This tool counts plain calendar days between any two dates, with no holidays removed. The School Days Calculator counts days on a school calendar — it works from term dates and a school holiday list, so it answers "how many school days are left in the term". For a birthday countdown, a deadline, or a project span, use this calculator; for a school term, use the School Days Calculator.
Leap days are included automatically because the day count is exact: 29 February 2020 → 29 February 2024 is 1,461 days (366 + 365 + 365 + 365), which is exactly 4 years. For the years/months/days breakdown, a 29 February date is counted as 1 March in non-leap years, so 29 February 2020 → 28 February 2021 is 0 years, 11 months, 30 days. When adding years or months, the date clamps instead: 29 February 2024 + 1 year is 28 February 2025.
Enter both dates and both times: 23 November 2026 20:15 → 24 November 2026 09:45 is 13 hours 30 minutes (810 minutes, 48,600 seconds), or 0 whole days, 13 hours and 30 minutes. Enter the end date as the next day — 22:00 → 06:30 on the same date is −15.5 hours, because the end moment is earlier than the start. A same-day 09:00 → 17:30 shift is 8 hours 30 minutes.