All calculators

Education

Date Calculator

Pick a mode, enter your dates, and the calculator returns the answer in total days, weeks plus days, weekdays vs weekend days, approximate months and years, or a resulting date with weekday name. Supports negative differences and optional holiday lists for business days.

Mode

If the end date is earlier, the result is shown as negative.

Days between dates

Total days

365 days

52 weeks 1 day · Forward in time

Start dateJanuary 1, 2024
End dateDecember 31, 2024
Total days365
Weeks + days52w 1d
Approximate years0.999
Approximate months0 yr 11 mo
Weekdays (Mon-Fri)261
Weekend days104
Was this helpful?

Examples

2024-01-01 to 2024-12-31

365 days · 52w 1d · 261 weekdays · 104 weekends

Jan 15, 2024 + 30 days

Feb 14, 2024 (Wednesday)

Mar 1, 2024 − 60 days

Jan 1, 2024 (Monday)

Mon Jan 1, 2024 to Mon Jan 15, 2024 (1 holiday on Mon Jan 8)

14 total days · 10 weekdays · 9 business days after holiday

How it works

Every mode reduces to the same idea: convert calendar dates into a day count (days since a fixed anchor), do the arithmetic, then convert back. Using a UTC anchor keeps the math stable across daylight saving boundaries.

Days between two dates

total days = dayCount(end) − dayCount(start)

Add or subtract days

result = fromDayCount(dayCount(start) ± n)

Weekday from a day count

weekday = (dayCount + 4) mod 7

1970-01-01 was a Thursday (4), so adding 4 and taking the remainder modulo 7 gives the weekday index where Sunday is 0 and Saturday is 6.

Business days

business days = weekdays in (start, end] − weekday holidays

Counts Monday through Friday in the range, then subtracts any user-entered holiday dates that fall on weekdays inside the range. No built-in holiday list.

What the calculator does

The date calculator answers the four most common calendar math questions in one place: how many days are between two dates, what date is N days from a starting date, how many days until a target date, and how many business days are in a range. Each mode shows several useful framings of the result so you can pick the format that matches your task.

Days between two dates

Pick mode one, enter the start and end dates, and the calculator returns the total days, the equivalent in weeks plus days, the approximate years and months, and the split between weekdays (Mon-Fri) and weekend days (Sat-Sun). If the end date is earlier than the start, the calculator shows a negative total and an explicit end-is-before-start label, so direction is always clear.

Add or subtract days from a date

Pick mode two, enter the start date, choose add or subtract, and enter the number of days. The result panel shows the resulting calendar date in both long form (e.g., February 14, 2024) and ISO form (2024-02-14), along with the weekday name and the shift applied. Subtraction works across month and year boundaries: subtracting 60 days from March 1 wraps back to January 1 of the same year.

Days from today

Pick mode three. The today field defaults to your local date in the browser, and the target date defaults to 30 days ahead. The result is days until (positive) or days since (negative) along with the weekday of the target. You can override the today field to use any reference date, which makes this mode a focused alternative to mode one when one side of the comparison is the current date.

Business days

Pick mode four, enter the start and end dates, and optionally paste in a list of holiday dates as YYYY-MM-DD. The calculator counts Monday through Friday in the range, then subtracts each holiday that falls on a weekday inside the range. The breakdown shows the total days, the raw weekday count, the number of applicable holidays, and the final business-days count.

The convention is to include the end date and exclude the start date, which matches how most planning tools count business days. Monday to Friday in the same week is 4 business days under that rule (Tuesday, Wednesday, Thursday, Friday).

Worked examples

  • 2024-01-01 to 2024-12-31: 365 days under the exclusive-start convention (2024 is a leap year with 366 unique dates), 52 weeks 1 day, about 1 year, 261 weekdays, 104 weekend days.
  • 2024-01-15 + 30 days = 2024-02-14 (Wednesday).
  • 2024-03-01 − 60 days = 2024-01-01 (Monday).
  • 2024-01-01 to 2024-01-15 with the holiday 2024-01-08 (a Monday): 14 total days, 10 weekdays, 1 applicable holiday, 9 business days after holiday subtraction.

