Date Calculator

Result date

2026-02-28

Calendar-day change

28 days

All results
Calculator inputs
?

Calendar shifts use the selected year/month rule. Difference counts a date interval. Business shifts count only eligible dates under your settings.

?

Gregorian date from 0001 to 9999. Display order follows your browser locale; shared/API dates use YYYY-MM-DD.

?

Signed whole calendar years, applied first. A missing February 29 clamps to February 28.

?

Signed whole months applied after years, clamping the current day to the new month’s last day.

?

Signed whole calendar weeks, exactly seven days each. Business-day mode has a separate counter.

?

Signed whole calendar days, after the years/months steps and in addition to seven days per week.

?

Default clamps after years and again after months. Combined applies 12×years + months from the original date and clamps once. February 29, 2020 + 1 year + 1 month gives March 28, 2021 sequentially, or March 29 when combined.

Your selected dates on the calendar

Start: · Result/end: . Selected dates are outlined; weekend dates are muted and listed holidays are underlined. Counting follows your chosen endpoint rule.

January 2026
SuMoTuWeThFrSa
February 2026
SuMoTuWeThFrSa

Your date calculation steps

Years and months follow the selected sequential or combined clamp. Calendar days are not business days.

Your date calculation steps
StepDate (YYYY-MM-DD)Convention
Starting date2026-01-31Saturday
After years2026-01-31Clamp the day to the destination month if needed.
After months2026-02-28Apply months to the already year-adjusted date; clamp after each step.
After weeks and days2026-02-28Add seven calendar days per week plus the signed day offset.

How to use the Date Calculator

Add or subtract calendar dates, count days between dates, or shift business days with explicit weekend, holiday and endpoint settings. Includes calendars and date breakdowns.

  1. 1. Enter your inputs

    Start with Calculate, Starting date, Years to add (negative subtracts), Months to add. Use the units shown beside each field and open the field help when you need its assumptions.

  2. 2. Read the results

    Results update as you enter valid values. Review Result date, Calendar-day change, Result/end weekday. Keep the entered units and settings consistent when comparing scenarios.

  3. 3. Check the calculation

    Supported dates/results: 0001–9999. Calendar offsets retain ±200 years, ±2400 months and ±100000 days, plus ±10000 weeks. Business offsets support ±10000 eligible dates. Inputs, intermediate dates and output must stay within the supported range.

    See the worked example and method

Understanding the Date Calculator: uses, inputs and results

The Date Calculator makes calendar shifts, date differences and business-day counting reproducible through explicit endpoint, weekend and holiday rules.

What date is a number of months or days from now?

By default, calendar mode applies signed years, then months with sequential clamping, then seven days per week plus days. A month is not a fixed thirty-day duration. Difference mode separately counts an interval, while business-day mode excludes the weekends and closures selected in its settings.

Why can two date calculators show different answers?

A result depends on month-end handling, whether the end date is included, actual versus observed holidays and whether a business offset returns a counted workday or an excluded interval boundary. Compare those conventions before comparing the number. UTC date-only arithmetic does not measure timezone-aware elapsed hours or decide legal deadlines.

What do the Date Calculator inputs mean?

