What this calculator does
Counting days between two dates by hand is the kind of task that looks trivial and goes wrong constantly, usually because of month lengths, leap years, or the question of whether the last day counts.
This calculator handles all of it. Enter a start date and an end date and it returns the total days, the number of weeks, a calendar breakdown in years, months and days, and a count of working days against weekend days. It also tells you which day of the week each date falls on, which matters more often than people expect.
The option to include the end date is there because different contexts count differently. A notice period or a period of leave normally includes both the first and last day. A deadline countdown normally does not. Getting that wrong by one day is the single most common error in this kind of calculation.
How the calculation works
The total day count is a direct difference between the two dates, which handles leap years and varying month lengths automatically without any adjustment. If you choose to include the end date, one day is added.
Working days are counted by stepping through every date in the range and classifying each one as a weekday or a weekend day. This is more reliable than dividing by seven and multiplying by five, which produces errors whenever a range does not begin and end on the same weekday.
The calendar breakdown in years, months and days uses the same borrowing logic as an age calculation, so it reflects actual calendar periods rather than approximating a month as thirty days.
One limitation worth stating: the working day count does not deduct public holidays. Nigerian public holidays vary by year, and several are set by lunar observation rather than fixed dates, so any automatic deduction would be unreliable.
The formula
Total days = End date − Start date, plus one if both dates are counted
Weeks = Total days ÷ 7
Working days = the count of Monday to Friday dates within the range
Calendar breakdown = whole years, then whole months, then remaining days
A worked example
Somebody resigns on 16 September 2026 and is serving a one month notice period ending 15 October 2026. The gap between the dates is 29 days, but a notice period includes both the first and last day, so the correct answer is 30 days.
Within that period there are 22 working days and 8 weekend days. That is the figure that matters for handover planning, because it tells you how many actual working days remain rather than how many calendar days.
Now take a project deadline instead. If a task is assigned on 16 September and due on 15 October, you have 29 days of runway, not 30, because the due date is when the work must be finished rather than another day of work. Same two dates, different counting convention, and a day either way can matter.
Things worth knowing
Decide the convention first
Before counting, be clear whether both endpoints are included. Contracts, notice periods and leave entitlements almost always include both. Deadlines and countdowns usually do not. Most off by one errors come from skipping this question.
Public holidays are not deducted
The working day count covers Monday to Friday only. Nigerian public holidays vary each year and several depend on lunar observation, so check which fall inside your range if the deadline is contractual.
Useful for notice and probation
Employment notice periods, probation end dates and contract terms are all date arithmetic. Getting them exact protects you in a disagreement, and it is much easier to establish the dates before there is one.
Plan revision around working days
Counting calendar days to an exam overstates what you have if you cannot study every day. The working day figure, or the Study Time Planner, gives a more honest picture of the time actually available.
Common mistakes to avoid
- Forgetting whether the end date should be counted, producing an off by one error.
- Estimating working days by dividing by seven and multiplying by five.
- Assuming the working day count excludes public holidays, which it does not.
- Entering dates in a format other than the one the picker expects.
- Treating a month as thirty days when calculating a notice period.
Frequently asked questions
Should I include the end date?
Does this count public holidays?
How do I count a notice period?
Why is the month count different from what I expected?
Can I calculate a date in the past?
Related calculators
Further reading on this site
If this calculator was useful, these sections of the site go deeper into the same subject.
- Career advice and employment guidance
- Education and exam planning
- Recruitment news and deadlines
- All 38 free calculators and tools
A note on accuracy. This calculator is provided for general information and planning. It performs arithmetic on the figures you supply and does not constitute financial, legal, tax, medical or academic advice. Rates, rules, fees and institutional policies change, and your own circumstances may differ from the assumptions used here. Verify anything important with the relevant institution or a qualified professional before acting on it. See our full disclaimer for more.