Date Difference Calculator

Find the exact gap between two dates in days, weeks, months and years — useful for notice periods, project deadlines, interest calculations and anniversaries.

Written by Sagar Kumar
Last updated: 20 August 2026

📆 Date Difference

Total Days-
Weeks-
Months (approx)-
Years (approx)-

How to use this calculator

  1. Start date — the earlier date.
  2. End date — the later date.

The result shows the total days between them, along with a breakdown in weeks, months and years. Leap years are handled automatically.

How date arithmetic works

Days are counted exactly, accounting for the different lengths of months and for leap years. A year is a leap year if it's divisible by 4, except century years, which must be divisible by 400. So 2000 was a leap year, 1900 was not, and 2024 was.

Why "months" is fuzzy

Months vary from 28 to 31 days, so any conversion into months involves a convention. From 31 January to 28 February is one month by calendar reckoning but 28 days by count. Different systems handle this differently, which is why legal and financial documents usually specify days rather than months.

Inclusive or exclusive? A gap of "10 days" can mean ten nights or eleven calendar days depending on whether both endpoints count. For notice periods and contracts, check which convention applies — the difference matters.

Worked example

From 15 March 2026 to 20 August 2026:

PeriodDays
Rest of March16
April30
May31
June30
July31
1–20 August20
Total158 days

That's about 22.6 weeks, or roughly 5 months and 5 days.

Where this is genuinely useful

Common mistakes

Frequently Asked Questions

How many days are between two dates?

Enter both dates above and the calculator counts them exactly, including leap days. It also breaks the result down into weeks, months and years.

Does this include leap years?

Yes. Leap years are applied automatically — a year divisible by 4, except century years which must also be divisible by 400.

Does it count working days only?

No, this counts calendar days. Working-day counts depend on your location's holiday calendar, which varies by state in India.

Is the end date included?

The calculator gives the gap between the two dates. If you need both endpoints counted, add one to the result.

Why do month counts sometimes look inconsistent?

Because months range from 28 to 31 days, any conversion to months uses a convention. Day counts are unambiguous, which is why contracts usually specify days.

Can I calculate a past date difference?

Yes, any two dates work, past or future. Reversing the order simply produces a negative result.

How do I find a date a certain number of days from today?

This calculator finds the gap between two known dates. For adding days to a date, you would need a date-addition tool.

Capital gains ka holding period

Nivesh bechne se pehle tareekhein gin lena kaafi paisa bacha sakta hai.

NiveshLong-term kab se
Listed shares, equity mutual funds12 mahine se zyada
Debt mutual fundsSlab rate par, holding period se antar nahi
Zameen-jaidad24 mahine se zyada
Sona, unlisted shares24 mahine se zyada

Kuch din ki kami se short-term tax lag sakta hai. Bechne se pehle kharid ki tareekh se aaj tak ke din gin lijiye.

Ye saamanya jaankari hai. Niyam Budget ke saath badalte hain — bechne se pehle apne CA se pushti kar lijiye.

Notice period aur joining date

More questions

Equity long-term capital gain ke liye kitna samay chahiye?

Listed shares aur equity mutual funds ke liye 12 mahine se zyada. Zameen-jaidad aur sone ke liye 24 mahine se zyada.

Notice period calendar days mein ginte hain ya working days?

Aam taur par calendar days mein, jab tak aapke appointment letter mein kuch aur na likha ho. Apna letter ek baar padh lijiye.

Related calculators and guides

Disclaimer. This calculator provides estimates for general guidance only and is not financial, tax or legal advice. Rates, rules and limits change, and your own situation may differ. Please verify current figures with the relevant authority or a qualified professional before acting on them.