📅 Days Between Dates Calculator

Calculate the exact number of days, weeks, and months between two dates.

Enter Your Values

First date
Second date

How to Calculate Days Between Two Dates

The calculation subtracts the earlier date from the later date and counts every calendar day in between, including weekends and public holidays unless you're specifically tracking working days. The result tells you the total elapsed time in days, which this calculator also expresses as weeks and months for easier interpretation.

Contract and lease management is one of the most practical uses. If a lease starts on 1 March and ends on 31 August, how many days is that? This calculator gives you the exact number instantly — useful for prorating rent, calculating interest on short-term loans, or checking whether a notice period has been met.

Project planning is another major use case. Breaking a project timeline into days gives you a clearer picture than months, especially for shorter projects where a few days' slippage matters. Pair this with the Hours Calculator to understand how much working time you actually have left before a deadline.

Personal milestones — anniversaries, countdowns to events, how long ago something happened — are also common reasons people reach for this tool. It works equally well for past dates (how many days ago was a date?) and future dates (how many days until an event?). The same subtraction logic applies in both directions.

Note that date arithmetic must account for leap years. February 29 exists only in years divisible by 4 (with some exceptions for century years). This calculator handles leap years correctly so your day count is always accurate.

How to Calculate Days Between Two Dates

The number of days between two dates is calculated by subtracting the earlier date from the later date, counting every calendar day in between including both the start and end day if applicable. This calculation accounts for different month lengths and leap years automatically.

Date difference calculations are used for project deadlines, contract lengths, age calculations, interest accrual (loans and savings calculate daily interest), pregnancy tracking, and any situation requiring exact elapsed time.

Frequently Asked Questions

How many days between two dates? +
Subtract the earlier date from the later date. Most programming systems and calculators do this by converting both dates to a number of days since a reference point (epoch), then subtracting. This automatically accounts for months of different lengths and leap years.
Does the calculation include both start and end dates? +
This depends on the context. For counting elapsed days (how long did something take?), typically only one endpoint is counted. For counting total days in a period (is today within a 30-day window?), both endpoints are usually included. This calculator shows elapsed days by default.
How many working days between two dates? +
Subtract weekends from the total days. For a rough estimate: multiply total weeks by 5 and add remaining weekdays. For a precise count, you also need to subtract public holidays, which vary by country and year.