Date Calculator
Enter a start date and an end date and read how many days, weeks, months and years lie between them. You decide whether the end date counts.
How the date calculator works
Enter the start date and the end date as year-month-day, for example 2026-06-01, or with the month written out, for example June 1, 2026. The result gives the number of days, split into weeks and into years, months and days. Below the result the working is shown step by step.
If the end date is before the start date, the calculator simply counts backwards and says so in the result.
Does the end date count?
This is the most common source of mistakes. Without the end date, the distance from Monday to Tuesday is one day: you count how many days you move forward, and the end date is only the destination. With the end date it is two days, because both days are counted.
For the distance between two appointments, "do not count the end date" is usually right. For a period such as a vacation from the 1st to the 7th of the month, where both days belong to it, choose "count the end date": that gives seven days.
How months and years are counted
A full month has passed when the same day of the next month is reached. From January 15 to February 15 is one month. If the day does not exist in the target month, for example the 31st in February, the month is only complete at the end of the target month: from January 31 to February 28 is zero months and 28 days, and to March 1 it is one month.
Leap years are included. The calculation uses the Gregorian calendar in use today, for the years 1583 to 9999.
Frequently asked questions
How many days are there between January 1 and December 31?
In 2026 it is 364 days if the end date does not count and 365 days if it does. In a leap year such as 2024 it is 365 and 366 days.
What is the difference between counting the end date and not?
Counting the end date adds exactly one day. Without it you measure the distance between two appointments. With it you count every day from the first to the last, as for a vacation.
How do I count the days between two dates by hand?
Count the days to the end of the start month, add the days of the whole months in between, then add the days in the end month. Do not forget February 29 in leap years.
What happens if the end date is before the start date?
The tool swaps both dates and works out the distance. The result notes that it counted backwards.
Is my data stored?
No. The calculation runs in your browser. Your input is not sent to a server.