Calculate
Calendar shifts use the selected year/month rule. Difference counts a date interval. Business shifts count only eligible dates under your settings.
Starting date
Gregorian date from 0001 to 9999. Display order follows your browser locale; shared/API dates use YYYY-MM-DD. This field applies when Calculate is set to Add or subtract calendar units or Add or subtract business days.
Years to add (negative subtracts)
Signed whole calendar years, applied first. A missing February 29 clamps to February 28. Unit: years. This field applies when Calculate is set to Add or subtract calendar units.
Months to add
Signed whole months applied after years, clamping the current day to the new month’s last day. Unit: months. This field applies when Calculate is set to Add or subtract calendar units.
Weeks to add
Signed whole calendar weeks, exactly seven days each. Business-day mode has a separate counter. Unit: weeks. This field applies when Calculate is set to Add or subtract calendar units.
Days to add
Signed whole calendar days, after the years/months steps and in addition to seven days per week. Unit: days. This field applies when Calculate is set to Add or subtract calendar units.
Month-end rule
Default clamps after years and again after months. Combined applies 12×years + months from the original date and clamps once. February 29, 2020 + 1 year + 1 month gives March 28, 2021 sequentially, or March 29 when combined. This field applies when Calculate is set to Add or subtract calendar units.
Start date
First selected date. The default difference counts this date and excludes the end date. This field applies when Calculate is set to Days between two dates.
End date
On or after the start. Earlier dates produce a prompt to swap endpoints; they are not silently reordered. This field applies when Calculate is set to Days between two dates.
Include the end date
Including the end adds one counted date. The same date gives zero by default and one with inclusion enabled. This field applies when Calculate is set to Days between two dates.
Business days (+/−)
Whole eligible dates forward or backward, up to 10000. Zero retains the start even if it is a weekend or holiday. Unit: days. This field applies when Calculate is set to Add or subtract business days.
Business-day result convention
Default: exclude the original start and return the last counted workday. Boundary mode counts the start for positive offsets and returns the excluded next calendar boundary, which may be a weekend. Negative offsets use the same backward exclusion of the original start. This field applies when Calculate is set to Add or subtract business days.
Weekend pattern
Choose excluded weekdays. A business day is any remaining date that is not an excluded holiday. This field applies when Calculate is set to Days between two dates or Add or subtract business days.
Holiday preset
Optional rule-based federal preset for 2021–2100. Observed dates move Saturday holidays to Friday and Sunday holidays to Monday for the standard Monday–Friday convention. Dates beyond published years are projections of the stated rules. This field applies when Calculate is set to Days between two dates or Add or subtract business days.
Custom holidays or closures
One date per line: YYYY-MM-DD for a specific date, or MM-DD for an annual recurrence. Optionally add a comma and name. Up to 100 lines; recurring-holiday difference ranges are limited to 200 calendar years. Repeated dates count once. This field applies when Calculate is set to Days between two dates or Add or subtract business days.

When is the Date Calculator useful?

What date is a number of days or months from now?

Use positive or negative whole calendar offsets. One month after January 31, 2026 is February 28 under the retained clamping convention; thirty days after January 31 is March 2.

How can I check an interval or an internal work schedule?

Choose elapsed or inclusive counting, then select the applicable weekend and closures. Compare the calendars and day classification rather than a bare number. Business-day results can differ by endpoint convention and do not establish a legal deadline or a universal employer calendar.

Date Calculator: a practical reference

The fixed “Legacy January clamp” example on this page produces the results below. It illustrates the stated model; your live results above use your current inputs.

Calculate
Add or subtract calendar units
Starting date
2026-01-31
Years to add (negative subtracts)
0 years
Result date
2026-02-28
Calendar-day change
28 days
Review the example inputs and calculation

Use the result in context

Supported dates/results: 0001–9999. Calendar offsets retain ±200 years, ±2400 months and ±100000 days, plus ±10000 weeks. Business offsets support ±10000 eligible dates. Inputs, intermediate dates and output must stay within the supported range.

Try the Date Calculator·Read the subject guide·Explore a related calculator

Worked example: Date Calculator

Legacy January clamp. This fixed reference example shows one complete scenario; the interactive results above use your current inputs.

View the example inputs
Calculate
Add or subtract calendar units
Starting date
2026-01-31
Years to add (negative subtracts)
0 years
Months to add
1 months
Weeks to add
0 weeks
Days to add
0 days
Month-end rule
Years first, then months
Calculated results for the fixed example
Calculated quantityExample result
Result date2026-02-28
Calendar-day change28 days
Result/end weekdaySaturday
Elapsed days between dates28 days
Whole counted weeks4 weeks
Days after whole weeks0 days

