Date Calculator

Comprehensive date calculator with three modes: (1) Calculate the difference between two dates in days, weeks, months, and years, (2) Add years, months, weeks, and days to a date, or (3) Subtract time periods from a date. The calculator automatically handles leap years and varying month lengths, displays the day of the week, day of year, and week number. Perfect for planning events, calculating deadlines, project management, or finding date differences. All calculations use proper calendar arithmetic and account for leap years. All calculations happen instantly in your browser with complete privacy—no data is stored or transmitted.

Date Calculator

How it works: This calculator performs date arithmetic in three modes: (1) Calculate the difference between two dates in days, weeks, months, and years, (2) Add years, months, weeks, and days to a date, or (3) Subtract time periods from a date. The calculator automatically handles leap years and varying month lengths. Perfect for planning events, calculating deadlines, or finding date differences.

What Is a Date Calculator?

A date calculator computes the exact number of days, weeks, months, or years between two calendar dates — or finds the resulting date after adding or subtracting a given number of days from a start date. It handles all the calendar complexity automatically: varying month lengths (28 to 31 days), leap year corrections, and cross-year boundaries.

Common uses include project deadlines, contract durations, loan maturity dates, warranty expiration, trial periods, and scheduling. Anywhere a precise day count matters — and mental arithmetic on months and years gets error-prone — a date calculator delivers an exact answer in seconds.

ToolYard's date calculator runs in your browser. Results appear instantly and nothing is stored or transmitted.

How to Use This Date Calculator

  1. Choose your mode: Days Between Dates, or Add/Subtract Days.
  2. For Days Between: enter a Start Date and End Date. The result shows total days, weeks, months, and the breakdown.
  3. For Add/Subtract: enter a Start Date and a number of days to add or subtract. The result shows the target date.
  4. Toggle Exclude Weekends to count only business days (Monday–Friday).
  5. Copy the result or use the related tools links below for further planning.

Worked Example: Sofia's Q2 Marketing Sprint

Sofia's campaign kicks off on April 7, 2025 and must wrap by June 27, 2025.

  • April 7–30: 23 days remaining in April
  • May: 31 days
  • June 1–27: 27 days
  • Total: 81 calendar days
  • Excluding 23 weekend days: 58 business days
  • In weeks: 11 full weeks + 3 extra days

Sofia can now allocate roughly 58 business days across creative, approval, and launch phases — far more useful than a rough "about 3 months" estimate.

Common Time Period Reference

PeriodCalendar DaysBusiness Days (approx)Common Use Case
2 weeks1410Notice period, trial window
30 days30~22Billing cycle, return policy
90 days90~65Fiscal quarter, probation
180 days180–184~1306-month warranty, visa validity
1 year365–366~261Annual contract, subscription
5 years1,826–1,827~1,305Statute of limitations, loan term

Leap years (2024, 2028, 2032…) add 1 day to the calendar year count.

Key Concepts in Date Arithmetic

Julian Day Number — Under the hood, most date calculators convert both dates to a sequential day count (like Julian Day Numbers), subtract, and convert back. This sidesteps month-length complexity entirely.

Business day counting — Excludes Saturdays and Sundays. A 30-day span starting on a Monday contains exactly 22 business days. Public holidays vary by country and are not automatically excluded unless the calculator has a holiday database.

Leap year rule — A year is a leap year if divisible by 4, except century years must be divisible by 400. So 2000 was a leap year; 1900 was not.

Adding months vs. adding days — "30 days from March 15" lands on April 14. "1 month from March 15" lands on April 15. These differ because months have varying lengths. Always clarify which you mean in contracts.

Tips and Common Mistakes

  • Inclusive vs. exclusive counting — "From March 1 to March 5" is 4 days exclusive (not counting the start) or 5 days inclusive. Courts and contracts often use inclusive counting — confirm which applies.
  • Time zone shifts — For events crossing midnight, the date depends on time zone. A meeting ending at 11 PM EST is already the next day in London.
  • Month confusion — Adding "3 months" to January 31 is ambiguous because April 31 doesn't exist. Most systems roll to April 30. Confirm end-of-month behavior in legal documents.
  • Forgetting the end year — When calculating multi-year spans, always double-check that the year field is correct; a typo there shifts results by 365 days.
  • Business days and holidays — This calculator excludes weekends but not public holidays. Add 1–3 extra days buffer for holiday weeks in deadlines.

Frequently Asked Questions

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

Select Days Between Dates mode, enter your start and end dates, and read the result. The calculator handles leap years and varying month lengths automatically.

What date is 90 days from today?

Switch to Add/Subtract mode, set today as the start date, and enter 90 days. The output gives the exact calendar date 90 days later.

How many business days are between two dates?

Enable the Exclude Weekends toggle. The result shows working days only (Monday–Friday). Public holidays are not excluded automatically.

Does the calculator handle leap years?

Yes. Every year divisible by 4 is treated as a leap year (with the 400-year century exception), so February counts 29 days in those years.

What is the difference between 30 days and 1 month?

Exactly the difference between each specific month's length and 30. Adding 1 month from March 15 gives April 15 (31 days later), while adding 30 days gives April 14.

How do I calculate a contract end date?

Use Add/Subtract mode: enter the contract start date, add the contract length in days (or calculate from months). The output is your exact expiry date.

Can I count days backward from a deadline?

Yes — in Add/Subtract mode, choose Subtract and enter the number of days before your deadline. The result is the latest date you can start.

What related calculators pair well with this tool?

Use the age calculator to compute years from a birth date, the days until calculator for countdown events, or the weeks calculator for weekly breakdowns.

Related Tools