Days between two dates calculator
From 1 January to 31 December 2026 is 364 days, or 365 if you count both dates. Choose two dates to count the days between them, also shown in weeks, months and years.
What you type stays on your device. Nothing is sent to our server.
Step 1: Choose two dates
Step 2: The time between them
Days between the dates
–
How it is worked out
How to count the days between two dates
-
Choose the start date
It starts on today, so you can count the days until a date straight away.
-
Choose the end date
Tick "Count the end date too" if both the first and last day should count.
-
Read the days
You get the total days, plus years, months and days, weeks and days, hours, and the number of weekdays.
About this tool
Count the end date or not?
By default the calculator counts the days from one date to the other, the way a hotel counts nights: 1 to 5 June is 4 days. For leave or an event where both days count, tick the box: 1 to 5 June is then 5 days.
Months have different lengths
"1 month" can be 28, 29, 30 or 31 days, so the total days is the exact measure. The years, months and days figure counts whole calendar months, as in age: 15 January to 15 March is 2 months.
Leap years
A year is a leap year, with 366 days, if it divides by 4, except century years, which must divide by 400. So 2028 is a leap year, 2000 was, and 2100 will not be. The calculator includes every 29 February in the count.
Privacy
This calculator runs in your browser, on your own device. The numbers and dates you type are not sent to our server and we cannot see them. They appear in the page address only so you can bookmark or share a result, and that address stays on your device unless you share it.
Frequently asked questions
How many days until a date?
Leave the start date on today and choose the date as the end date.
Does it include weekends?
Yes, it counts every calendar day. For weekdays only, use the working days calculator, which can also skip public holidays.
Can the end date be before the start date?
Yes. The dates are swapped and the result is the same number of days.
Do time zones change the answer?
No. It counts calendar days, so the answer is the same anywhere in the world.
Is my data sent anywhere?
No. The calculator runs in your browser, so the numbers and dates you type are never sent to us.
Related tools
- +90 days Add days to a date The date a number of days, weeks or months away.
- Workdays Working days calculator Working days between dates, skipping weekends and holidays.
- Age Age calculator Exact age in years, months and days, on any date.
- Epoch Unix timestamp converter Turn Unix timestamps into dates and dates into timestamps.
- % Percentage calculator X% of Y, X as a % of Y, and X is P% of what.
- Raise Salary increment calculator New salary after a raise, or the raise % from two salaries.
- +% Percentage increase calculator Percentage increase or decrease between two numbers.
- cron Cron expression explainer Read a cron schedule in plain words and see the next runs.