Formula and example
The total-day result subtracts the UTC date values to avoid daylight-saving time shifts. For example, January 1 to January 31 is 30 days, or 31 days when the end date is included.
Calculators & Converters
Calculate the number of days, weeks, months, and years between two calendar dates directly in your browser.
No account or server processing required.
Calculator
Pick a start and end date to calculate total days, weeks, and a calendar-style years/months/days difference.
4 weeks and 2 days
2026-06-01 to 2026-07-01
The end date is after the start date.
Select a start date and an end date. The calculator returns the absolute difference in total days, a weeks and days breakdown, and a calendar-style years, months, and days result.
The total-day result subtracts the UTC date values to avoid daylight-saving time shifts. For example, January 1 to January 31 is 30 days, or 31 days when the end date is included.
This date calculator is part of the calculators and converters collection for quick planning and everyday math.
By default, it does not include the end date. Turn on Include end date when you want both the start and end calendar days counted.
The calculator shows the absolute difference and notes that the end date is before the start date.
No. The dates are calculated locally in your browser and are not sent to a server.
Estimate file size from bitrate and duration, or convert between MB, MiB, GB, and GiB.
Calculators & ConvertersCalculate percent of, what percent, and percentage increase or decrease locally.
Calculators & ConvertersCheck file size, extension, image dimensions, and PDF page count against common upload rules locally.
Image ToolsCalculate missing width or height from an aspect ratio for images, videos, and layouts.