Count the days between two dates — total days, working days, and a calendar-accurate years/months/days breakdown.
How to use this tool
- Pick a start and end date.
- Optionally count the end date as a full day.
- Total days, working days, and the calendar breakdown appear below.
Should you count the end date?
This trips people up constantly, and the right answer depends on what you are measuring:
- Leave it off for a gap — how many days until a deadline, or how long between two events. From the 1st to the 8th is 7 days.
- Turn it on for a duration — how many days a booking, holiday, or hire covers. A stay from the 1st to the 8th inclusive is 8 days.
Hotels, car hire, and payroll all use the inclusive count. Deadlines usually do not.
Working days
The working-day count includes Monday to Friday only. Public holidays are not excluded, because they vary by country, region, and year — check your local calendar and subtract them yourself.
Timezone safety
Dates are handled in UTC internally. This sounds like a detail but it prevents a real bug: naïve date maths across a daylight-saving boundary can produce a result that is off by one, because one "day" that week is 23 or 25 hours long. This tool always counts whole calendar days.
The calendar breakdown
The years/months/days figure steps month by month rather than dividing by an average. That is why "1 month" from 31 January lands correctly rather than drifting — months genuinely have different lengths, and averaging hides that.
Related tools
- Age calculator — exact age from a birthday
- Timestamp converter — Unix time
- Loan & EMI calculator — terms in months
- Percentage calculator — everyday maths
FAQ
Is my data uploaded?
No. Everything is computed in your browser.
Does it account for leap years?
Yes. The count works on real calendar dates, so 29 February is included wherever it exists.
Are public holidays excluded from working days?
No — they differ by country and year. Subtract your local holidays from the working-day figure manually.
What if I enter the dates backwards?
The tool reports the gap as a positive number and notes that the second date is earlier.
Can I calculate a future date by adding days?
Not directly — this measures between two known dates. Pick an end date and check the count to reach the same answer.
Why does the years/months/days total not match the day count divided by 365?
Because months and years vary in length. The breakdown follows the actual calendar; dividing by 365 assumes an average year and drifts.
More calculators
- BMI CalculatorCalculate your Body Mass Index in metric or imperial units, with the result placed on the standard WHO category scale.
- Loan & EMI CalculatorCalculate the monthly payment on a loan or mortgage, plus total interest and how much of your repayment is interest versus principal.
- Percentage CalculatorWork out what X% of Y is, what percentage one number is of another, and percentage increase or decrease. Three calculators in one.
- Age CalculatorCalculate your exact age in years, months, and days. Find out how many days you have lived.