Date Calculator

Add or subtract days, weeks, months, and years from any date.

Date Calculator

Result Date

Friday, January 30, 2026
2026-01-30 (Past)

Duration Added/Subtracted

0
Total Days
0
Total Weeks
0
~Months
0
~Years

Result Date Info

Day of WeekFriday
Day of Year30
Week NumberWeek 5
QuarterQ1
Leap YearNo

What Is Date Calculation?

Date calculation involves adding or subtracting time periods from dates, finding differences between dates, and converting between various date formats. These operations are fundamental to scheduling, project management, financial planning, and everyday time management.

OperationDescriptionCommon UsesExample
Date differenceDays between two datesAge calculation, project durationJan 1 to Dec 31 = 364 days
Add days/weeksFuture date calculationDue dates, delivery estimatesToday + 30 days
Subtract daysPast date calculationHistorical research, recordsToday - 90 days
Business daysWeekday-only countingContract deadlines, SLAs10 business days from today
Month/year mathCalendar unit operationsBilling cycles, subscriptionsToday + 3 months
Week numberISO week of yearPlanning, schedulingJanuary 21, 2026 = Week 4

Basic Date Arithmetic

Future Date = Start Date + N days Past Date = Start Date - N days Difference = End Date - Start Date

Where:

  • N= Number of days/weeks/months to add or subtract
  • Start Date= The reference date for calculation
  • End Date= Target date for difference calculations

Calculating Days Between Dates

Finding the number of days between two dates is one of the most common date calculations. The method counts every calendar day between the start and end dates.

Time PeriodTypical DaysNotes
1 week7 daysAlways exactly 7 days
1 month28-31 daysVaries by month
1 quarter90-92 daysQ1 has 90 (91 in leap year)
1 year365-366 days366 in leap years
Average month30.44 days365.25 ÷ 12
Fortnight14 daysTwo weeks

Inclusive vs. exclusive counting: Most date calculators use exclusive counting (not including the start date), so January 1 to January 3 = 2 days. Inclusive counting would give 3 days. Always clarify which method applies to your situation.

Days Between Formula

Days = End Date - Start Date (exclusive) Days = End Date - Start Date + 1 (inclusive)

Where:

  • Exclusive= Start date not counted (most common)
  • Inclusive= Both start and end dates counted

Business Days Calculation

Business days (working days) exclude weekends and optionally holidays. This calculation is essential for contractual deadlines, shipping estimates, and project planning.

Calendar DaysBusiness Days (approx)Calculation
7 days (1 week)5 business daysMon-Fri only
14 days (2 weeks)10 business days2 full work weeks
30 days~22 business daysVaries by month start
90 days (1 quarter)~65 business daysMinus holidays
365 days (1 year)~261 business days52 weeks × 5 days + 1
1 month average~21-22 business days261 ÷ 12 = 21.75

Holiday considerations: US federal holidays (10-11 per year) reduce annual business days to approximately 250. Always account for regional holidays when calculating international deadlines.

Business Days Formula

Business Days = Total Days - Weekend Days - Holidays

Where:

  • Total Days= Calendar days in the period
  • Weekend Days= Saturdays and Sundays
  • Holidays= Public/observed holidays

Adding Months and Years

Adding months or years to a date requires special handling because months have different lengths. The end-of-month convention addresses what happens when adding months to dates like January 31.

Start DateAddResultNotes
January 151 monthFebruary 15Simple case
January 311 monthFebruary 28/29End-of-month adjustment
March 311 monthApril 30April has only 30 days
February 29, 20241 yearFebruary 28, 2025Non-leap year adjustment
August 316 monthsFebruary 28/29Half-year calculation
December 15, 20252 monthsFebruary 15, 2026Year rollover

Financial conventions: For loans and investments, the 30/360 convention assumes 30 days per month and 360 days per year, simplifying interest calculations.

Leap Year Handling

Accurate date calculations must account for leap years, which add February 29 every four years (with exceptions). This affects multi-year calculations and any period spanning February.

Year RangeLeap YearsTotal DaysAverage Days/Year
2024-20241 (2024)366366
2024-20251731365.5
2024-202711,461365.25
2020-20303 (2020, 2024, 2028)4,018365.27
2000-21002536,890365.24

Leap year rule: A year is a leap year if divisible by 4, EXCEPT century years must also be divisible by 400. So 2000 was a leap year, but 1900 was not.

Leap Year Test

Leap Year = (year % 4 == 0) AND ((year % 100 != 0) OR (year % 400 == 0))

Where:

  • year= The year to test
  • %= Modulo (remainder) operator

Week Number and Day of Year

The ISO week number identifies which week of the year a date falls in. Week 1 is defined as the week containing the first Thursday of the year, which means January 1 can sometimes be in week 52 or 53 of the previous year.

DateWeek NumberDay of YearDay of Week
January 1, 2026Week 1Day 1Thursday
January 21, 2026Week 4Day 21Wednesday
July 4, 2026Week 27Day 185Saturday
December 31, 2026Week 53Day 365Thursday
March 1, 2026Week 9Day 60Sunday
September 21, 2026Week 39Day 264Monday