Date calculator: calendar dates, elapsed days and business-day planning

What can I calculate with the Date Calculator?

Use Add or subtract calendar units to move a starting date by signed years, months, weeks and days. Use Days between two dates to measure an interval with an explicit end-date inclusion rule. Use Add or subtract business days when weekends or entered holidays should not count toward an offset. These operations answer different questions.

The default example is January 31, 2026 plus one calendar month, giving February 28, 2026. Defaults are reproducible examples, rather than a live clock. Replace the starting date with today’s date in your browser’s date picker when asking “What date is 30 days from today?” A copied link preserves the dates and settings you entered.

A calendar day, a business day and a month are different units. Weeks contain seven calendar days in calendar mode; the business-day mode uses its own eligible-date counter. Choosing the correct mode is more important than matching a bare number from another date calculator.

How do I add or subtract days, weeks, months and years from a date?

Enter positive whole offsets to move forward and negative offsets to move backward. By default, the calendar calculation applies years first, then months, then seven days per week plus the day offset. Mixed signs are allowed. Starting on January 1, 2026, adding two weeks and subtracting one day gives January 14, 2026.

For pure day arithmetic, the offset is a count of whole calendar dates. January 1, 2026 plus 90 days is April 1, 2026. This does not exclude weekends or holidays. A request for 90 business days needs the business-day mode and a specified work calendar.

The working table shows the starting date, date after years, date after months and final date. Its order matters near leap days and month ends. The calendar-date change in the results is signed: a date before the start has a negative change, even though whole weeks and remaining-day counts describe the interval’s magnitude.

Why is adding one month different from adding 30 days?

Calendar months have different lengths. January 31, 2026 plus one month is February 28 under this calculator’s clamping rule. Adding 30 calendar days instead gives March 2, 2026. Neither calculation treats a month as a fixed 30-day duration.

Clamping replaces a missing day with the destination month’s final day. January 31 to February 28 loses the original day number 31, so subtracting one month from February 28 gives January 28. It is not a perfect inverse. Likewise, adding one month twice can differ from adding two months once, because the first step can shorten the day.

The default sequential year/month rule means: February 29, 2020 plus one year first becomes February 28, 2021, then one month becomes March 28, 2021. Selecting Combine years and months instead applies thirteen months from the original date and returns March 29. That difference reflects an arithmetic convention, not necessarily an invalid leap-year calculation.

How many days are between two dates? Should I include the end date?

The default difference includes the start date and excludes the end date, written [start, end). January 1 to January 31, 2026 therefore contains 30 counted dates. Selecting Include the end date counts both endpoints and produces 31. The same date gives zero by default and one when the end is included.

The counted-date total is divided into whole seven-day weeks and remaining days. The calendar span is a separate representation: it finds the largest direct clamped month anniversary within the counted duration, splits those months into years and months, then counts the remaining days. These representations should not be added together.

From January 31 to February 28, 2026, there are 28 elapsed days, or four weeks. The direct clamped calendar span is one month and zero days. Another calculator may favor the week representation or use a different month-end convention. Compare the exact day total and endpoint rule before treating the calendar wording as a mathematical discrepancy.

The end date must be on or after the start. This tool prompts you to swap reversed endpoints instead of silently reordering them. Including the end extends the counted duration by one date; the calendar graphic still identifies the actual selected endpoints.

How do I add business days without counting weekends?

In Return a counted workday mode, the original starting date is excluded. Move in the chosen direction and count only eligible dates until the requested number is reached. With Saturday/Sunday excluded and no holidays, Friday July 3, 2026 plus one business day is Monday July 6. Monday July 6 minus one business day is Friday July 3.

The alternative Return the interval boundary convention counts from the start for positive offsets and returns the next excluded calendar boundary. Friday July 3 plus one business day then returns Saturday July 4: the counted date is Friday, and the returned Saturday is excluded. This interval-style convention counts eligible dates before an excluded boundary; it does not present Saturday as a counted workday.

