Count the days between any two dates, with the total also shown in weeks, months, years and working days.

How many days until a wedding, an exam or the end of the year? How long was a contract, a loan or a hospital stay? Counting across months by hand is slow and easy to get wrong. Pick two dates here and you get the exact number of days, broken down into years, months and days, plus weeks and working days.
How do I calculate the number of days between two dates?
Choose a start date and an end date in the tool above and the total appears straight away. By default the end date isn’t counted, which is how most deadlines and age calculations work. Tick Include the end date if you want both days counted, for example for a hotel stay or a leave application.
Should I include the end date?
From Monday to Friday is 4 days if you count the gaps between days, and 5 days if you count every day you were present. Deadlines, interest and age use the first method. Leave days, event days and attendance use the second. The checkbox switches between the two.
Inclusive days = End date − Start date + 1
Working days
Working days count Monday to Friday only. Public holidays vary by country and year, so subtract them yourself if your count needs to exclude them.
How to use the Days Between Dates Calculator
Choose the start date
Today is filled in by default. Pick a different date if needed.

Choose the end date
Pick the second date. If it’s earlier than the start date, the tool still counts the gap and tells you.

Decide whether to include the end date
Tick the box to count both the first and last day, for example for leave or a booking.

Read the result
The total days appear in large text, with years, months and days underneath, plus weeks, working days and hours.

How do leap years change the number of days between two dates?
Every date span that crosses February 29 gains one day, so the leap year rule matters for any count longer than a few months. The modern rule comes from the Gregorian calendar, introduced by Pope Gregory XIII in 1582 to correct drift in the older Julian calendar:
- A year divisible by 4 is a leap year,
- except a year divisible by 100, which is not,
- unless it is also divisible by 400, which is.
So 2000 was a leap year, while 1900 was not and 2100 will not be. This gives an average year of 365.2425 days. A plain 365 per year shortcut drifts by about one day every four years, which is why a careful counter works from real calendar dates.
Astronomers avoid calendar quirks entirely with the Julian Day Number, a continuous count of days used to subtract one date from another. Computers often do something similar with the seconds count in a Unix timestamp. Writing dates in ISO 8601 form (YYYY-MM-DD) also prevents the classic mix-up between 03/04 meaning March 4 or April 3.
How do banks count days between dates when charging interest?
Lenders and bond markets do not always use the actual calendar count. They follow a day count convention, a rule written into the loan or bond terms that decides how many days of interest accrue.
| Convention | How days are counted | Typical use |
|---|---|---|
| Actual/365 | Real days, divided by a 365-day year | Many consumer loans and savings products |
| Actual/360 | Real days, divided by a 360-day year | Money market instruments and many commercial loans |
| 30/360 | Every month treated as 30 days, year as 360 | Many corporate and municipal bonds |
The choice changes the cost. Under Actual/360, a full 365-day year earns 365/360 of the stated rate, slightly more than under Actual/365. Under 30/360, January 31 to March 1 counts as 31 days even though only 29 or 30 calendar days pass.
Use this calculator for the real day count, then plug it into the simple interest calculator with the year basis your agreement specifies.
Frequently asked questions
How many days are left in the year?
Keep today as the start date and set the end date to 31 December. The tool shows the days remaining.
Does this count leap years?
Yes. The calculation uses real calendar dates, so 29 February is counted when it exists.
How do I count only working days?
Read the Working days box, which counts Monday to Friday. Subtract public holidays yourself.
Why is the inclusive count one day more?
Including the end date counts both the first and the last day, so the result is always one higher.
Can I count backwards?
Yes. If the end date is earlier than the start date, the tool counts the gap and notes it.
Sources and further reading
Related tools
Last reviewed: October 2026




