Days Between Dates
Count the number of calendar days between two dates.
Date difference
The result is the absolute number of calendar-day boundaries between the dates.
When to use this tool
Use this calculator to measure the elapsed calendar-day difference between two dates. It is useful for trip lengths, project timelines, event countdowns, and date comparisons.
How the result is calculated
The tool converts both dates to comparable date values and counts the number of day boundaries between them. The displayed result is the absolute difference, so reversing the dates does not create a negative number.
Worked example
If two dates are exactly one week apart, the result is seven calendar days.
What to keep in mind
Inclusive counting can differ from elapsed-day counting. If a rule says to count both the starting and ending dates, you may need to add one day to an elapsed-day result.
About our calculations
StraightTools is designed to show the method behind the answer, not just the result. Inputs are handled in your browser for this tool. For important financial, legal, medical, tax, safety, or contractual decisions, verify the result with an appropriate authoritative source or qualified professional.
Days between two dates
Use this calculator when you know both dates and want the elapsed calendar-day span between them. For a forward or backward offset from one date, use the Date Calculator.
Elapsed days and inclusive counting
Date spans can be described differently depending on whether the starting day, ending day, or both are counted. When a deadline or policy depends on inclusive counting, verify the rule being used rather than assuming every convention is the same.
Need working days instead?
Use the Business Days Calculator when weekends should be excluded from the count.