How to Calculate Days Between Two Dates (Free)
How many days until the deadline? How long since you started a project? Counting on a calendar is slow and easy to get wrong, especially across months and leap years. This guide shows how date differences are calculated, how to read the result in days, weeks, months and years, and where it comes in handy. For an exact answer in one click, use the free Date Difference Calculator — it gives a full breakdown instantly in your browser.
How date differences are calculated
The core idea is simple: convert each date to a day count, then subtract.
Days between = end date - start date
The tricky part is doing it correctly. Months have 28 to 31 days, and leap years add a 29th of February every four years (with century exceptions). A good calculator handles all of that automatically, so 1 January to 1 March returns the right count whether or not a leap year is involved. Results are then expressed in several units — total days, weeks, and a years/months/days breakdown.
How to use the Date Difference Calculator
It takes two inputs:
- Open the Date Difference Calculator.
- Pick the start date.
- Pick the end date.
- Read the difference in days, weeks, months and years, with a full calendar breakdown.
Swap the dates or change either one and the result recalculates instantly. You can use today as one of the dates for a quick countdown or count-up.
A worked example
Say you want the gap between 1 January 2026 and 25 December 2026.
That span is 358 days. Expressed differently, that is about 51 weeks and 1 day, or 11 months and 24 days. If you instead measured to 1 January 2027, you would get exactly 365 days (2026 is not a leap year) — one full year. The calculator shows each of these views at once so you do not have to convert by hand.
When to use it
A date difference is useful far more often than you might think:
- Counting days until a deadline, exam, wedding or holiday.
- Working out how long since a start date — a job, a subscription, a relationship.
- Calculating notice periods, contract lengths or warranty windows.
- Figuring out age in days or working out a gap between two events.
- Planning a countdown for an event.
For age specifically, the Age Calculator gives a tailored result, and the Countdown to Date tool turns a target date into a live countdown.
Tips and common mistakes
A few things keep results accurate:
- Decide whether you want inclusive counting (both end days) or exclusive — most tools count the gap, not both endpoints.
- Remember leap years; do not assume every year is 365 days.
- For business-day counts, weekends and holidays need separate handling.
- Double-check the year, especially around January, where it is easy to slip.
Inclusive versus exclusive counting
The most common confusion with date math is whether to count both endpoints. There are two valid answers depending on what you are measuring.
Exclusive counting measures the gap between the dates and does not count the start day. From Monday to Wednesday is 2 days (Tuesday and Wednesday). This is what most calculators return and what you want for things like how many nights you will stay somewhere.
Inclusive counting includes both the first and last day. From Monday to Wednesday inclusive is 3 days. You want this for things like the number of days an event runs, or a billing period where both the first and last day count.
The rule of thumb: if you need inclusive, add one to the standard result. A conference from the 10th to the 12th is 2 days apart but runs for 3 days. Knowing which one your situation calls for prevents an off-by-one error.
Counting business days versus calendar days
A plain date difference counts every calendar day, including weekends and holidays. Many real deadlines, though, run on business days — Monday to Friday, excluding public holidays. A 10-business-day shipping estimate is two full work weeks, which is 14 calendar days, and more if a holiday falls in between.
That gap matters for contracts, returns windows, payment terms like net 30, and legal notice periods, which often specify whether they mean calendar or business days. When a deadline is given in business days, never just add that number of calendar days, or you will land early. Read the fine print to see which basis applies, then count weekdays only and subtract any holidays. For total elapsed time regardless of weekends, the Date Difference Calculator and the Time Duration Calculator both help.
Real-world scenarios
Date differences show up in more places than calendars suggest:
- Travel. Counting nights for a hotel booking, or days until departure.
- Finance. Working out interest periods, payment due dates, or how long an invoice is overdue.
- Work and HR. Notice periods, probation end dates, tenure, and leave accrual.
- Health. Days since a treatment, or until a follow-up appointment.
- Personal milestones. Days married, days sober, days until a birthday or anniversary.
For a target in the future, the Countdown to Date tool turns the gap into a live countdown, and for a precise age in years, months and days, the Age Calculator is purpose-built.
Is it free and private?
Yes. The Date Difference Calculator is free, needs no sign-up, and runs entirely in your browser, so the dates you enter never leave your device. It works the same on phone and desktop. Explore more free calculators or browse all tools.
Try the tool from this guide
Date Difference Calculator
Days, weeks and months between dates.
Open Date Difference CalculatorFrequently asked questions
How do I calculate the number of days between two dates?
Subtract the start date from the end date, accounting for varying month lengths and leap years. The free Date Difference Calculator does this automatically and shows the result in days, weeks, months and years.
Is the Date Difference Calculator free?
Yes, it is completely free with no sign-up and no limits, and it works in your browser on any device.
Does it account for leap years?
Yes. The calculator correctly handles leap years and the differing number of days in each month, so the count is always exact.
Can I count the days until a future date?
Yes. Set the start date to today and the end date to your target, and the calculator shows exactly how many days remain.
Is my data private?
Yes. All calculations happen locally in your browser, so the dates you enter are never uploaded or stored anywhere.
What is the difference between calendar days and business days?
Calendar days count every day including weekends and holidays, while business days count only Monday to Friday and exclude public holidays. A 10-business-day deadline is at least 14 calendar days, and more if a holiday falls within it, so check which basis a deadline uses before counting.
Share this article
Send it to a teammate or save the link for later.