Backward offsets count from the result up to, but excluding, the original start under both options. A zero offset retains the start unchanged, including a weekend or holiday. Select the convention deliberately when comparing tools: a label such as “one business day after” does not by itself establish which endpoint was counted.

Choose Saturday/Sunday, Friday/Saturday or no weekend exclusions in the settings. A business day is an eligible date after those exclusions and any chosen holidays. This is a planning model, not a determination of a statutory deadline, leave entitlement, court filing rule or securities settlement date.

How do holidays and custom closures change a date calculation?

No national holidays are assumed by default. Enter a full date such as 2026-07-03 for a one-time closure, or 07-03 for a closure that repeats each year. Add an optional name after a comma, for example “2026-07-03, Office closed”. Each line represents one rule; up to 100 lines are supported.

Repeated dates count once even when multiple names or rules identify them. A holiday on a selected weekend is already excluded and is not subtracted again. The partition is counted calendar dates = weekend dates + other excluded holidays + business days. The holiday table identifies weekend overlaps so the counts can be checked.

An annual 02-29 closure occurs only in leap years. It is skipped in other years rather than shifted to March 1 or February 28. Full dated closures never repeat automatically. For an employer or region not represented by a preset, enter the actual closures relevant to your scenario.

The optional U.S. federal preset supports actual dates or standard Monday–Friday observed dates under the stated 2021–2100 rule set. Future years are projections of those rules, not promises that no schedule will change. It does not include one-off closures, Inauguration Day or every state, school, market and private-employer holiday.

Why can the actual holiday date differ from the observed day off?

An actual holiday date and an observed closure can be different. Independence Day in 2026 falls on Saturday July 4; the published standard federal schedule observes it on Friday July 3. For Monday–Friday date planning, excluding July 4 alone does not remove that Friday from the business-day count.

The reference tables below show actual and observed dates side by side for 2026 and 2027. The preset’s observed convention moves Saturday fixed holidays to Friday and Sunday fixed holidays to Monday. Floating weekday holidays already fall on their specified weekdays.

The observed preset retains that standard Monday–Friday federal convention even if you select another weekend pattern. It does not infer different in-lieu days for an alternative employee schedule. Select actual dates or enter the closures that actually apply when the preset does not fit.

OPM: Published federal holiday schedules

How does the Date Calculator handle leap years and February 29?

Gregorian leap years are divisible by four, except century years that are not divisible by 400. Thus 1900 and 2100 are common years, while 2000 and 2400 are leap years. February has 29 days only in a leap year; impossible dates such as February 29, 1900 are rejected.

February 28 to March 1 spans one elapsed day in 1900 and two in 2000. A 400-year Gregorian cycle contains 97 leap years and 146097 days, so dividing an arbitrary day interval by 365 does not give an exact calendar-year decomposition.

The supported calendar is proleptic Gregorian: it extends the same mathematical rule throughout years 0001–9999. It does not reproduce every country’s historical adoption date, a Julian calendar or local calendar cutovers. Early years are parsed explicitly rather than being mistaken for 1901 or another twentieth-century date.

US Naval Observatory: Gregorian leap-year rule

Are date-only days the same as elapsed hours across daylight-saving changes?

This Date Calculator works with calendar dates, not time-zone-aware instants. UTC date-only arithmetic keeps a local daylight-saving change from turning a whole-date difference into a fractional day. It does not convert a selected date to your local midnight or model a birth time, meeting time or clock transition.

Date-only equivalent hours multiply the counted dates by 24. That is a unit conversion of this calendar count, not proof that the real interval between local timestamps contained that many hours. Use the Time Zone Calculator when an actual instant and daylight-saving rule matter, or the Time Duration Calculator for its stated civil date/time model.

The browser may display its date controls in day/month/year or month/day/year order. Shared links, API values, tables and explicit result dates use YYYY-MM-DD, so 2026-07-03 unambiguously means July 3, 2026.

