Date range calculator
Days Between Dates Calculator
Find the exact number of days between any two dates. See the result in weeks and calendar time, include the end date when needed, or count weekdays only.
in this range
Calculate the time between two dates
Enter any two dates in either order. CalcNest will measure the distance between them and show exactly how the dates relate.
Understanding the result
How are the days between two dates calculated?
A date difference measures the amount of calendar time separating two dates. For a standard calculation, CalcNest counts the elapsed days from the earlier date up to the later date.
That sounds simple, but months have different lengths, leap years add an extra day, and sometimes you may want to count both dates or ignore weekends. The calculator handles those differences automatically.
What the calculator does
Your result is calculated from the actual calendar dates rather than assuming every month or year contains the same number of days.
CalcNest identifies which date is earlier and which is later, even if you entered them in reverse order.
The calculator measures the number of calendar-day boundaries between the two dates, automatically accounting for month lengths and leap years.
If selected, CalcNest can include the final boundary date or restrict the main result to Monday-to-Friday weekdays.
September to October
September contains 30 days, so moving from 1 September to 1 October is an elapsed difference of 30 days. If you choose to include the final date, the counted range becomes 31 days.
Counting conventions
Should you include the final date?
It depends on what you are trying to count. A time difference and a count of calendar dates are not always the same thing.
1 September to 2 September is 1 day apart. This measures elapsed time between the dates.
Counting 1 September and 2 September gives 2 counted dates.
A date compared with itself is 0 days apart, or 1 counted date when the final boundary is included.
Two useful answers
Total days vs calendar years, months and days
CalcNest shows both because they answer slightly different questions. Total days measures the entire interval as one continuous count, while the calendar difference describes that same interval using calendar units.
Useful when you need one exact number for a countdown, deadline, duration or comparison.
Useful when you want the interval expressed naturally in calendar units rather than as one large number.
Monday to Friday
What does โweekdays onlyโ mean?
Turning on weekdays only removes Saturdays and Sundays from the main result. CalcNest still shows the complete calendar-day and weekend breakdown underneath.
It does not automatically remove public holidays. Holidays vary by country, state and year, so a weekday count should not automatically be treated as an official business-day or working-day total.
Calendar accuracy
Leap years are counted automatically
When a date range crosses 29 February in a leap year, that extra calendar day is naturally included in the elapsed-day calculation.
Either direction
What if the second date is earlier?
You do not need to rearrange the dates first. CalcNest calculates the absolute distance between them, while keeping the order you entered visible in the result.
Choose the right calculator
Need a slightly different date calculation?
Days Between Dates is designed for measuring a date range. Other CalcNest date tools are better suited to different questions.
Add or subtract days, weeks, months or years from a starting date.
Open calculator โCalculate an exact age from a date of birth, including years, months, days and next birthday.
Open calculator โCompare two birthdays and see the exact age gap between two people.
Open calculator โUse the dedicated tool when your question is specifically about working days rather than ordinary calendar days.
Open calculator โCommon questions
Days Between Dates FAQs
Quick answers to common questions about counting days, weekdays and calendar time between two dates.
Subtract the earlier calendar date from the later date to find the elapsed number of days between them. CalcNest does this automatically while accounting for different month lengths and leap years.
By default, the calculator measures the elapsed time between the two dates. For example, 1 September to 2 September is 1 day apart. Turn on Include final date when you want the later boundary date included in the count.
The elapsed difference between a date and itself is 0 days. If you choose to include the final boundary date, the calculator returns 1 counted calendar date instead.
Yes. Either date can be entered first. If the second date is earlier than the first, CalcNest calculates the absolute distance between them and identifies the reversed direction in the result. You can also use the swap button to reverse the two entries instantly.
Yes. If the interval crosses 29 February in a leap year, the extra day is automatically included. This means you do not need to adjust the result manually for leap years.
Turn on Weekdays only. The calculator will count Monday through Friday and exclude Saturdays and Sundays from the main result. The full calendar-day and weekend totals remain visible in the breakdown.
No. Weekdays only means Monday to Friday. Public holidays are not removed because holiday dates vary by country, region and year. For work-related calculations, check the applicable holiday calendar as well.
They express the same interval in different ways. Total days gives one continuous day count, while the calendar difference expresses the interval in years, months and remaining days. Because calendar months have different lengths, a month is not treated as a fixed number of days.
A normal calendar year has 365 days, while a leap year has 366 days. Leap years normally occur every four years, with additional rules for century years.
You can use it to measure the calendar interval, but formal deadlines may follow specific rules about the first day, final day, weekends and public holidays. For legal, tax, immigration or contractual deadlines, verify the counting rules that apply to your situation rather than relying on a general date calculation alone.
CalcNest calculates general calendar differences. Rules for official deadlines, working days and public holidays can vary by jurisdiction or organisation.
Quick feedback
Was this calculator helpful?
One click helps us make CalcNest better.
Thanks for letting us know. Want to tell us a little more?
Tell us what you think
Your feedback helps us improve this calculator.
Your feedback has been submitted successfully.
