Days Between Dates Calculator
To find the number of days between two dates, subtract the earlier date from the later date. TimeSpanCalc counts the exact calendar days, handling leap years and varying month lengths automatically.
How it works
To find the number of days between two dates, subtract the earlier date from the later date. TimeSpanCalc counts exact calendar days, handling leap years and varying month lengths automatically.
By default the end date is not counted — the result is the difference between the two dates. If you need an inclusive count (for example, counting both the first and last day of a rental period), add one day to the displayed result.
A year is a leap year if divisible by 4, except century years, which must also be divisible by 400. So 2000 was a leap year but 1900 was not. This means spans that cross February differ by a day between leap and non-leap years.
Calendar days vs business days
Calendar days count every day, including Saturdays and Sundays. Business days count only weekdays — Monday through Friday — which is the standard for payment terms, SLA windows, and delivery estimates.
Public holidays vary by country and year, so they are not auto-subtracted. Deduct any holidays in your date range manually after switching to the business-day count.
Tap the Work Days chip below the result to toggle between calendar days and business days.
Common uses
Contract and lease deadlines — count exactly how many days remain on a rental agreement or service contract.
Visa stay windows — calculate days remaining before a visa expiry or the total length of a trip.
Project and SLA turnaround — count business days between a start date and a delivery deadline.
Anniversaries and milestones — find how many days since a wedding, sobriety date, or company founding.
Counting days since a past event — enter the event date and today to see the exact elapsed time.
Related calculators
Add or subtract days — start from a date and add or subtract a number of days, weeks, months, or years to find the landing date.
Working days calculator — count only Monday-to-Friday business days between two dates.
Days since calculator — find how many days have passed since any past date.
Age calculator in days — enter your birthday to see exactly how many days old you are.
Days until calculator — count the days remaining until a future event.
Pregnancy due date calculator — estimate your due date by adding 280 days to your last menstrual period.
Frequently Asked Questions
How do I calculate the number of days between two dates?
Enter the earlier date in field A and the later date in field B. TimeSpanCalc instantly returns the exact number of calendar days between them.
Does the calculator include the end date?
By default the end date is not counted — the result is the difference between the two dates. If you need to include the end date, add one day to the result.
How are leap years handled?
The calculator accounts for leap years automatically. A year is a leap year if divisible by 4, except century years, which must be divisible by 400. February has 29 days in a leap year and 28 otherwise.
What is the difference between calendar days and business days?
Calendar days count every day including weekends. Business days count only Monday through Friday. Toggle the Work Days chip below the result to switch between the two counts.
Can I count the number of days since a past date?
Yes. Enter the past date in field A and today in field B. The result shows how many days have elapsed. You can also use the dedicated days since calculator.