Why use a date calculator for schedules, projects and personal planning?

A date calculator makes the counting rule reproducible. It can help compare a calendar-day notice period with a business-day task estimate, check an anniversary under a stated month-end rule, measure a trip interval or plan an internal project milestone. Keep the start, end or offset, weekend pattern, holiday list and endpoint convention together.

For example, an internal task starting Thursday July 2, 2026 and taking one later eligible workday lands on Friday July 3 with weekend-only counting. Entering a July 3 office closure moves the same scenario to Monday July 6. Neither result establishes a legal due date; they apply different explicitly entered work calendars.

The calendar view outlines selected endpoints and marks listed closures. The step table explains calendar shifts. Month-by-month counts, or annual counts for longer ranges, reconcile the interval; day-by-day classification is available for complete intervals up to 366 dates. Table CSV downloads include all rows, and printing includes all rows of the selected breakdown.

Use Age for birth-date anniversaries and the next birthday; use this Date Calculator for the supported shifts and interval choices. A rule projection is only as suitable as the dates and assumptions supplied.

Date counting conventions at a glance

Business examples assume Saturday/Sunday weekends and no holidays. Different conventions can produce different dates without an arithmetic error.

Date counting conventions at a glance
QuestionConventionExample
Default calendar shiftYears, then months with sequential clamping, then weeks × 7 plus days.2026-01-31 + 1 month = 2026-02-28.
Elapsed date differenceStart included; end excluded.2026-01-01 to 2026-01-31 = 30 dates.
Inclusive countBoth endpoints included.The same January endpoints = 31 dates.
Return a counted workdayExclude the original start; return the last counted eligible date.Friday + 1 business day = Monday with weekend-only counting.
Forward interval boundaryCount from the start; exclude the returned boundary.Friday + 1 business day = Saturday boundary; Friday was counted.
Holiday overlapWeekend classification takes precedence; do not subtract twice.An actual Saturday holiday is already an excluded weekend.

Calendar month lengths and leap-year checks

Gregorian rule: divisible by 4, except centuries not divisible by 400. Common years have 365 days, leap years 366.

Calendar month lengths and leap-year checks
MonthCommon-year daysLeap-year days
January3131
February2829
March3131
April3030
May3131
June3030
July3131
August3131
September3030
October3131
November3030
December3131

2026 U.S. federal holidays: actual and observed dates

Actual holiday dates alongside the standard Monday–Friday observed schedule. Checked against OPM’s published schedule; not a universal employer or local holiday calendar.

2026 U.S. federal holidays: actual and observed dates
HolidayActual dateObserved dateObserved weekday
New Year’s Day2026-01-012026-01-01Thursday
Martin Luther King Jr. Day2026-01-192026-01-19Monday
Washington’s Birthday2026-02-162026-02-16Monday
Memorial Day2026-05-252026-05-25Monday
Juneteenth2026-06-192026-06-19Friday
Independence Day2026-07-042026-07-03Friday
Labor Day2026-09-072026-09-07Monday
Columbus Day2026-10-122026-10-12Monday
Veterans Day2026-11-112026-11-11Wednesday
Thanksgiving2026-11-262026-11-26Thursday
Christmas2026-12-252026-12-25Friday

2027 U.S. federal holidays: actual and observed dates

Actual holiday dates alongside the standard Monday–Friday observed schedule. Checked against OPM’s published schedule; not a universal employer or local holiday calendar.

2027 U.S. federal holidays: actual and observed dates
HolidayActual dateObserved dateObserved weekday
New Year’s Day2027-01-012027-01-01Friday
Martin Luther King Jr. Day2027-01-182027-01-18Monday
Washington’s Birthday2027-02-152027-02-15Monday
Memorial Day2027-05-312027-05-31Monday
Juneteenth2027-06-192027-06-18Friday
Independence Day2027-07-042027-07-05Monday
Labor Day2027-09-062027-09-06Monday
Columbus Day2027-10-112027-10-11Monday
Veterans Day2027-11-112027-11-11Thursday
Thanksgiving2027-11-252027-11-25Thursday
Christmas2027-12-252027-12-24Friday

