Date Calculator

Calculate days between two dates, add or subtract days from a date, and count business days (excluding weekends). Three modes in one tool.

Ad space — add Google AdSense after the site has useful content and is ready for review.
Your result will appear here.

Date Calculator online

Three modes in one tool: Date Difference (days/weeks/months/years between two dates), Add/Subtract Days (what date is N days from a start date), and Business Days (count weekdays excluding weekends between two dates). All calculations use exact calendar arithmetic.

How it works

Date Difference: Computes the exact calendar difference in days, then converts to weeks (÷7), months (average 30.4375 days), and years (average 365.2425 days). Add/Subtract: Uses native Date arithmetic (milliseconds) to add or subtract the exact number of days. Business Days: Iterates day by day between start and end, counting only Monday–Friday. Leap years and month lengths are handled by the browser's Date object (UTC-based to avoid time-zone edge cases).

Worked example

Difference: 2026-01-01 to 2026-10-08 = 280 days (40 weeks, 9.2 months, 0.77 years). Add 45 business days to 2026-10-08 → lands on 2026-12-10 (45 weekdays = 63 calendar days). Subtract 100 days from 2026-10-08 → 2026-06-30.

Practical tips

  • Use business days mode for project planning, contract deadlines and notice periods.
  • All calculations use UTC midnight to avoid time-zone shifts that can push the result off by one day.
  • Leap years (2024, 2028, 2032…) are handled automatically by the browser's Date object.
  • For legal/contractual deadlines, always confirm with the applicable jurisdiction's rules (some count the start day, some don't).

Edge cases and limitations

  • Business days skip weekends only. Public holidays still count as business days in the result — a span crossing Christmas week or a national holiday needs those days subtracted by hand against your local calendar.
  • The day count is exact; the friendly units are not. Weeks are exact (days ÷ 7), but months and years in the breakdown are averages (a month ≈ 30.44 days). For contracts and deadlines, work from the day and business-day figures.
  • Daylight saving never moves a date. All arithmetic here is date-only, so a 23- or 25-hour day at a clock change still counts as one calendar day — unlike timestamp arithmetic, which would shift by an hour.
  • Long spans are fine. Multi-century differences and dates before 1970 compute the same way as next week's; the practical limit is the calendar, not the tool.

Privacy and browser processing

Dates are processed locally in your browser and never uploaded.

Frequently asked questions

Why does the day count sometimes differ by 1 from other calculators?

Some calculators count the start day, some don't. This tool uses exclusive difference (end - start). If you need inclusive counting, add 1 to the result.

How are business days calculated?

Each day between start (exclusive) and end (inclusive) is checked; Monday–Friday count, Saturday–Sunday skip. Holidays are not excluded in the basic version.

Can I calculate working days for a specific country's holidays?

The basic version only excludes weekends. For country-specific holidays you would need a holiday calendar dataset — not included in this lightweight tool.

Does the tool handle dates before 1970?

Yes. The browser's Date supports a wide range (approx. ±100 million days from 1970). Ancient dates work fine.

Related tools

Ad space