Online CalcKit

Days Between Dates Calculator

Count the exact number of days, weeks, months, and years between any two dates.

That's 364 days — or 11 months, 30 days.

Days 364
Weeks 52.00
Months (approx) 11.96
Years (approx) 1.00

Results update as you change the dates. The "approx months/years" figures use the average month (30.44 days) and year (365.25 days); the calendar Y/M/D breakdown counts actual elapsed months and days.

Formula

Days are subtracted directly using calendar arithmetic — both inputs are parsed as UTC noon to avoid daylight-saving drift. Approximate months and years divide the day count by 30.44 and 365.25 respectively (average month and year lengths). The calendar Y/M/D breakdown counts whole years and whole months between the dates, with day-borrow logic when the end's day-of-month is earlier than the start's.

When this calculator helps

Counting days between two dates seems simple until the answer has to be exactly right. Use this calculator when a deadline, a contract date, or a personal milestone rides on the number — figuring out how many days until a closing date, how long is left before a 30-day return window shuts, the full span of a project from kickoff to ship date, or just how many days old someone is. It is the go-to for any 'how long between' question.

It pays off most on the calculations that are a pain to do in your head, where months of different lengths and leap years trip you up. Whether you are counting down to an anniversary, measuring the gap between an invoice date and the day payment cleared, or pinning down the exact length of a lease, you enter a start date and an end date and read off the days, weeks, and a calendar breakdown.

How to read your result

The headline number is the count of days between your two dates — the calendar gap, not a tally of the dates themselves. This is exclusive counting: the start date is day zero and the count advances once you hit the next day, so January 1 to January 2 returns 1 day, not 2. That lines up with how interest, notice periods, and most contractual terms are figured.

When you genuinely need both endpoints counted — the inclusive total, which is what you want for something like a trip where you count both the day you leave and the day you get back — add one to the figure shown. Knowing which version you need is the most important part of reading the result, because the gap between them is always exactly one day and it is easy to land on the wrong side of it.

A worked example

Say a contract signed on 03/15/2026 gives you 90 days to perform, and you want to confirm the end date lands where you think. Enter 03/15/2026 as the start and 06/13/2026 as the end, and the calculator returns 90 days — about 13 weeks, with a calendar breakdown of roughly two months and 29 days. Because the span runs through spring with no February in it, leap-year quirks do not come into play here.

Now suppose you want the days left in a billing cycle, from 06/01/2026 to 06/30/2026. That comes out as 29 days. If you meant to count June 1 itself as well — the first day of coverage, say — you would add one and call it 30.

Common mistakes to avoid

Most date-counting errors are off-by-one slips or quietly mixing up which date came first.

  • Confusing inclusive and exclusive counting — decide up front whether both endpoints should count, and add one if they should.
  • Forgetting that February has 29 days in a leap year, which silently adds a day to any span crossing February 29.
  • Entering the dates out of order; the count is the same either way, but a swapped pair can mask a real input mistake.
  • Reading the approximate-months figure as exact calendar months — they only agree when both dates fall on the same day of the month.

Date formats in the US

The US writes dates month-first: MM/DD/YYYY, so 03/04/2026 means March 4, not April 3. That ordering is automatic here, but it becomes a real trap the moment a date crosses a border — someone in the UK or most of Europe reading 03/04/2026 would see the 4th of March, a whole month off from what you meant. When you work with an overseas client or a system set to another locale, spell the month out or use the unambiguous ISO format, YYYY-MM-DD, so you are both counting from the same day.

For US contracts and legal deadlines, watch the difference between calendar days and business days. This calculator counts every calendar day, which is what many 'within X days' clauses mean, but some deadlines run on business days only — excluding weekends and federal holidays. When that is the case, switch to the Working Days Calculator, and confirm with your attorney which basis a given clause uses.

Related calculators

Frequently asked questions

Does this count both endpoint days?

No — it counts the gap between them. Jan 1 to Jan 2 is 1 day. To count both endpoints (typical for trip duration: 'I'm there for 7 nights, that's 8 days'), add 1 to the figure. The calculator gives the standard 'days between' result.

Why is 'approx months' different from the calendar breakdown?

The approx field divides total days by 30.44 (the average month). The calendar Y/M/D breakdown counts actual months — '1 month' means an actual calendar month (28–31 days). They match when both dates fall on the same day-of-month; otherwise they differ slightly.

Does it handle leap years?

Yes. Leap days (Feb 29) are counted in the day total when the range crosses one. The calendar breakdown also respects leap years.

What if I swap the order of the dates?

The calculator shows the same absolute count and flags that the end is before the start. Day counts are direction-agnostic; the flag is so you know if you've ordered them as you intended.

Is this useful for legal deadlines?

It counts elapsed days — 'X calendar days from a contract date'. Some legal deadlines count business days only (excluding weekends and federal holidays); for those, use the Working Days Calculator. Confirm with your jurisdiction or attorney whether elapsed or business days apply.

Can I count age in days?

Yes — enter date of birth as start, today as end. For a richer breakdown (years, months, days, plus next-birthday countdown), use the dedicated Age Calculator.