Skip to content

Date Calculator

Calculate calendar or business days between dates, or add and subtract years, months, weeks, and days from a date.

Select Calculation

Day count type

Result

-

Select Calculation

Date Calculator

Quick Start

1
Choose days between dates, add to a date, or subtract from a date.
2
For date difference, enter start and end dates, then choose calendar or business days. For date math, enter a start date and whole years, months, weeks, or days.
3
Results update instantly. Date difference excludes the end date unless you turn on inclusive mode.

Common Scenarios

Deadlines

add 14 days, 6 weeks, or 3 months to find a target date.

Trip planning

count how many calendar days sit between two dates.

Work backward

subtract a preparation window from a target date.

Calculation Modes & Counting Rules

Days between dates: enter start and end dates; the default result is the calendar-day gap from start date to end date.
Include end date: turn it on only when the ending date should count as a full day; for forward spans it adds one day to the default gap.
Business days: count weekdays between the dates. Regional holidays and custom workweeks are not removed.
Add to date: enter whole years, months, weeks, and days to project a future calendar date from the start date.
Subtract from date: use the same whole-number units to work backward from a target or reference date.
Month-end handling: adding or subtracting months or years keeps the calendar month where possible and clamps to the target month's last day when needed.
Calendar days: count every calendar day. Business days: exclude Saturdays and Sundays only.

Usage Advice

When a target month has no matching day, the result is clamped to the last day of that month.
Inclusive mode is for workflows that count the ending day as a full day.
Dates are handled as YYYY-MM-DD calendar dates to avoid timezone shifts.

URL Quick Fill

Prefill this tool from the URL hash. Use start-date/end-date for a date gap, or start-date with years/months/weeks/days for date math.
view: Mode (optional: days-between, add-to-date, or subtract-from-date)
start-date: Start date (required, YYYY-MM-DD)
end-date: End date (required for Days between dates, YYYY-MM-DD)
inclusive: Inclusive counting (optional boolean for Days between dates)
years: Years to add or subtract (whole number)
months: Months to add or subtract (whole number)
weeks: Weeks to add or subtract (whole number)
days: Days to add or subtract (whole number)
Example: #view=days-between&start-date=2026-04-01&end-date=2026-04-29&inclusive=true
Hash parameters stay in the browser for tool prefill; CrateX.app does not record them.
Do not put private dates, client names, or other sensitive details in URLs.

Limitations & Compatibility

Business-day mode excludes weekends only; it does not apply regional holidays, business closures, or custom workweeks.
It does not handle time-of-day or timezone conversion; use the timestamp converter for exact instants.
Contracts, payments, and legal deadlines can define their own counting rules.

Privacy & Security

Calculations run in your browser. Current values stay in the current browser session by default.

FAQ

6

Continue with these related tools for the next step.

All tool processing happens locally in your browser.