Date Calculator
Days between two dates — or the date that is N days from now.
Runs in your browser — your files and text never leave this device
How many days are between two dates?
The days between two dates is the exact number of calendar days from the first date to the second — from 1 January to 2 January is 1 day — counting leap years and months of different lengths correctly. This free online days between dates calculator gives you that number instantly, plus the same span in weeks and in years, months and days, and it can also add or subtract days to find a deadline date.
Related tools
How to use the Date Calculator
- For a duration, pick the start and end dates — the exact span appears instantly.
- For a deadline, switch to Add / subtract days, enter the number of days, and read the resulting date and weekday.
For the full picture — what the count means, why leap years trip people up, and how to add days for a deadline — read our guide: How to Calculate Days Between Dates (Free, No Signup).
Deadlines, countdowns and 'how long until…'
Date arithmetic looks trivial until months of different lengths and the occasional 29 February get involved — which is exactly when the answer matters: a visa that expires 90 days after entry, a contract notice period, a project countdown, a baby's due-date maths, or the simple question of how many days you have been alive. Counting squares on a calendar is slow and error-prone; this calculator does the real calendar maths, leap years and century rules included.
The result is given three ways because people think about time three ways: the raw total of days (what contracts use), weeks and leftover days (what planners use), and the years-months-days breakdown (how everyone states an age). The add/subtract mode answers the mirror-image question — not "how long between" but "when exactly" — and names the weekday, because a deadline that lands on a Sunday is a different deadline.
Two tools that pair well with this one: Age Calculator calculates an exact age in years, months and days, and Time Zone Converter converts a time between cities and time zones.
Why calendar maths is harder than it looks
Days are simple; months are not. A month can be 28, 29, 30 or 31 days long, and a year can be 365 or 366 days, so adding three months to a date is not the same as adding 90 days — the answer depends on which months you cross. That is why date arithmetic done by hand so often lands a day or two out, and why the mistakes tend to show up exactly where they matter: a notice period, a visa window, a payment deadline.
Leap years add another wrinkle. A year is a leap year if it divides by four, except that century years must also divide by 400 — so 2000 was a leap year but 1900 was not. The calculator applies the real calendar rules, including that century exception, so a span that crosses 29 February counts the extra day and a span that does not, does not. You never have to remember which years were leap years yourself.
Three ways to read the same answer
The calculator gives every result three ways because different people need different shapes of answer. The raw total of days is what contracts and countdowns run on: ninety days from entry, or forty-five days left. Weeks and leftover days suit planners, who think in working weeks and weekends. And the years-months-days breakdown is how people state an age or a length of service — the form the answer takes when someone asks how old something is.
The add-and-subtract mode answers the mirror question: not how long between two dates, but which date falls a given number of days away. That is the mode for deadlines — enter a start date, add the notice period, and read off the resulting date and its weekday. Knowing the weekday matters, because a deadline that falls on a Saturday or a Sunday may need to move, and spotting that before you commit to a date is much easier than fixing it afterwards.
Turning a day count into a date you can act on
Most date maths is really deadline maths. A visa that expires 90 days after entry, a notice period, a project milestone, a warranty end date — each one is the same question: what date is 90 days from today, or 30 days from a start date? Use the Add / subtract mode for that: pick the start date, enter the number of days, and the calculator shows the resulting date and its weekday, so you can see at once whether a deadline lands on a weekend.
When you add days to a date with this calculator, the leap-year rules are handled for you — 29 February counts when it falls inside the span, and century rules apply (1900 was not a leap year, 2000 was). The years, months and days breakdown reads the way people actually say spans — two years, three months and five days — which is handy for service lengths, contract terms and ages. And if you need the count the other way round, the same page answers how many days are between two dates just as quickly.
Frequently asked questions
Does the count include both the first and last day?
The result is the exact difference: from 1 January to 2 January is 1 day. This matches how contracts, ages and countdowns are normally counted. If you need inclusive counting (both endpoints), simply add one day.
Are leap years handled?
Yes. The calculation uses the real calendar, so a span covering 29 February counts that extra day, and century rules (1900 not a leap year, 2000 a leap year) are applied correctly.
What is the "years, months, days" breakdown?
The same span expressed the way people say ages: whole calendar years first, then whole months, then the leftover days. It always adds back up to the exact total days shown.
Can I find a deadline like "90 days from today"?
Yes — use the Add / subtract mode: pick today (or any start date), enter 90 days, and the resulting date and weekday are shown.
Can I count days between dates in the past?
Yes — pick any two dates, past or future, and the calculator counts the exact days between them, with leap years handled correctly. It works just as well for spans that ended years ago as for ones starting today.
Can I subtract days from a date?
Yes — the Add / subtract mode works both ways. Pick a start date, enter the number of days and choose subtract to find, for example, the date 30 days before a deadline.
What weekday will a future date fall on?
The result of any Add / subtract calculation shows the weekday of the resulting date, so you can tell at once whether a deadline lands on a Monday or a Saturday.