Home/Date & Time/Date Calculator

Date Calculator

Add or subtract days, weeks, months, and years from any date. Calculate the difference between two dates. Find business days and Australian public holidays.

Quick Answer

Use the first tool below to add or subtract a number of years, months, weeks or days from any starting date — handy for deadlines, notice periods and expiry dates. Use the second tool to find the exact difference between two dates in years, months, days and business days. Both handle month-length and leap-year edge cases automatically, so "31 January plus 1 month" correctly lands on 28 February rather than overshooting into March.

Add / Subtract from a Date
Start Date
Operation
Years
Months
Weeks
Days
Result
Result Date
UnitValue
Date Difference Calculator
Start Date
End Date

How Date Addition and Subtraction Works

Adding a period to a date sounds simple until months of different lengths get involved. Days and weeks are easy — every day is exactly 86,400 seconds, so adding 7 days always lands on the same weekday one week later. Months and years are different: they don't have a fixed length, so "add 1 month" has to mean "move to the same day-of-month next month," and when that day doesn't exist (adding a month to 31 January, for example), the result has to be clamped to the last valid day of the target month rather than silently rolling forward into the following month.

Add years/months: shift the calendar month by (years×12 + months), then clamp the day to the last day of that month if needed
Add weeks/days: add (weeks×7 + days) directly to the date
Did you know? This is a genuinely common bug in home-made date calculators: naively calling a "set month" function on 31 January plus 1 month often overflows into 2 or 3 March instead of correctly landing on 28 February, because most date libraries don't clamp the day automatically. This calculator clamps correctly.

Worked Example 1 — Adding months across a short month

Start date: 31 January 2026. Add: 1 month.
January has 31 days; February 2026 has 28 days (not a leap year).
Result: 28 February 2026 — clamped to the last valid day, not rolled into March.

Worked Example 2 — Adding a mix of units

Start date: 15 March 2026. Add: 1 year, 2 months, 3 weeks, 4 days.
Years/months first: 15 March 2026 + 1 year 2 months = 15 May 2027.
Then weeks/days: 15 May 2027 + (3×7+4=25) days = 9 June 2027.
Result: 9 June 2027.

Worked Example 3 — Date difference with business days

From: Friday 3 July 2026. To: Friday 31 July 2026.
Total calendar days: 28 days (4 weeks exactly).
Business days: 28 days − 8 weekend days (4 Saturdays + 4 Sundays) = 20 business days.
Result: 4 weeks / 28 calendar days / 20 business days.

Calendar Days vs Business Days

Count typeIncludesTypically used for
Calendar daysEvery day, including weekends and public holidaysTenancy notice periods, employment notice under the National Employment Standards, most contract terms
Business daysMonday–Friday onlySome court filing deadlines and contract clauses that explicitly say "business days"
Business days excl. public holidaysMonday–Friday, minus the relevant state's public holidaysLegislation and contracts that specify "excluding public holidays" — public holidays vary by state, so this calculator's business-day count is a Monday–Friday baseline only

When calculating deadlines, contract periods, or legal notice periods in Australia, it's important to know whether "days" means calendar days or business days — the Interpretation Act 1901 (Cth) sets out how time periods are counted in Commonwealth legislation, and most state Acts have equivalent provisions. Business days in Australia exclude weekends and public holidays; because public holidays vary by state and territory, always check your specific state's calendar for an exact business-day count when a deadline is time-critical.

Common Mistakes When Calculating Dates

MistakeWhy it matters
Assuming every month is 30 daysReal months range from 28 to 31 days — "add 60 days" and "add 2 months" give different results
Not clamping day-of-month when adding months31 January + 1 month should be 28 February, not a rolled-over date in March
Confusing calendar days with business days in a deadlineA "5 day" notice period served on a Thursday can mean very different actual dates depending on which definition applies
Forgetting leap yearsEvery 4th year (except century years not divisible by 400) has 366 days — this shifts multi-year date-difference calculations by a day or more
Common mistake: Treating "add 1 month" as "add 30 days" — they're not the same operation, and using the wrong one can shift a deadline by up to 3 days depending on the month.

How to Use This Calculator

This calculator has two modes. The first adds or subtracts a period of time from a starting date — enter the start date, select Add or Subtract, and enter the number of years, months, weeks, and days. The second calculates the difference between two dates — enter both dates and see exactly how many years, months, days, weeks, and total days apart they are, including business days.

Australian Legal and Practical Deadline Examples

SituationHow to use it
ATO tax return deadline (31 Oct)Date difference from 30 June to 31 Oct = 123 days
Lease notice period (28 days)Add 28 days to today to find the earliest vacate date
Settlement period (6 weeks after contract)Add 42 days (6 weeks) to contract signing date
Statutory warranty period (2 years)Add 2 years to purchase date to find warranty expiry
Probation period end (3 or 6 months)Add 3 or 6 months to employment start date

Calendar Days vs Business Days in Australia

When counting notice periods and legal deadlines it matters whether "days" means calendar days or business days. Most Australian tenancy notice periods use calendar days. Employment notice periods under the National Employment Standards use calendar days. Court filing deadlines and some contract provisions specify business days — which exclude weekends and the public holidays specific to the relevant state.

For example: a 5 business day notice period served on a Thursday would not expire until the following Thursday or Friday (depending on whether any public holidays fall in between) — not the following Tuesday as calendar-day counting would suggest.

Date Calculation Cheat Sheet

Add months = shift calendar month, clamp day to last valid day of target month
Add days/weeks = simple addition, no clamping needed
Leap year test = divisible by 4, except century years not divisible by 400
Business days = calendar days − weekend days (this tool does not exclude state public holidays)

Practice Questions

Beginner:

  1. What date is 30 days after 1 March 2026?
    Show answer

    31 March 2026 (March has 31 days, so day 30 lands on the 31st).

  2. What is the difference between 1 June 2026 and 1 September 2026?
    Show answer

    3 months exactly (92 calendar days).

Advanced:

  1. What date is 1 month after 31 March 2026?
    Show answer

    30 April 2026 — April only has 30 days, so the result is clamped rather than overflowing into May.

  2. How many business days (Mon–Fri) are between Monday 3 August 2026 and Friday 28 August 2026 inclusive?
    Show answer

    20 business days (4 full weeks).

🔑 Key Takeaways

Frequently Asked Questions

Because February doesn't have 31 days, the result is clamped to the last valid day of the target month (28th, or 29th in a leap year) rather than rolling over into March. This matches how most people intuitively expect "add a month" to behave.

⏱️ Last updated: August 2026 · Reviewed by Mohsin Iqbal