Date calculator vs chronological age calculator

The two pages share the underlying concept of days between two dates, but the framing is different on purpose:

  • Date calculator (this page): arithmetic-framed. Total days, business days, weekdays vs weekends, resulting dates after a shift, countdowns. No age terminology.
  • Chronological age calculator: age-framed. Years, months, and days between a date of birth and a reference date, plus total months and weeks. Useful for school cutoffs, child-development screenings, and forms.

For clock-time math (durations between two times, adding hours to a time), use the time calculator. For weekly work hours and gross pay, see the time card calculator.

Common mistakes

  • Confusing days between with an inclusive both-endpoint count. The calculator uses end minus start, so Jan 1 to Jan 2 is 1 day. Add 1 if you need an inclusive count.
  • Forgetting leap years. February has 29 days in 2024 and 2028; the calculator handles this automatically.
  • Treating business days as a fixed fraction of total days. The split depends on which weekday the range starts on, so a 7-day window has either 4 or 5 weekdays depending on alignment.
  • Pasting a non-ISO date into the holiday list. The calculator expects YYYY-MM-DD and flags entries it could not read.
  • Trying to compare times across time zones with this calculator. It operates on plain calendar dates only; convert to a single reference zone first.

Related tools

Note. All math uses the proleptic Gregorian calendar and plain local-date components, with no time zone or daylight saving adjustment. The business-days mode does not include any built-in holiday list; enter your own holiday dates as YYYY-MM-DD if needed.

Frequently asked questions

Subtract the start date from the end date. The calculator works in local-date components (year, month, day) and converts each date to a UTC-anchored day count, then subtracts the counts. This keeps the math stable across daylight saving transitions and time zones. If the end date is earlier than the start, the result is shown as a negative number.

It shifts a start date forward (add) or backward (subtract) by a given number of days and returns the resulting calendar date along with its weekday name. For example, January 15 plus 30 days is February 14. Subtracting 30 days from January 15 returns December 16 of the previous year.

The today field defaults to your local date when the page loads in the browser, and the target date defaults to 30 days ahead. The result is days until (target is in the future) or days since (target is in the past), along with the target weekday. You can override the today field to compute days between any two dates in this mode too.

Monday through Friday only. The count includes the end date and excludes the start date, which matches how most planning tools count business days (Monday to Friday in the same week is 4 business days). Saturdays and Sundays are skipped. If you enter holiday dates that fall on weekdays inside the range, the calculator subtracts them.

No. The calculator does not bundle country-specific holiday lists, because real holiday calendars differ by jurisdiction, school district, and employer. The business days mode has an optional holiday field where you can paste your own dates as YYYY-MM-DD. Only valid weekday holidays inside the range are subtracted from the business-day count.

Yes. The math uses real calendar arithmetic, so February 29 in leap years is counted as a real day, and adding or subtracting days respects month lengths exactly. The total-days output is therefore precise across multi-year ranges; the approximate years and months outputs are calendar-aware too.

If the gap spans many years, the total-days count is exact but the year/month breakdown depends on calendar quirks like month length and leap years. The calculator reports approximate years and months alongside total days so you can pick whichever framing fits your question.

The chronological age calculator is age-framed: it expects a date of birth and reports years, months, and days. The date calculator is arithmetic-framed: it expects two dates (or a date and a delta) and reports total days, weekdays, weekends, and resulting dates. Use the chronological age tool for age questions and this tool for general calendar math.

No. All math is done in plain calendar dates with no time zone or daylight saving adjustment. The local-date approach keeps each date stable: a date entered as 2024-03-10 stays 2024-03-10 even across a DST transition on the same day. For time-of-day math, use the time calculator.

Yes. There is no lower bound on the dates you can enter. The math works the same whether the dates are in the recent past, the distant past, or the future. Just be aware that historical calendar reforms (such as the switch from Julian to Gregorian) are not modeled; the calculator uses the proleptic Gregorian calendar throughout.