Skip to content

Date Calculator

Calculate the number of days between two dates or add/subtract days from a date. Includes business days option and year/month/week breakdown.

How to Calculate Days Between Dates

Finding the exact number of days between two dates requires accounting for months of varying lengths (28-31 days) and leap years. This calculator handles all of that automatically.

Calendar Days vs Business Days

Calendar days count every day — weekdays, weekends, and holidays. Business days count only Monday through Friday. The difference matters for deadlines, shipping estimates, and project planning.

For a 30-calendar-day span, you'll typically have about 22 business days (though this varies based on which day of the week you start).

Adding and Subtracting Days

Need to know what date falls 90 days from now? Or what date was 60 days ago? The add/subtract mode handles this. Enter a positive number to go forward, negative to go backward.

Common Date Calculations

  • 90-day notice period: Enter today + 90 days
  • Project deadlines: Days between start and due date
  • Shipping estimates: Business days from order to delivery
  • Pregnancy due date: 280 days from last menstrual period
  • Visa expiration: Days remaining on a visa or document

Date Arithmetic Formula

For total days: days = floor((endDate - startDate) / 86400000)

For business days, the calculator iterates through each day and counts only weekdays (day of week 1-5).

The year/month/day breakdown uses calendar-aware subtraction, borrowing days from the previous month when the day value would go negative.

Related Calculators

Frequently Asked Questions

How do I calculate days between two dates?

Enter the start and end dates. The calculator computes the exact number of calendar days, weeks, months, and years between them.

What are business days?

Business days are weekdays (Monday through Friday), excluding weekends. This calculator can count business days only by toggling the option.

Does the calculator account for holidays?

The business days calculation excludes weekends but not public holidays, as holidays vary by country and region.

Can I add or subtract days from a date?

Yes. Switch to "Add/Subtract Days" mode, enter a start date and number of days (negative to subtract), and see the resulting date.

How does it handle month boundaries?

When adding days across months of different lengths, the calculator uses actual calendar arithmetic. Adding 30 days to January 15 correctly lands on February 14.