CalcUnit Logo

How to Calculate Date Difference

Find the number of days between two dates.

The Formula

Date2 - Date1 = Days

The date difference formula uses the mathematical relationship: Date2 - Date1 = Days. Each variable in the formula represents a measurable quantity that affects the final result.

What Each Variable Means

Every value in the date difference formula, what it measures, and the value used in the worked example on this page:

VariableTypeExample value
Days Between DatesInput (you provide)365
WeeksResult (calculated)—
Approximate MonthsResult (calculated)—
Approximate YearsResult (calculated)—

Step-by-Step Method

  1. 1Write down the values you know: Days Between Dates.
  2. 2Substitute your known values into the formula: Date2 - Date1 = Days.
  3. 3Work through the arithmetic in the standard order of operations — parentheses first, then exponents, then multiplication and division, then addition and subtraction.
  4. 4Check that your result carries the correct unit and falls in a reasonable range for the problem.
  5. 5Verify your answer with the interactive Date Difference Calculator — it solves the same formula instantly.

Worked Example

Take a concrete case: days between dates = 200, with the other inputs at the typical values from the variables table above. Substituting into the formula gives weeks = 28.57, approximate months = 6.57, approximate years = 0.5476. These numbers are solved by the same engine that powers the Date Difference calculator, so you can reproduce them exactly by entering the same inputs there.

Days Between DatesWeeksApproximate MonthsApproximate Years
9012.862.960.2464
20028.576.570.5476
30042.869.860.8214
40057.1413.141.0951
50071.4316.431.3689
700100.0023.001.9165
900128.5729.572.4641
1,000142.8632.852.7379

How each result changes as days between dates changes, holding the other inputs constant.

Practice Problems

1. 1 year (365 days): With Days Between Dates 365, what are the results?

Answer: The calculator returns Weeks 52.14, Approximate Months 11.99, Approximate Years 0.9993 for Days Between Dates 365.

2. Days Between Dates 125 — work it out, then check the answer.

Answer: With Days Between Dates 125, the results are Weeks 17.86, Approximate Months 4.11, Approximate Years 0.3422.

Frequently Asked Questions

What is the formula for date difference?

The formula is: Date2 - Date1 = Days. Find the number of days between two dates.

What values do I need to calculate date difference?

You need days between dates. The calculator produces weeks, approximate months, approximate years from those inputs.

What is the date difference when days between dates is 200?

With days between dates = 200, the result is weeks = 28.57, approximate months = 6.57, approximate years = 0.5476. This is worked through in full in the example on this page.

Related Topics

date differencedays between dates

Use the Interactive Calculator

Skip the manual math — get instant results with our free Date Difference calculator.

Open Calculator

Related Calculators