Turn on JavaScript in your browser to use the Date Difference calculator. If its calculation tools could not load, reload this page. No result is calculated without the required tools.
How many days are between two dates
From 1 October to 6 October 2026, there are 5 elapsed days. But if you count the 1st and the 6th as well as every date in between, you get 6 dates. Both answers can be useful. The right one depends on what you are counting.
You can also express the gap in weeks or in years, months and days. Before using the result, decide which units you need and whether the start and end dates should be included.
Should you include the start and end dates
Elapsed days tell you how far apart two dates are. An inclusive count tells you how many calendar dates the range covers. When the dates are in order, counting both ends adds one to the elapsed difference.
| Count from 1 to 6 October 2026 | What you count | Result |
|---|---|---|
| Elapsed difference | Distance from the 1st to the 6th | 5 days |
| Include both dates | 1, 2, 3, 4, 5 and 6 October | 6 dates |
| Include only one end | 1 to 5, or 2 to 6 October | 5 dates |
| Exclude both dates | 2, 3, 4 and 5 October | 4 dates |
For example, a stay from 1 October to 6 October lasts five nights. Leave covering every date from 1 to 6 October covers six calendar dates, before any workplace rules are applied.
If the start and end dates are the same, the elapsed difference is zero days. An inclusive count gives one date. This is a useful way to check what a form means when it asks for the “number of days.”
Calculating the date difference step by step
For a calendar breakdown, count full years, then full months, then the days left over. From 15 June 2024 to 6 October 2026, the result is 2 years, 3 months and 21 days, or 843 elapsed days.
You can follow the calculation in steps: from 15 June 2024 to 15 June 2026, then to 15 September 2026, and finally to 6 October. Each step uses the actual calendar.
Dividing 843 by 365 or 30 will not give that same breakdown. A year can have 365 or 366 days, and a month can have 28 to 31 days. Calendar months and years are not fixed blocks of days.
Converting days into weeks
Divide the number of days by seven. The whole number gives the complete weeks, and the remainder gives the extra days.
So 100 days is 14 weeks and 2 days. The 843-day interval above is 120 weeks and 3 days. Month lengths do not affect this conversion because a week is always seven days.
For a deadline exactly 100 days after a date, add 100 calendar days. If the instruction says “within 100 days” or tells you to exclude the starting date, follow that wording when deciding how to count.
How working days are counted
To count working days, you need to know which days the organization works and which holidays it observes. A Monday-to-Friday office and a Monday-to-Saturday office will have different totals for the same period.
For Monday 1 June through Sunday 7 June 2026, including both dates:
| Working week | Count before holidays |
|---|---|
| Monday to Friday | 5 working dates |
| Monday to Saturday | 6 working dates |
| Every calendar day | 7 dates |
A holiday reduces the total only if it falls on a day that would otherwise be counted. A holiday on an already excluded Sunday does not remove another day. If the same holiday date appears twice in a list, count it only once.
Indian offices, schools and banks do not all follow one working calendar. Use the weekend pattern and holiday list that apply to your organization. The calculator can count those dates, but your employer's rules decide how they apply to attendance or leave.
Why a calendar month is not always 30 days
One calendar month after 15 January is 15 February, a gap of 31 days. One month after 15 February 2025 is 15 March, a gap of 28 days.
Month endings need extra care. This calculator uses the last available day when the target month does not contain the starting day. Adding one month to 31 January 2025 gives 28 February. Subtracting one month from 28 February then gives 28 January, rather than taking you back to the 31st. The move to February has lost the original day information.
For a contract or schedule written in months, calculate in months. If it specifies a fixed number of days, count that number of days instead.
Frequently asked questions
Are weekends included in the day count
Yes, an ordinary calendar-day difference includes weekends. A working-day count leaves out the non-working dates in the calendar you use.
What if the end date is before the start date
You are counting backward. Swapping the dates leaves the size of the gap unchanged, but reverses the direction of a signed result. Check whether you need that direction or just the number of days between the dates.
Do leap years affect the result
They do if the interval includes 29 February. From 28 February to 1 March is two elapsed days in 2024, but one day in 2025.
Can I calculate exact hours from dates alone
Multiplying the elapsed days by 24 converts the date difference into hours. For the exact time between two moments, you need both times and time zones. A local day with a clock change may not last 24 hours.
Can I use this to calculate age
Age uses the same date arithmetic. The age calculator is more useful when you are starting with a birth date and want completed age, birthday information or age on a particular date.