Date Calculator
Calculate Date by entering start and end dates or times. Get precise durations in years, months, days, hours, and minutes. Free, works offline in browser.
Formula
Result Date = Start Date ± (Years + Months + Weeks + Days)
Add or subtract time units from a starting date using proper calendar arithmetic. Days are added first, then weeks, months, and years. Leap years and varying month lengths are handled automatically.
Worked Examples
Example 1: Days Between Two Dates
Problem:You booked a vacation rental from June 3, 2025 to August 22, 2025. How many days is your stay, and how many of those are weekdays?
Solution:Start: June 3, 2025 End: August 22, 2025 June: 27 remaining days (June 4-30) July: 31 days August: 22 days Total: 27 + 31 + 22 = 80 days 80 days = 11 weeks and 3 days Complete weeks contribute 55 weekdays and 22 weekend days. The remaining 3 days (Wed, Thu, Fri) are all weekdays. Weekdays: 55 + 3 = 58 | Weekend days: 22
Result:80 total days (58 weekdays, 22 weekend days)
Example 2: Adding 90 Days to a Date
Problem:An invoice is dated March 10, 2025 with net-90 payment terms. What is the payment due date?
Solution:Start date: March 10, 2025 Add: 90 days March 10 + 90 days: - March: 21 remaining days (Mar 11-31) - April: 30 days (running total: 51) - May: 31 days (running total: 82) - June: 8 more days needed (82 + 8 = 90) 21 + 30 + 31 + 8 = 90 days June 8, 2025 falls on a Sunday, so the business due date would be Monday, June 9.
Result:June 8, 2025 (Sunday) -- business due date: June 9, 2025 (Monday)
Example 3: Calculating Age in Days
Problem:Someone was born on September 15, 1990. How old are they in days on their 35th birthday (September 15, 2025)?
Solution:Start: September 15, 1990 End: September 15, 2025 That span covers exactly 35 years. Leap years in range: 1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, 2024 = 9 leap years Non-leap years: 35 - 9 = 26 Days from non-leap years: 26 x 365 = 9,490 Days from leap years: 9 x 366 = 3,294 Total: 9,490 + 3,294 = 12,784 days That is 1,826 weeks and 2 days, or roughly 420 months.
Result:12,784 days (1,826 weeks and 2 days)
Frequently Asked Questions
How do I add days to a date?
Enter your start date, then specify the number of days to add. The calculator immediately shows the resulting date. You can also add weeks, months, and years simultaneously for complex calculations. For example, adding 90 days to January 1st gives you April 1st (in non-leap years).
How many days are between two dates?
Use the 'Difference' tab, enter both dates, and the calculator shows total days, weeks, months, and years between them. It also breaks down weekdays vs weekend days and shows the duration in hours and minutes. The calculation accounts for leap years automatically.
Does the calculator account for leap years?
Yes, the calculator uses proper date arithmetic that accounts for leap years (February 29th), varying month lengths (28-31 days), and all calendar irregularities. Adding one year to February 29, 2024 correctly returns February 28, 2025.
How do I calculate a deadline or due date?
Enter today's date as the start date, then add the required number of days, weeks, or months. For a '30-day deadline' from today, enter 30 in the days field. For 'net 60 payment terms', enter 60 days. The result shows the exact due date and what day of the week it falls on.
How do I find what date was X days ago?
Use the 'Subtract' tab. Enter today's date and the number of days to subtract. For example, to find what date was 90 days ago, enter 90 in the days field. This is useful for tracking warranty periods, return windows, or historical date lookups.
Can I calculate dates across different years?
Yes, the calculator handles any date range. You can add or subtract multiple years along with months, weeks, and days. It correctly handles year transitions, century changes, and even calculations spanning decades or centuries.
How accurate are month calculations?
Month calculations account for varying month lengths. Adding 1 month to January 31st returns February 28th (or 29th in leap years) since February doesn't have 31 days. This is standard date arithmetic behavior. For precise 30-day periods, use the days field instead.
What's the formula for calculating days between dates?
The basic formula is: Days = End Date - Start Date. However, proper calculation must account for leap years, month lengths, and timezone considerations. Julian Day Number calculations convert dates to a continuous day count since a fixed reference point, making subtraction straightforward.
How do I figure out what day of the week a past or future date falls on?
Type or select any date in the start date field and add zero days. The calculator displays the full day name (Monday, Tuesday, etc.) for any date you enter. This works for dates in the past and far into the future. It is handy for planning events, checking when a birthday lands, or verifying historical dates like what day of the week July 4, 1776 was (it was a Thursday).
What is ISO 8601 and why should I use it for dates?
ISO 8601 formats dates as YYYY-MM-DD (e.g., 2025-03-15), eliminating ambiguity between US (MM/DD/YYYY) and European (DD/MM/YYYY) formats. It sorts chronologically as text, is internationally recognized, and is the standard for data exchange and APIs.