Days Between Dates Calculator
Pick two dates to count the days between them, shown as total days, weeks, and a years/months/days breakdown. Choose whether to include the end day.
By default the count excludes the end day (the gap between the dates). Switch to “include end day” to count both the start and end dates.
How to use this calculator
Choose a from date and a to date. The calculator shows the total days between them, the equivalent in weeks, and a calendar breakdown in years, months, and days. Toggle include end day depending on whether you want the gap or an inclusive count.
How it works
The calculator converts both dates to a day count and takes the difference, so leap years and varying month lengths are handled correctly. Excluding the end day measures the gap between the dates; including it counts both endpoints.
Worked example
From Jan 1 to Jan 31 is 30 days excluding the end day, or 31 days if you include it — useful for counting every day in January.
Common uses
Days until a deadline, vacation, or due date · age in days · notice periods · how long ago an event happened · billing or rental periods.
Frequently asked questions
How do I count the number of days between two dates?
Subtract the earlier date from the later date. This calculator does it instantly and also shows the span in weeks and in years, months, and days.
Should I include the end date?
It depends on what you're counting. For the gap between two dates (like days until an event), exclude the end day. To count every calendar day in a range inclusively, switch on 'include end day,' which adds one.
Does it account for leap years?
Yes. The calculation uses real calendar dates, so February 29 in leap years is counted correctly.
Can I count days in the past?
Yes. The order of the dates doesn't matter — the calculator uses the absolute difference, so you can measure how long ago something was or how far away it is.