Day of year: Useful for scientific, agricultural, and astronomical calculations. Day 1 is January 1; day 365 (or 366) is December 31.

Date Format Conversions

Different regions and systems use different date formats. Converting between formats is essential for international communication and data processing.

FormatExampleUsed InISO 8601
MM/DD/YYYY01/21/2026United StatesNo
DD/MM/YYYY21/01/2026Europe, UK, AustraliaNo
YYYY-MM-DD2026-01-21International, databasesYes
DD-Mon-YYYY21-Jan-2026Business documentsNo
Month DD, YYYYJanuary 21, 2026Formal writing (US)No
DD Month YYYY21 January 2026Formal writing (UK)No

ISO 8601: The international standard format (YYYY-MM-DD) eliminates ambiguity and sorts correctly. Always use this format for databases and international communication.

Worked Examples

Calculate Days Between Two Dates

Problem:

How many days are between January 15, 2026, and March 20, 2026?

Solution Steps:

  1. 1Start date: January 15, 2026
  2. 2End date: March 20, 2026
  3. 3Days remaining in January: 31 - 15 = 16 days
  4. 4Days in February 2026 (not a leap year): 28 days
  5. 5Days in March through the 20th: 20 days
  6. 6Total: 16 + 28 + 20 = 64 days

Result:

64 calendar days between January 15 and March 20, 2026

Add 90 Days to a Date

Problem:

What date is 90 days after November 15, 2025?

Solution Steps:

  1. 1Start date: November 15, 2025
  2. 2Days remaining in November: 30 - 15 = 15 days (brings us to Nov 30)
  3. 3Days to add: 90 - 15 = 75 more days needed
  4. 4December: 31 days (running total: 15 + 31 = 46)
  5. 5Days still needed: 90 - 46 = 44 more days
  6. 6January 2026: 31 days (running total: 46 + 31 = 77)
  7. 7Days still needed: 90 - 77 = 13 more days
  8. 8February 13, 2026

Result:

February 13, 2026 (90 days after November 15, 2025)

Calculate Business Days

Problem:

How many business days between Monday, January 5, 2026, and Friday, January 23, 2026?

Solution Steps:

  1. 1Total calendar days: 18 days
  2. 2Identify weekends: Jan 10-11, Jan 17-18 = 4 weekend days
  3. 3No holidays in this period assumed
  4. 4Business days: 18 - 4 = 14 business days
  5. 5Verify: Week 1 (4 days) + Week 2 (5 days) + Week 3 (5 days) = 14 ✓

Result:

14 business days (excluding weekends)

Tips & Best Practices

  • Use ISO 8601 format (YYYY-MM-DD) for dates in databases and international communication to avoid ambiguity.
  • A regular year has 365 days; a leap year has 366. The average is 365.25 days per year.
  • Business days typically average about 21-22 per month, or 250-261 per year depending on holidays.
  • When calculating deadlines, clarify whether counting is inclusive or exclusive of the start date.
  • For rough estimates: 30 days ≈ 1 month, 90 days ≈ 1 quarter, 365 days = 1 year.
  • Remember that months have different lengths: Jan/Mar/May/Jul/Aug/Oct/Dec have 31; Apr/Jun/Sep/Nov have 30; Feb has 28/29.
  • Week numbers can be confusing at year boundaries—always verify the ISO week number for dates in late December or early January.

Frequently Asked Questions

Most date calculators use exclusive counting, meaning the start date is not counted. So January 1 to January 3 = 2 days. However, some contexts (like legal deadlines or rental periods) use inclusive counting, which would make the same period 3 days. Always clarify which method applies to your situation, especially for contracts or legal matters.
As a quick estimate: multiply business days by 7 and divide by 5. For example, 10 business days ≈ 14 calendar days (two weeks). For precise conversion, count the actual weekends that fall within the period, plus any holidays. The exact number varies depending on which day of the week you start.
Since February doesn't have 31 days, most calculators adjust to the last day of February (28th or 29th). This is called the 'end-of-month convention.' Some systems use 'same day or prior' logic, landing on February 28/29. Financial calculations may use different conventions—check your specific application's rules.
Earth takes approximately 365.25 days to orbit the sun. Without leap years, the calendar would drift by about 1 day every 4 years, eventually causing summer months to occur in winter. The leap year rule (divisible by 4, except century years must be divisible by 400) keeps the calendar aligned with Earth's orbit to within 1 day per 3,236 years.
ISO 8601 defines Week 1 as the week containing the year's first Thursday, or equivalently, the week containing January 4. Weeks start on Monday. This means January 1, 2, or 3 might belong to the previous year's last week (52 or 53). ISO weeks are numbered 1-52 or 1-53 depending on the year.
Add the number of days to today's date. For manual calculation: add days to the current day, adjusting for month lengths. If the sum exceeds the month's days, subtract that month's length and move to the next month. Repeat until you have a valid date. Online calculators handle this automatically, including leap year adjustments.

Sources & References

Last updated: 2026-01-22