Date Calculator - Add/Subtract Days, Weeks, Months, Years
Free Date Calculator. Add or subtract days, weeks, months, or years from any date. Calculate the difference between two dates. Find days until events, deadlines, birthdays. Perfect for planning.
π Date Calculator
Add or subtract time any date, or find the difference between two dates
π How to Use the Date Calculator
The Add/Subtract tab allows you to calculate future or past dates by adding or subtracting a specific amount of time. This is useful for determining deadlines, expiration dates, contract periods, or any date-based planning.
Step 1: Select your starting date using the date picker. This defaults to today's date but can be changed to any date.
Step 2: Choose whether to add or subtract time that date.
Step 3: Enter the amount of time (a number).
Step 4: Select the unit of time: days, weeks, months, or years.
Step 5: Click Calculate to see the resulting date, including the day of the week.
The Date Difference tab calculates exactly how much time exists between any two dates. This is perfect for calculating age, project duration, time until events, or historical time spans.
Simply enter both dates and click Calculate. The result shows the difference in multiple units simultaneously: days, weeks, months, and years, giving you flexibility in how you think about the time span.
- Project deadlines: "When is 45 days from the project start date?"
- Subscription periods: "When does my 6-month subscription expire?"
- Pregnancy tracking: "What date is 40 weeks conception?"
- Legal deadlines: "When is the 30-day notice period over?"
- Event countdowns: "How many days until my wedding?"
- Age calculations: "How many days old am I?"
- Historical research: "How many years between these events?"
- Contract renewals: "When is 1 year from the contract date?"
π Quick Reference: Common Date Calculations
| Time Period | Days | Weeks | Common Use |
|---|---|---|---|
| 1 week | 7 | 1 | Weekly meetings, sprints |
| 2 weeks | 14 | 2 | Pay periods, notices |
| 30 days | 30 | 4.3 | Monthly billing, trials |
| 45 days | 45 | 6.4 | Notice periods |
| 60 days | 60 | 8.6 | Returns, warranties |
| 90 days | 90 | 12.9 | Quarterly reviews |
| 6 months | ~182 | 26 | Half-year evaluations |
| 1 year | 365 | 52 | Annual reviews, contracts |
| 2 years | 730 | 104 | Warranty periods |
| 5 years | 1,826 | 261 | Long-term planning |
π¬ Understanding Date Math
Day calculations are straightforward: each day is exactly 24 hours or 86,400 seconds. When you add 30 days to a date, the converter adds exactly 30 periods of 24 hours, regardless of the month length.
This means that adding 30 days is different adding 1 month. For example, adding 30 days to January 15 gives you February 14, while adding 1 month gives you February 15 (or February 14 in non-leap years if starting from January 30 or 31).
Month calculations are more complex because months have different lengths (28, 29, 30, or 31 days). Our computer uses calendar month logic:
- Preserving day of month: Adding 1 month to March 15 gives April 15
- End-of-month handling: Adding 1 month to January 31 gives February 28 (or 29 in leap years), since February doesn't have 31 days
- Consistent behavior: Adding 1 month always moves to the same day in the next calendar month when possible
Year calculations account for leap years. A year is defined as the same date in the following calendar year, not as a fixed number of days. This means:
- Adding 1 year to March 1, 2024 gives March 1, 2025
- Adding 1 year to February 29, 2024 (leap day) gives February 28, 2025
- The calculation correctly handles the 365/366 day variation
Leap years occur to account for the fact that Earth's orbit around the Sun takes approximately 365.25 days. The rules are:
- Years divisible by 4 are leap years (2024, 2028, 2032...)
- EXCEPT years divisible by 100 are NOT leap years (1900, 2100...)
- EXCEPT years divisible by 400 ARE leap years (2000, 2400...)
This system keeps our calendar aligned with Earth's orbit, with an error of only about 1 day every 3,236 years.
π Practical Applications
Contract Management: Calculate when contracts expire, when renewal notices are due, and when payment terms end. For example, a Net-30 invoice dated January 15 is due by February 14.
Project Planning: Determine milestone dates by adding weeks or months to project start dates. A 12-week project starting March 1 ends on May 24.
Performance Reviews: Calculate 90-day and annual review dates for employees based on their start dates.
Legal Deadlines: Courts often set deadlines in days (30-day notice, 60-day response period). Accurate calculation is critical for compliance.
Pregnancy and Baby: Calculate due dates (40 weeks last menstrual period), trimester milestones, and pediatric appointment schedules.
Travel Planning: Determine visa validity periods, passport expiration dates relative to travel, and how many days until your trip.
Fitness Goals: Set 30-day challenges, 12-week workout programs, or annual fitness milestones.
Educational: Calculate semester start/end dates, assignment deadlines, and time until graduation.
Investment Periods: Determine maturity dates for CDs, bonds, and other time-based investments.
Loan Terms: Calculate payoff dates for mortgages and loans. A 30-year mortgage started January 2025 ends January 2055.
Tax Deadlines: Count days until filing deadlines, extension periods, and estimated tax payment dates.
π Calendar Systems and History
Our date utility uses the Gregorian calendar, introduced by Pope Gregory XIII in 1582. It replaced the Julian calendar to correct a 10-day drift that had accumulated over centuries. The Gregorian calendar is now the international standard for civil use.
The Gregorian calendar has 365 days in a regular year and 366 days in a leap year. The extra day (February 29) occurs in years divisible by 4, except for years divisible by 100 unless also divisible by 400.
- January: Named after Janus, Roman god of beginnings (31 days)
- February: From Latin "februum" meaning purification (28/29 days)
- March: Named after Mars, Roman god of war (31 days)
- April: Latin "aperire" meaning to open (30 days)
- May: Named after Maia, goddess of growth (31 days)
- June: Named after Juno, goddess of marriage (30 days)
- July: Named after Julius Caesar (31 days)
- August: Named after Augustus Caesar (31 days)
- September-December: Originally months 7-10 in Roman calendar (30/31 days)
The ancient Roman calendar originally had 10 months totaling 304 days, with a gap during winter. When January and February were added, February was given 28 days because even numbers were considered unlucky. Later, a day was taken from February to give August 31 days, matching July (both named after emperors).