Plot No. 38 · Everyday & Shopping
Days Between Dates Calculator
Count the number of days between two calendar dates. The calculator takes the difference between the two dates in milliseconds, divides by the length of a day and rounds to a whole number, then also breaks the total into full weeks plus leftover days and an approximate month count.
Order does not matter. The result is the absolute gap between the two dates.
The count is the gap between the dates and does not include the start day. Add one if you need both endpoints counted.
The link saves your inputs so you can bookmark or share this exact result.
Days from 1 January to the start of each month
Most date gaps people count by hand run from one month to another, and the slow part is adding up the months in between. The middle columns below are that running total: the number of days from 1 January to the 1st of each month, which is what you subtract to get a gap. From 1 March to 1 October in a non leap year is 273 minus 59, so 214 days. In a leap year the same span is 214 days, because the extra 29 February sits before both dates and cancels out. Only spans that straddle a 29 February change length.
| Month | Days in month | Days from 1 Jan to the 1st | Same, in a leap year | Day number of the 1st, common year |
|---|---|---|---|---|
| January | 31 | 0 | 0 | 1 |
| February | 28, or 29 in a leap year | 31 | 31 | 32 |
| March | 31 | 59 | 60 | 60 |
| April | 30 | 90 | 91 | 91 |
| May | 31 | 120 | 121 | 121 |
| June | 30 | 151 | 152 | 152 |
| July | 31 | 181 | 182 | 182 |
| August | 31 | 212 | 213 | 213 |
| September | 30 | 243 | 244 | 244 |
| October | 31 | 273 | 274 | 274 |
| November | 30 | 304 | 305 | 305 |
| December | 31 | 334 | 335 | 335 |
The last column is the same figure plus one, and the gap between those two columns is the whole inclusive-versus-exclusive question in one line. 1 September is 243 days after 1 January, and it is also the 244th day of the year, because the day number counts 1 January itself. The calculator above reports the first kind of number.
What common day counts work out as
A raw day count is hard to picture, which is why deadlines get quoted in weeks and months instead. Each row below is the same three conversions the results panel performs on your own dates: whole weeks plus the remainder, the decimal week figure, and the day total divided by the average month length of 30.44 days. The month column is deliberately approximate. There is no fixed number of days in a month, so a 90 day notice period and a 3 month notice period are not the same length, and which is longer depends on which months you land in.
| Days | Weeks and days | Weeks | Approximate months | Approximate years |
|---|---|---|---|---|
| 7 | 1 weeks, 0 days | 1.00 | 0.23 | 0.02 |
| 10 | 1 weeks, 3 days | 1.43 | 0.33 | 0.03 |
| 14 | 2 weeks, 0 days | 2.00 | 0.46 | 0.04 |
| 21 | 3 weeks, 0 days | 3.00 | 0.69 | 0.06 |
| 28 | 4 weeks, 0 days | 4.00 | 0.92 | 0.08 |
| 30 | 4 weeks, 2 days | 4.29 | 0.99 | 0.08 |
| 45 | 6 weeks, 3 days | 6.43 | 1.48 | 0.12 |
| 60 | 8 weeks, 4 days | 8.57 | 1.97 | 0.16 |
| 90 | 12 weeks, 6 days | 12.86 | 2.96 | 0.25 |
| 100 | 14 weeks, 2 days | 14.29 | 3.29 | 0.27 |
| 120 | 17 weeks, 1 days | 17.14 | 3.94 | 0.33 |
| 180 | 25 weeks, 5 days | 25.71 | 5.91 | 0.49 |
| 200 | 28 weeks, 4 days | 28.57 | 6.57 | 0.55 |
| 270 | 38 weeks, 4 days | 38.57 | 8.87 | 0.74 |
| 365 | 52 weeks, 1 days | 52.14 | 11.99 | 1.00 |
| 500 | 71 weeks, 3 days | 71.43 | 16.43 | 1.37 |
| 1,000 | 142 weeks, 6 days | 142.86 | 32.85 | 2.74 |
Two rows are worth reading twice. 28 days is exactly 4 weeks with nothing left over, which is why pay cycles and medical courses use it rather than a calendar month. And 365 days comes to 1.00 years rather than a clean 1, because the average Gregorian year is 365.2425 days once the leap cycle is spread across it.
Weekdays and weekend days in each month
A calendar day count is the wrong number for anything scheduled around a working week, and the difference is large: a 30 day month holds either 20, 21 or 22 weekdays depending only on which day it starts on. The columns below count Monday to Friday across whole calendar months, inclusive of the 1st and the last. They do not deduct public holidays, which vary by country and even by nation within the UK, so subtract those yourself. For paid hours inside a single shift the hours calculator handles the clock arithmetic, and the time duration calculator covers gaps shorter than a day.
| Month | Weekdays 2026 | Weekdays 2027 | Weekend days 2026 | Weekend days 2027 |
|---|---|---|---|---|
| January | 22 | 21 | 9 | 10 |
| February | 20 | 20 | 8 | 8 |
| March | 22 | 23 | 9 | 8 |
| April | 22 | 22 | 8 | 8 |
| May | 21 | 21 | 10 | 10 |
| June | 22 | 22 | 8 | 8 |
| July | 23 | 22 | 8 | 9 |
| August | 21 | 22 | 10 | 9 |
| September | 22 | 22 | 8 | 8 |
| October | 22 | 21 | 9 | 10 |
| November | 21 | 22 | 9 | 8 |
| December | 23 | 23 | 8 | 8 |
| Full year | 261 | 261 | 104 | 104 |
The full year row is the useful one for anything annual. A 365 day year is 52 whole weeks plus one spare day, so it holds 260 weekdays, or 261 when that spare day is not a Saturday or Sunday. A 366 day year has two spare days and lands on 260, 261 or 262 depending on which day it starts. Deduct your own public holidays from whichever figure applies, then your own leave, to get actual days worked.
Which years are 366 days long
A leap year is any year divisible by four, except century years, which must also be divisible by 400. That is why 2000 was a leap year and 1900 was not, and why the next skipped one is 2100. Any gap that crosses a 29 February is one day longer than the same gap in a neighbouring year, which is the single most common reason a hand count and a calculator disagree. If you are counting from a birth date rather than an arbitrary date, the age calculator reports exact years, months and days instead of a flat day total, and the days until a date calculator counts forward to a deadline.
| Year | Days | Leap year | Days in February | Weekdays |
|---|---|---|---|---|
| 2024 | 366 | Yes | 29 | 262 |
| 2025 | 365 | No | 28 | 261 |
| 2026 | 365 | No | 28 | 261 |
| 2027 | 365 | No | 28 | 261 |
| 2028 | 366 | Yes | 29 | 260 |
| 2029 | 365 | No | 28 | 261 |
| 2030 | 365 | No | 28 | 261 |
| 2031 | 365 | No | 28 | 261 |
| 2032 | 366 | Yes | 29 | 262 |
Counting whole years by multiplying by 365 drifts by about a day every four years. Over a 20 year span that is five days, which matters for interest, tenancies and anything measured in exact days rather than anniversaries.
Inclusive counting, and where the extra day comes from
The calculator reports the gap between two dates, not the number of dates in the range. Those are different numbers and they differ by exactly one. From Monday to Friday the gap is 4 days, but there are 5 days in the range if you count both Monday and Friday. Neither is more correct. Which one you want depends on what the day represents.
The gap figure is what you want for anything measured in nights or elapsed time: a hotel stay from the 3rd to the 7th is 4 nights, a notice period runs for the elapsed days, and interest accrues per day passed. Add one for anything where each date is itself a unit: days of annual leave booked, days of an event or exhibition, days of a course, or a deadline stated as running through a final date inclusive.
Legal and contractual wording usually settles it explicitly. Phrases like "within 14 days of" almost always exclude the trigger date and count from the following day, while "from the 1st to the 14th inclusive" counts both ends and gives 14 days rather than 13. If a document does not say, the safe move is to work out both figures and act on the shorter deadline.
One more source of off-by-one answers is time of day. This calculator reads plain calendar dates with no clock time, and measures them in UTC, so a British Summer Time change inside the range cannot shave an hour off the total and round the answer down. A tool that stores local timestamps instead can lose a day across the March or October clock change. If you need the gap between two clock times rather than two dates, that is the time duration calculator. The rest of the date and time tools sit in the everyday calculators category.
How the days between two dates is worked out
The calculator takes the difference between the two dates in milliseconds, divides by the number of milliseconds in a day (86,400,000) and rounds to the nearest whole number. From 1 January 2025 to 31 December 2025 that gives 364 days, because 2025 has 365 days and the gap excludes the start day itself.
It then breaks the total into full weeks plus leftover days, so 364 days reads as 52 weeks and 0 days. The approximate month figure divides the day total by the average month length of 30.44 days, which smooths over the fact that months range from 28 to 31 days. The order of the dates does not matter because the calculator uses the absolute difference.
How to use the days between dates calculator
- Pick the start date with the date picker.
- Pick the end date. You can enter them in either order.
- Read the day count, the weeks and days breakdown, and the approximate months.
Worked examples
A full calendar year
Inputs: Start 1 January 2025, end 31 December 2025
Result: 364 days, which is 52 weeks and 0 days, or about 12.0 months. The gap excludes the start day, so it is one short of 365.
A fortnight
Inputs: Start 1 June 2025, end 15 June 2025
Result: 14 days, which is 2 weeks and 0 days, or about 0.5 months.
Limitations and common mistakes
Edge cases and limitations
- The count excludes the start date, so it gives nights rather than inclusive days. Add one if you need both endpoints counted.
- The month figure is an estimate based on a 30.44 day average and will not match exact calendar months.
- Daylight saving changes are absorbed by the rounding, so the whole day count stays correct across clock changes.
Common mistakes
- Assuming both the first and last day are counted. The result is the gap, not an inclusive span.
- Treating the approximate months as exact. Two dates 31 days apart show as about 1.0 month, not exactly one calendar month.
Frequently asked questions
How many days are between two dates?
Subtract the earlier date from the later one and count whole days. From 1 January 2025 to 31 December 2025 there are 364 days, because 2025 is not a leap year and the start date is not counted twice.
Does the calculator count both the start and end day?
No. It counts the gap between the dates, not the dates themselves. If you need both endpoints included, for example counting nights or inclusive event days, add one to the result.
Why is the month figure approximate?
Months vary from 28 to 31 days, so the calculator divides the day total by the average month length of 30.44 days. It is a close estimate, not an exact calendar month count.
How many working days are between two dates?
This calculator counts calendar days, so take the total, divide by seven to get the whole weeks, and multiply those weeks by five. Then add the weekdays left over in the part week. A 30 day gap is 4 whole weeks plus 2 days, so it holds 20 weekdays plus however many of those 2 leftover days fall Monday to Friday. Public holidays are separate and have to be deducted by hand.
How many days are in 2026?
365. 2026 is not a leap year, because leap years are divisible by four and 2026 is not. The nearest leap years are 2024 and 2028. A leap year has 366 days, and a February with 29 rather than 28.
How many weeks is 90 days?
12 weeks and 6 days, because 12 times 7 is 84 and 90 minus 84 leaves 6. As a decimal it is about 12.86 weeks, and about 2.96 months at the average month length of 30.44 days.
Why do two date calculators give different answers?
Almost always because one counts the gap between the dates and the other counts the dates themselves, which differ by exactly one. A calculator that says 1 January to 31 December 2025 is 364 days is measuring the gap. One that says 365 is counting both endpoints as days. Neither is wrong, but you have to know which one you are reading.
Related calculators
Tip & Bill Split Calculator
Quickly figure the tip, total bill and per-person share for any group.
Percentage Calculator
Find a percentage of any number and see it added on or taken off, for discounts and tips.
Age Calculator
Find your exact age in years, months and days, plus total days and weeks lived.
VAT Calculator
Add VAT to a net price or remove VAT from a gross price at any rate in seconds.
See all everyday & shopping calculators.