Date Calculator

Calculate days between dates or add time to find exact deadlines

Calculate the exact number of days, weeks, or months between any two dates, or find what date it will be after adding or subtracting a specific time period.

Updated June 2026 · How this works

Example calculation — edit any field to use your own numbers

Worth knowing
How It Works
The formula, explained simply

Date calculations work like counting steps on a calendar, but the math happens in milliseconds behind the scenes. Your computer converts every date into the number of milliseconds since January 1, 1970, then subtracts one from the other to find the difference. This timestamp system explains why date math is so reliable across different time zones and calendar systems.

When you add or subtract time periods, the calculator handles the irregular lengths of months automatically. February has 28 or 29 days, while other months have 30 or 31. The system knows about leap years and adjusts accordingly, so adding one year to February 29, 2024 gives you February 28, 2025.

Business day calculations require checking each date individually against the day of the week. The calculator steps through every single day in your range and counts only Monday through Friday when weekends are excluded. This method ensures accuracy even for very long date ranges.

When To Use This
Right tool, right situation

Use this calculator when you need precise date arithmetic for planning deadlines, tracking project timelines, or calculating time-sensitive obligations. It works well for legal contracts, academic schedules, and business planning where exact day counts matter more than rough estimates.

The business day feature helps with project management and deadline planning in corporate environments. When your vendor says delivery takes 10 business days, you can calculate the exact arrival date while excluding weekends. This prevents scheduling conflicts and missed deadlines.

Avoid using this calculator for historical dates before 1583 when different regions adopted the Gregorian calendar at different times. The calculator assumes modern calendar rules for all dates, which creates errors for medieval or ancient date calculations. Also avoid it for future dates beyond a few decades, since leap second adjustments and potential calendar reforms could affect very long-term calculations.

Common Mistakes
Why results sometimes look wrong

The most common mistake is forgetting that date ranges are typically inclusive of both endpoints. If you say 'from Monday to Friday,' most people mean five days, not four. However, some systems use exclusive endpoints where Friday would not be counted. Always verify whether your specific situation needs inclusive or exclusive counting.

Another frequent error occurs when adding business days while ignoring holidays. The calculator excludes weekends but treats federal holidays as regular working days. In reality, most businesses observe holidays, which means your actual business day count will be lower than calculated. Plan accordingly for holiday seasons.

People often miscalculate monthly additions when the target month has fewer days. Adding one month to January 30 gives February 28, not March 1 or 2. This adjustment happens automatically, but it can surprise users who expect every month addition to be exactly 30 or 31 days. The actual result depends on which specific months you cross.

The Math
Worked examples and deeper derivation

Date arithmetic uses the Gregorian calendar system with its precise rules for leap years and month lengths. Every fourth year is a leap year, except years divisible by 100, unless they are also divisible by 400. This means 2000 was a leap year but 1900 was not.

The calculation engine converts dates to Julian day numbers, a continuous count of days since January 1, 4713 BCE. This eliminates confusion about different calendar systems and makes subtraction straightforward. The difference between two Julian day numbers equals the exact number of days between those dates.

When adding months or years, the calculator uses calendar arithmetic rather than fixed day counts. Adding one month to January 31 gives February 28 (or 29), not March 2 or 3. This matches how humans think about monthly intervals, even though months have different lengths.

Project deadline planning
Start date: March 1, 2024, Add 90 days
Your project deadline will be May 30, 2024. This gives you exactly 90 days to complete all tasks, landing on a Thursday which works well for final presentations.
Vacation countdown
Start date: January 15, 2024, End date: June 21, 2024
You have 158 days until your vacation, which equals 22 weeks and 4 days. This is 113 business days if you exclude weekends, plenty of time to finish your current projects.
Contract expiration tracking
Start date: Today, Subtract 180 days
Your contract began exactly 6 months ago. This helps verify when renewal notices should have been sent or when certain terms took effect.
Expert Unlock
The thing most explanations skip

Professional project managers often use negative date calculations to work backward from fixed deadlines. If your product launch must happen on Black Friday, subtract your development timeline to find the latest possible start date. This reverse planning catches scheduling conflicts early.

The inclusive counting method matches legal and contractual standards in most jurisdictions. A 30-day notice period starting January 1 expires January 30, not January 31. Understanding this distinction prevents costly legal mistakes in tenant notices, contract terminations, and regulatory compliance.

Business day calculations become complex during holiday seasons when different regions observe different holidays. International projects need custom holiday calendars for each location, something basic date calculators cannot handle.

How do I calculate exact days between dates?

Does the calculator include both start and end dates in the count?
Yes, the calculator uses inclusive counting which includes both the start date and end date. For example, from January 1 to January 3 equals 3 days (January 1, 2, and 3).
How are business days calculated with weekends?
Business days exclude weekends (Saturday and Sunday) by default. You can check the include weekends option to count all 7 days of the week. The calculator does not account for holidays, only weekends.
What happens when I add months to a date that doesn't exist?
When adding months results in an invalid date (like adding 1 month to January 31), the calculator automatically adjusts to the last valid day of the target month. January 31 plus 1 month becomes February 28 (or 29 in leap years).

Need something this doesn't cover?

Suggest a tool — we'll build it →