How to Calculate Days Between Two Dates Manually
The manual calculation depends on how many months, years, and days span the two dates. Here are the key facts you need:
- Regular year: 365 days | Leap year: 366 days
- January: 31 | February: 28/29 | March: 31 | April: 30 | May: 31 | June: 30
- July: 31 | August: 31 | September: 30 | October: 31 | November: 30 | December: 31
Simple Method โ Convert to Day Number
The easiest method is to convert both dates to their "day of year" number, then subtract:
Example: How many days from March 15 to August 20 (same year)?
- March 15 = Day 74 of the year (31 Jan + 28 Feb + 15 Mar)
- August 20 = Day 232 (31+28+31+30+31+30+31+20)
- Difference = 232 โ 74 = 158 days
Leap Year Rule โ When It Matters
A year is a leap year if: divisible by 4, EXCEPT century years (1900, 2100) which must be divisible by 400. So 2000 was a leap year but 1900 was not. 2026 is a leap year (366 days). Leap year adds 1 day to February โ so any date calculation spanning Feb 29 in a leap year must account for this extra day.
Working Days Calculation
For business and legal purposes, you often need working days (excluding weekends). The formula:
Working Days = Total Days โ (Number of complete weeks ร 2) โ weekend days in partial week
In India, the standard work week is MondayโSaturday (6 days), making Sunday the only excluded day. Government offices and many traditional businesses still follow 6-day weeks. Most modern IT companies follow 5-day weeks (MonโFri).
| Date Range | Total Days | Working Days (Mon-Sat) | Working Days (Mon-Fri) |
|---|---|---|---|
| 1 week | 7 | 6 | 5 |
| 1 month (approx) | 30 | 26 | 22 |
| 1 quarter | 90โ92 | ~78 | ~65 |
| 1 year | 365 | ~313 | ~261 |
Common Date Calculations โ Quick Reference
| Question | Answer |
|---|---|
| How many days in a month? | 28โ31 depending on month |
| How many days in a year? | 365 (366 in leap year) |
| How many days in a quarter? | Q1: 90/91 | Q2: 91 | Q3: 92 | Q4: 92 |
| 90 days from today (Apr 15, 2026)? | July 14, 2026 |
| Days until Dec 31, 2026? | 260 days |
| Days since Jan 1, 2026? | 104 days |
Real-World Uses for Date Difference Calculation
Loan and Interest Calculations
Banks calculate simple interest on exact days: Interest = Principal ร Rate ร Days รท 365. Knowing the exact number of days between disbursement and repayment is critical for accurate interest computation. Even 1 day difference can matter on large loans.
Employment Notice Periods
Most employment contracts specify 30, 60, or 90 day notice periods. Calculating the exact last working day โ accounting for weekends, public holidays, and the start date counting rule โ is important for both employers and employees.
Visa and Passport Validity
Tourist visas are granted for specific day counts (30, 60, 90 days). Overstaying even by 1 day can result in fines or bans. Always calculate your last permissible day from the visa grant date โ not the date of entry.
Fixed Deposit Maturity
FD interest is calculated on exact days. A 365-day FD opened on April 15, 2026 matures on April 15, 2027 โ but in a leap year spanning February, the actual days may differ from the nominal "1 year" period.
๐ Calculate Days Between Any Dates
Use our free Date Difference Calculator โ get exact days, working days, weeks, months and more!
Calculate Date Difference โFrequently Asked Questions
Q: Does the calculator include the start date or end date in the count?
By default, the date difference calculator counts the gap between dates โ so if start = end, result = 0. If you need to include both dates (for example, counting days of work from Day 1 to Day 30 inclusive), add 1 to the result. For "days remaining" calculations, only count to โ not including โ the end date.
Q: How do you calculate months between two dates?
For exact months, count the number of calendar months and check the days. From Jan 15 to Apr 15 = exactly 3 months. From Jan 15 to Apr 10 = 2 months and 26 days (not 3 full months). For approximate months, divide total days by 30.44 (average days per month).