Date Difference Calculator
Date math
Exclusive ends (default) count whole days between two instants. Inclusive adds 1 to include the end date itself — typical for rental/leave calculations.
Related tools
When to use inclusive vs exclusive days?
Exclusive: time between two events (e.g., Jan 1 to Jan 10 = 9 days). Inclusive: count both endpoints (e.g., leave from Jan 1 to Jan 10 = 10 days of leave).
Everyday uses for a date difference calculator
Date gaps decide real money and deadlines more often than people expect. Loan and EMI tracking: days between disbursement and first EMI determine break-even interest — many Indian lenders charge "advance EMI" versus "arrears EMI" based on exactly this gap. Notice periods and probation: a 90-day notice from a resignation date decides your last working day; counting it wrong risks salary or relieving-letter disputes. Warranty and returns: a "1-year warranty" from an invoice date runs to the same calendar date next year — check it before paying for repair. Tenancy: rent agreements and deposit-refund timelines hinge on exact month/day counts. Interest calculations: simple interest for personal lending between family or friends is typically (principal × rate × days ÷ 365) — the day count here feeds straight into the Simple Interest calculator. Visas and stays: 180-day tourist-stay limits are counted in days, not months, and an off-by-one can cause immigration trouble. When in doubt, compute the exact span and add the inclusive day if the document counts both endpoints.
Frequently asked questions
Does this handle leap years?
Yes — JavaScript's Date object is the source and correctly accounts for leap-year Feb 29. So Jan 1 2024 → Jan 1 2025 = 366 days.
Why do hours/minutes matter for date inputs?
Date fields resolve to local midnight. For precise intervals use a time-difference calculator instead — this one is for calendar days.
How do I count a 90-day notice period correctly?
Enter your resignation date as the start and add 90 days exclusive to get your last working day — most Indian employment contracts count calendar days, not working days, unless the offer letter says otherwise. If it says working days, exclude Sundays and holidays, which this calendar-day count won't reflect.
Can I calculate someone's exact age in years, months and days?
Yes — set the start date to the date of birth and the end date to today. The result shows the full years, months and remaining days, which is the format required for exams (UPSC/SSC age limits), passport applications and most Indian government forms. The dedicated Age Calculator also adds weekday-of-birth details.
How many days do banks count for interest?
It varies by product: most Indian banks use actual/365 for savings interest, while some loan conventions use a 360-day year. For a fixed deposit, the bank's own maturity formula applies. Use the day count here to verify the interval, then confirm your bank's convention before disputing interest figures.