Time calculators

Date Calculator

Updated Nov 25, 2026 By Infinity Calculator Formulas Sources
Rate
Date Difference Calculator
Please select a valid start date
Please select a valid end date
Time Between Dates
Total Days
0
Business Days
0
Weekend Days
0
Holidays Excluded
0
Detailed Breakdown
Years, Months, Days0 years, 0 months, 0 days
Total Weeks0 weeks, 0 days
Total Hours0
Total Minutes0
Total Seconds0
Add or Subtract from a Date
Please select a valid start date
Duration to Add/Subtract
Resulting Date
Resulting Date
Day of Week
Days from Start
0
Details
Start Date
Operation
Duration Added
Result Date
Leap Year?
Day of Year
ISO Week Number

Introduction

This free date calculator helps you find the number of days, weeks, months, and years between two dates. You can also add or subtract time from any date to get a new date. It counts total days, business days, and weekend days. You can even exclude US holidays from your count. Use it to figure out deadlines, plan events, track how many days until a big date, or count workdays for a project. Just pick your dates, hit calculate, and get your answer.

How to Use Our Date Calculator

This calculator helps you find the number of days between two dates or add and subtract time from any date. Enter your dates and options in the calculator above to get instant results.

Date Difference Tab

Start Date: Pick the first date you want to count from.

End Date: Pick the second date you want to count to.

Include End Day: Turn this on if you want the end date itself counted as one extra day in your total.

Holiday Settings: Click this to open holiday options. You can choose to skip US holidays and weekends when counting business days. You can also add your own custom holidays by entering a name, month, and day. Federal holidays are checked from 1971 on, each only in the years it was a federal holiday. When one falls on a Saturday, the Friday before is skipped, and when one falls on a Sunday, the Monday after is skipped.

Calculate: Press this button to see the total days, business days, weekend days, and holidays between your two dates. You will also see a breakdown in years, months, weeks, hours, minutes, and seconds.

Add / Subtract Tab

Start Date: Pick the date you want to start from.

Operation: Choose Add to move forward in time or Subtract to move backward.

Years, Months, Weeks, Days: Enter how much time you want to add or subtract. You can fill in one field or all of them.

Business Days Only: Turn this on to count only Monday through Friday when adding or subtracting weeks and days. Holidays are also skipped when Holiday Settings on the Date Difference tab is set to Do not count holidays, using the holidays ticked there. Each week counts as 5 business days.

Calculate: Press this button to see your new resulting date, the day of the week it falls on, and helpful details like whether it lands in a leap year and its ISO week number. When that week belongs to the year before or after, its year is shown next to the week number.

What Is a Date Calculator?

A date calculator is a tool that helps you find the number of days, weeks, months, or years between two dates. It can also add or subtract time from any date to find a new date in the future or past. People use date calculators for many everyday tasks like counting down to a birthday, figuring out how many days until a deadline, or planning a project timeline.

How Dates and Time Work

Our calendar is called the Gregorian calendar. Most years have 365 days, and a leap year has 366. Years divisible by 4 are leap years, except century years that are not divisible by 400.1 Months have different lengths: some have 30 days, some have 31, and February has 28 or 29.2 This makes counting days by hand tricky, which is why a calculator is so helpful.

Calendar Days vs. Business Days

There are two main ways to count days. Calendar days include every single day: weekdays, weekends, and holidays. Business days only count Monday through Friday and skip weekends. Some people also skip holidays when counting business days. Business day counting is common for work deadlines, shipping times, and legal due dates.

What Are Federal Holidays?

Federal holidays are days set by the U.S. government when federal offices and most banks are closed. Examples include New Year's Day, Independence Day, Thanksgiving, and Christmas. Some holidays fall on a fixed date every year, while others move around, like Thanksgiving, which is always the fourth Thursday in November.3 When a holiday falls on a Saturday, federal employees who work Monday through Friday get the Friday before off, and when it falls on a Sunday, they get the Monday after off.3 When you exclude holidays from a date calculation, you get a more accurate count of actual working days.

Common Uses for Date Calculations

  • Project planning: Find out how many working days you have to finish a task.
  • Age calculation: See your exact age in years, months, and days with our Age Calculator.
  • Contract deadlines: Count business days to know when a legal or work deadline falls.
  • Travel planning: Calculate the length of a trip in days or weeks.
  • Pregnancy tracking: Count weeks and days from a specific start date.
  • Loan and interest periods: Find the exact number of days between payment dates.
  • Countdowns: Track how many days remain until a special event with our Days Until Calculator.

Formulas used

Total Calendar Days
D = \operatorname{round}\left(\frac{E - S}{86400000}\right) + \delta_{\text{includeEnd}}
Years, Months, Days Breakdown
D_{\text{total}} = Y \text{ years} + M \text{ months} + d \text{ days}, \quad 0 \le d < \text{daysInMonth},\; 0 \le M < 12
Weeks and Remainder
W = \lfloor \frac{D}{7} \rfloor, \quad r = D \mod 7
Business Days
B = D - D_{\text{weekend}} - D_{\text{holidays}}
Total Hours / Minutes / Seconds
H = D \times 24, \quad M_{\min} = D \times 1440, \quad S_{\sec} = D \times 86400
Add/Subtract Result Date
R = S \pm (Y \text{ years} + M \text{ months} + W \times 7 \text{ days} + d \text{ days}), \quad \text{Business Days Only: } W \times 5 + d \text{ business days}
ISO Week Number
W_{\text{ISO}} = 1 + \left\lfloor \frac{(d_{\text{adj}} - d_{\text{Jan4}}) / 86400000 - 3 + (w_{\text{Jan4}} + 6) \bmod 7}{7} \right\rfloor

Frequently asked questions

What is an ISO week number?

An ISO week number tells you which week of the year a date falls in, based on the international standard. Week 1 is the week that contains the first Thursday of January.4 The first few days of January can belong to the last week of the previous year, and the last few days of December can belong to the first week of the next year.4 The year has either 52 or 53 weeks.4

What is Day of Year in the results?

Day of Year shows how many days into the year your date falls. For example, February 1 is day 32 because January has 31 days. The total is out of 365 or 366 if it is a leap year.

Are Black Friday and Christmas Eve federal holidays?

No. Holidays like Black Friday, Christmas Eve, and New Year's Eve are not official federal holidays.3 Many workplaces observe them anyway. A President can also close federal offices on an extra day, such as Christmas Eve, by executive order.

Sources

  1. Leap Years. U.S. Naval Observatory, Astronomical Applications Department. The Rule. Accessed September 29, 2026.
  2. Klyne G, Newman C. Date and Time on the Internet: Timestamps (RFC 3339). Internet Engineering Task Force. 2002;§ 5.7 Restrictions. Accessed September 29, 2026.
  3. 5 U.S. Code § 6103 - Holidays. Legal Information Institute, Cornell Law School. (a). Accessed September 29, 2026.
  4. Temporal.PlainDate. Ecma International TC39. date.weekOfYear. Accessed September 29, 2026.