How to calculate the number of days between two dates
Counting days between dates by hand means remembering which months have 30 or 31 days and whether February has 28 or 29. The calculator does that work for you: enter a start and an end date to get the number of days and the same period in weeks and days, or add or subtract days to find a new date.
It uses the Gregorian calendar and counts whole days, so the result is the same whatever time zone you are in.
Elapsed days or an inclusive count?
The calculator gives elapsed days: the number of days you move forward to get from the start date to the end date. Some situations instead count both the first and the last day, for example the number of days a hotel room, a leave request or an event covers. For an inclusive count, add one to the result.
From 1 January 2026 to 31 December 2026 is 364 elapsed days. If you count both 1 January and 31 December, the year contains 365 days.
Days, then weeks and days
The result is also shown as weeks plus remaining days, which is easier to read for pregnancies, courses, training plans and notice periods.
From 1 March 2026 to 15 June 2026 is 106 days, which is 15 weeks and 1 day.
Leap years
A leap year adds 29 February. Years divisible by 4 are leap years, except century years that are not divisible by 400, so 2000 was a leap year and 2100 will not be. The calculator applies this rule automatically.
February 2027 has 28 days, so 1 February to 1 March 2027 is 28 days. In 2028, a leap year, the same dates are 29 days apart.
Adding or subtracting days (Goal mode)
Goal mode moves forward or backward by a number of days. Use a negative number to go back in time. It is useful for 30, 60 or 90-day deadlines, warranty and return windows, or follow-up appointments.
90 days after 4 November 2026 is Tuesday 2 February 2027. Thirty days before 4 November 2026 is 5 October 2026.
Calendar days or working days?
This calculator counts every calendar day, including weekends and public holidays. If a deadline is written in working days or business days, use the Working Days Calculator, which lets you choose a Friday–Saturday or Saturday–Sunday weekend and exclude holidays.
Hijri dates
The calculator works with Gregorian dates. A Hijri month is 29 or 30 days and depends on the moon sighting, so the number of days between two Hijri dates cannot be derived reliably from month lengths. Convert Hijri dates to Gregorian using an official calendar, such as the Umm al-Qura calendar used in Saudi Arabia, and then enter the Gregorian dates.
Frequently asked questions
How many days are in a year?
365 in a common year and 366 in a leap year.
Does the calculator include the end date?
It counts elapsed days, so the start date is not counted. Add one if you need to count both the first and the last day.
Can the end date be before the start date?
Yes. The calculator still gives the number of days between them.
How do I find a date 6 months from now?
Months have different lengths, so 6 months is not a fixed number of days. Count it on a calendar, or use the number of days if your rule is written in days.
Last reviewed: 4 November 2026 · How we check our calculations · Report an error