Days Between Dates Calculator
Need the exact number of days between two dates — for interest calculations, age proofs, project timelines or notice periods? Pick the dates and get days, weeks, months and years instantly, leap years handled.
Days between dates
Exact day count between two dates.
FAQs
How are the days counted?
Exact calendar days between the two dates, not counting the start date.
Are leap years handled?
Yes — the count uses real calendar arithmetic including leap days.
How it counts
The calculator uses real calendar arithmetic: it counts every actual day between the start date (excluded) and end date (included), correctly handling leap years and varying month lengths. From 1 Jan 2026 to 31 Dec 2026, for instance, it returns 364 days.
Practical Ways to Use a Date Difference Calculator
Counting days between two dates sounds trivial until you try it by hand and land on a different number from your bank, your HR department, or your tenant agreement. A days-between-dates calculator removes that guesswork for everyday situations like serving a notice period, where a 30-day or 90-day clause must be counted precisely to avoid a salary deduction. Getting the end date wrong by even one day can cost you a day's pay or delay your relieving letter.
Another common use is computing interest and penalty periods, because banks and tax authorities charge for exact days — think late-payment interest on a loan EMI or the number of days a fixed deposit ran before premature withdrawal. The calculator also handles age calculations cleanly, converting a birth date into years, months, and days, which is handy for school admissions, retirement planning, and government forms that ask for age as on a specific date.
Travel and project planning benefit too: counting the days of a trip, the duration of a contract, or the gap between two project milestones. Whenever a deadline or a payment depends on the number of days, running both dates through the calculator gives you a defensible number that everyone can agree on. The habit of verifying date differences takes seconds and prevents the small arithmetic disputes that waste far more time.
Actual Days Versus the 30 360 Banking Method
Financial institutions don't all count days the same way, and knowing which convention applies explains why your calculation and the bank's can differ by a few days. The actual/actual method counts the real calendar days between two dates, including leap days, and it is the natural way most people think. Our calculator uses this convention, so its answer matches what you'd get by counting on a calendar.
Many banks and bond markets instead use the 30/360 convention, which treats every month as exactly 30 days and the year as 360 days, purely to simplify interest maths. Under 30/360, a period from 1 February to 1 March is always 30 days, whether February has 28 or 29 days — noticeably different from the actual count. If a loan agreement specifies 30/360, your interest will be computed on that stylised calendar regardless of real month lengths.
This matters when you are reconciling interest: an EMI schedule, a late fee, or a deposit payout computed under 30/360 can look "wrong" against an actual-day count, but it is correct under the contract's convention. Always check the day-count clause in your agreement before disputing a figure. For HR, legal, and personal use, actual calendar days are the norm, and that is what this calculator gives you.
| Situation | Convention Usually Used | Watch Out For |
|---|---|---|
| Notice periods and contracts | Actual calendar days | Whether the end date itself is included |
| Loan interest (most banks) | Often 30/360 or actual/365 — check the agreement | A few days' difference changes the interest |
| Age and tenure calculations | Actual days | Leap-day birthdays need explicit handling |
| Fixed deposit tenures | Actual days | Premature withdrawal uses days actually elapsed |
Avoiding Common Off by One Date Mistakes
The single most common error in date arithmetic is the off-by-one: is the end date itself counted or not? If your notice period starts on 5 January and runs 30 days, the last day could be 3 February or 4 February depending on whether 5 January is "day zero" or "day one." Both answers are defensible, which is exactly why agreements sometimes define the convention explicitly. Our calculator counts the difference between the two dates, meaning the start date is day zero and the end date is included in the span.
Leap years are the second classic trap, because February 29 adds a day that annual habits ignore. A two-year span that crosses a leap day is 731 days, not 730, and age calculations that ignore it drift by a day. Time zones and daylight-saving shifts can introduce similar one-day surprises in global teams, though for India (IST has no daylight saving) this is rarely an issue.
A good practice is to state both dates and the convention whenever the count matters: "30 days from 5 January 2026, excluding the start date, ending 4 February." That one sentence prevents most disputes. Use the calculator to confirm, then write the dates into the agreement itself rather than leaving everyone to recount later. Precision here is cheap, and the arguments it avoids are expensive.