Skip to content
GM
GM Calculator
Math10 min read

How to Calculate Days Between Dates, Add/Subtract Time & Count Business Days

Date math is trickier than it seems — leap years, varying month lengths, and time zones all matter. Learn to calculate durations accurately and avoid the pitfalls.

Why Date Calculations Matter

Date calculations are essential for project planning, event scheduling, contract management, and personal organization. Unlike simple arithmetic, date math requires understanding calendar irregularities — months have different lengths, leap years add an extra day, and weekends/holidays affect business timelines.

Calculating Days Between Two Dates

Step-by-step: Count remaining days in start month + full months between + days in end month. Example: January 15 to March 10. Remaining in January: 31 - 15 = 16. February: 28 days (non-leap). March: 10 days. Total: 16 + 28 + 10 = 54 days.

Adding Days to a Date

Example: What date is 45 days after March 20? March remaining: 11 days used. Days still to add: 45 - 11 = 34. April: 30 days → 34 - 30 = 4. Result: May 4.

Subtracting Days from a Date

Example: What date was 60 days before July 15? Days in July before 15th: 14. Days still to subtract: 60 - 14 = 46. June: 30 → 46 - 30 = 16. May: 31 → 31 - 16 = 15. Result: May 15.

Leap Year Rules

February has 29 days in leap years. Rules: Divisible by 4 = leap year (2024, 2028). Divisible by 100 = NOT leap year (1900, 2100). Divisible by 400 = IS leap year (2000, 2400).

Business Day Calculations

Count total calendar days, subtract weekends and holidays. Example: March 1 to March 15, 2025 (March 1 is Saturday): business days = March 3-7 (5) + March 10-14 (5) = 10 business days. Rule of thumb: ~22 business days per 30 calendar days.

Common Date Calculation Pitfalls

Pitfall 1: Assuming all months have 30 days — they range from 28 to 31. Pitfall 2: Forgetting leap years. Pitfall 3: Counting the start date AND end date — be clear about whether both endpoints count. Pitfall 4: Ignoring time zones for international dates.

Real-World Applications

📋 Project Management: Calculate task durations and set milestone dates. 💰 Finance: Interest accrual periods and payment due dates. 🏥 Health: Pregnancy due dates and medication schedules. ⚖️ Legal: Filing deadlines and statute of limitations.

Key Takeaways

  • Days between dates: Count remaining days in start month + full months + days in end month
  • Leap years: February has 29 days in years divisible by 4 (except century years not divisible by 400)
  • Business days: ~22 per 30 calendar days (remove weekends and holidays)
  • Always specify: Whether you're counting calendar days or business days

Ready to calculate dates? Use our free Date Calculator for instant, accurate results.

FAQs

How do you calculate the number of days between two dates?

Use a date calculator or count manually: subtract the earlier date from the later date. Watch for month length differences — adding 1 month from January 31 gives March 3 (not February 31), because February has fewer days.

How do you add 30 days to a date?

Add 30 calendar days to your start date, accounting for month boundaries. For example, January 15 + 30 days = February 14. Note that this skips over the varying lengths of months.

How many business days are in a month?

Typically 20-23 business days per month, depending on the number of weekdays, holidays, and whether weekends fall at the start or end of the month.

What is a leap year?

A leap year has 366 days instead of 365, adding February 29. Years divisible by 4 are leap years, except century years not divisible by 400. So 2024 and 2000 are leap years, but 1900 and 2100 are not.

How do I calculate my exact age in years, months, and days?

Subtract your birth date from today's date, accounting for whether the current month/day has passed your birthday yet.

👩‍🏫

Emily Watson, M.Ed.

Mathematics Educator

Mathematics teacher and curriculum designer with 15+ years of experience.

M.Ed. Mathematics EducationNational Board Certified Teacher
Email for support

Calculate Your Dates

Try the Date Calculator →