Calendar units are borrowed separately
Years, months, and days are calculated from calendar fields, borrowing days from the previous month when the end day is earlier than the start day.
Calculate the exact difference between two dates in years, months, weeks, days, and business days.
Select or type the starting date for your calculation.
Select or type the ending date to compare against.
See the gap in years, months, days, weeks, and total days.
This calculator reports a calendar difference in years, months, and days as well as total days, complete weeks, remaining days, total months, and weekdays. It also adds or subtracts a selected number of calendar days from another date. Dates are created at local midnight so the visible day stays tied to the user-entered calendar value.
A concrete input and expected output from the current implementation.
Input
Start 2026-07-01; end 2026-07-30
Expected output
29 total days; 4 weeks and 1 day
Elapsed-day difference excludes the starting instant. The separate business-day count includes weekdays encountered while walking across the selected endpoints.
Years, months, and days are calculated from calendar fields, borrowing days from the previous month when the end day is earlier than the start day.
The absolute time difference is divided by 86,400,000 milliseconds and rounded. Daylight-saving transitions can complicate local-midnight arithmetic in some timezones.
Months have different lengths. One calendar month can span 28, 29, 30, or 31 days.
Not always. This tool excludes Saturday and Sunday only. Local holidays, shutdowns, and alternate workweeks require a calendar specific to the organization.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Calculate percentages, percentage change, and what percent one number is of another with step-by-step breakdowns.
Calculate tips and split bills between multiple people with customizable tip percentages and rounding options.
Calculate monthly payments, total interest, and generate amortization schedules for loans and mortgages.
Calculate Body Mass Index from height and weight with category classification and healthy range guidance.
Calculate sale prices, savings amounts, and final costs after single or stacked percentage discounts.
Compute mean, median, mode, standard deviation, variance, and other descriptive statistics from a data set.