Days Between Dates Calculator — Find Exact Day Count
Calculate the precise number of days between any two dates with a detailed breakdown into years, months, days, total weeks, total hours, and total minutes.
Days Between Dates
Breakdown
1 year, 0 days
Total Weeks
52
Total Hours
8,760
Total Minutes
525,600
Remaining Days
1
Days Between Dates Reference Table
| Time Period | Days | Weeks | Hours |
|---|---|---|---|
| 1 month (January) | 31 | 4w 3d | 744 |
| 1 month (February) | 28 / 29 | 4w 0d / 4w 1d | 672 / 696 |
| 100 days | 100 | 14w 2d | 2,400 |
| 1 quarter (Q1 2026) | 90 | 12w 6d | 2,160 |
| 180 days | 180 | 25w 5d | 4,320 |
| 1 year (2026) | 365 | 52w 1d | 8,760 |
| 1,000 days | 1,000 | 142w 6d | 24,000 |
Related Calculators
Day Counter
Count calendar days, business days, and weekend days between two dates.
Date Calculator
Calculate date differences or add and subtract time periods from any date.
Weeks Between Dates Calculator
Count the exact number of weeks and remaining days between two dates.
Age Calculator
Calculate exact age in years, months, and days with birthday countdown.
Time Duration Calculator
Calculate the duration between two times in hours, minutes, and seconds.
Pregnancy Calculator
Calculate due dates, trimester timelines, and pregnancy milestones.
About this calculator
Days Between Dates Formula
Total Days = |Date2 - Date1| / 86,400,000 ms Total Weeks = floor(Total Days / 7) Total Hours = Total Days * 24 | Total Minutes = Total Days * 1,440 Variables Explained
- Date1, Date2: The two input dates. The calculator takes their absolute difference, so the order does not matter.
- 86,400,000: The number of milliseconds in one day (24 hours * 60 minutes * 60 seconds * 1,000 milliseconds). This constant converts the millisecond difference to days.
- Total Days: The absolute count of complete days between the two dates. This is always a non-negative integer.
- Total Weeks: The integer part of dividing total days by 7. Represents complete 7-day periods.
- Remaining Days: Total days modulo 7 — the leftover days after extracting complete weeks.
- Year-Month-Day Breakdown: Uses calendar arithmetic with month and year borrowing for a human-readable duration representation.
Step-by-Step Example
Calculate the days between September 15, 2025 and March 20, 2026:
- September 15 to October 15 = 30 days (September has 30 days)
- October 15 to November 15 = 31 days (October has 31 days)
- November 15 to December 15 = 30 days (November has 30 days)
- December 15 to January 15 = 31 days (December has 31 days)
- January 15 to February 15 = 31 days (January has 31 days)
- February 15 to March 15 = 28 days (February 2026 has 28 days)
- March 15 to March 20 = 5 days
- Total: 30 + 31 + 30 + 31 + 31 + 28 + 5 = 186 days
- Weeks: floor(186/7) = 26 weeks, Remaining: 186 mod 7 = 4 days
- Hours: 186 * 24 = 4,464 hours
- Breakdown: 6 months, 5 days
Sources
- ISO 8601 Date and Time Standard — International Organization for Standardization
- Gregorian Calendar Rules — U.S. Naval Observatory
- Day Count Conventions — International Swaps and Derivatives Association (ISDA)
- timeanddate.com — Duration Between Two Dates Reference
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: November 3, 2026