Formula and calculation method

Dates use the proleptic Gregorian calendar and UTC date-only arithmetic; local daylight-saving shifts and historical country-specific calendar cutovers are not applied. Input/output dates use YYYY-MM-DD.

By default, calendar shifts apply signed years first, then signed months with clamping at each step, then seven days per week plus signed days. The optional combined rule applies 12×years + months from the original date and clamps once. The default example is 2026-01-31 + one month = 2026-02-28.

Difference defaults to [start,end): the start is counted and the end is excluded. Including the end counts both. Calendar components use the largest direct clamped month anniversary within the counted interval, then remaining days. A calendar month is not a fixed number of days.

Business workday mode excludes the original start and returns the last eligible date. Forward boundary mode counts from the start and returns the excluded next calendar boundary. Backward offsets count [result,start). Zero offsets retain the start.

Business days = counted calendar dates − excluded weekends − non-weekend holidays. Duplicate holiday dates and weekend/holiday overlaps are not subtracted twice. Custom recurring February 29 occurs only in leap years.

The optional U.S. federal preset models the listed current rules for 2021–2100. Actual holiday dates differ from standard Monday–Friday observed dates. It excludes special one-off closures, Inauguration Day, local/private calendars and legal deadline rules.

Scope and Limitations

  • Supported dates/results: 0001–9999. Calendar offsets retain ±200 years, ±2400 months and ±100000 days, plus ±10000 weeks. Business offsets support ±10000 eligible dates. Inputs, intermediate dates and output must stay within the supported range.
  • U.S. preset calculations are limited to 2021–2100; future dates are rule projections. Recurring-holiday difference intervals support at most 200 calendar years. Up to 100 custom holiday lines are supported.
  • Calendar components are convention-dependent near month ends. Date-only hours are counted days times 24, not real elapsed timestamps across time-zone/DST changes. This does not determine a statutory deadline, employer leave entitlement or market settlement date.

Reference Sources

Frequently asked questions

What date will it be a number of days or weeks from today?

Choose calendar mode, enter today’s date and use signed whole offsets. Each week is seven calendar days. Defaults are fixed examples; shared links preserve entered dates.

Does the date difference include the end date?

By default it includes the start and excludes the end. Include the end date adds one counted date. The same date therefore gives zero by default and one when inclusion is selected.

Why does adding one month to January 31 give February 28?

The destination February has no day 31, so the calculator clamps to its last day. A month is not a fixed thirty-day duration, and reversing a clamped shift cannot recover the original day automatically.

Why can a business-day result fall on a weekend?

Return a counted workday mode returns an eligible date for a nonzero offset. Return the interval boundary can instead return a weekend because that returned boundary is excluded from the forward count. Zero offsets leave the starting date unchanged.

Are public holidays excluded automatically?

No. Choose an optional U.S. preset or enter custom dates and closures. Weekend and holiday overlaps are subtracted once. The preset does not establish every local, employer or legal deadline rule.

Can I enter recurring holidays or a different weekend?

Yes. Enter MM-DD for an annual closure or YYYY-MM-DD for a one-time date, optionally followed by a comma and name. Weekend options are Saturday/Sunday, Friday/Saturday or none. Recurring February 29 is skipped in non-leap years.

Are historical dates and leap years supported?

Dates from 0001–9999 use the proleptic Gregorian rule: divisible by four, except centuries not divisible by 400. Historical country-specific calendar cutovers and Julian-calendar dates are not reconstructed.

Do date-only hours account for daylight saving time?

No. They convert counted calendar dates at 24 hours per day. Real elapsed time between local timestamps needs a timezone-aware interpretation.