Calculator
What the Days Between Dates does
Days Between Dates: calculates Total days from Start date and End date. Example: start date 2020-01-01 and end date 2026-09-06 gives total days 2,440.
Total days, derived from Start date and End date. You can nudge a single number and watch the effect straight away.
Most people who open the Days Between Dates are anyone counting days to a deadline. Counting on your fingers stops working somewhere past a fortnight.
There is no account, no upload and no server round trip, because the page does the work itself.
If you want to check the arithmetic, the field table, the method and a worked example are further down.
What do the Days Between Dates fields mean?
The Days Between Dates uses 2 inputs. You do not have to fill everything in before seeing an answer; the starting values already produce one.
| Field | What to enter | Default |
|---|---|---|
| Start date | pick a calendar date | 2020-01-01 |
| End date | pick a calendar date | 2026-09-06 |
How does the Days Between Dates work?
Each output is derived from the inputs above in a single pass; there is no hidden state carried between runs, so the same inputs always give the same calculation.
Values are checked first: an out-of-range or non-numeric entry names the offending field instead of returning nonsense.
Worked example
These are the values the Days Between Dates loads by default, and the result it produces from them. This is the worked example the page starts from, reproduced here so you can check the arithmetic.
| Start date | 2020-01-01 |
|---|---|
| End date | 2026-09-06 |
| Total days | 2,440 |
|---|
Worth knowing about counting the days between two calendar dates
The dependable way to count days between two dates is to convert each one to a serial day number and subtract. That single step removes unequal month lengths and leap years from the problem, which is why spreadsheets and databases all store dates this way internally.
Conventions and limitations
- Serial numbering is what lets a spreadsheet subtract two dates directly. Excel stores 1 January 1900 as day 1, though it also treats 1900 as a leap year, a deliberate compatibility quirk inherited from Lotus 1-2-3 that leaves dates before 1 March 1900 off by one.
- An age or span in days is never simply the number of years multiplied by 365. Across a decade you accumulate two or three leap days, so the day count runs ahead of the naive figure by that much.
- A "days until" figure can differ by one depending on the time zone it is evaluated in, if one side of the comparison uses local time and the other uses UTC. This tool compares whole calendar dates, so the result does not shift with the time of day.
How to use it
- Select Start date from the date picker.
- Select End date from the date picker.
- Live output means you can search for a target value by nudging an input up and down.
- The panel reports Total days.
- Copy Link puts the current inputs in the URL, so bookmarking it brings the same numbers back.
What this tool does not do
- Calendar months have unequal lengths, so "one month" is not a fixed number of days.
- Time zone and daylight-saving rules change by jurisdiction and by year.
- The output is a number, not a judgement. Deciding what it means is still your job.
Frequently asked questions
You need Start date and End date. Every box already holds a working value, meaning you can explore the calculation before committing to real figures.
With the values loaded when the page opens, total days comes out as 2,440. The figure is derived from the inputs above, so it updates whenever they do.
Nothing leaves your machine. The only network traffic is loading the page itself.
No. There is no account, no usage cap and no trial period. The site is funded by advertising rather than by charging for the tools.
The calculation is exact for the method described above. Where a value is rounded for display, the underlying figure keeps full precision.