Date Difference Calculator
Days, weeks, months and years between two dates.
Recent
Formula
How the calculation works
The days are counted on the calendar, then the weeks and months are derived from that count. Days is the honest figure and the one to trust; weeks is the days divided by seven, and months are counted on the calendar rather than as 30-day blocks, so 1 January to 1 March is exactly two months even though it is 59 days.
The direction does not matter: the answer is the gap between the two dates, and the calculator flips them if they are entered the wrong way round rather than refusing. What does matter is whether you want the gap or the count of days. A gap of one day is the 1st to the 2nd; a count of working days, or hotel nights, includes one end and would be one higher.
Common mistakes
- Reading the day count as the gap when the first day should be included -- a leave request wants the count, not the gap.
- Dividing the days by 30 for months, which is wrong across February and across a 31-day month.
- Assuming the order matters. It does not; the gap is the same either way.
When to use it
- Use it for a gap between two dates, a countdown, or a notice period.
- For working days, subtract weekends and holidays yourself -- this counts every calendar day.
Worked example
1 January to 2 October 2026: 274 days, 39.1 weeks, 9 months.
Common questions
Is the first day counted?
No, this measures the gap, so the 1st to the 2nd is one day. In some settings -- hotel nights, working days -- the first day is counted too, and the answer is one higher.
How are the months counted?
On the calendar, not as 30-day blocks. So 1 January to 1 March is exactly two months, even though it is 59 days, which dividing by 30 would call under two.
Related tools
-
Discount Calculator
See what you actually pay after a discount, and how much you save.
-
Tip Calculator
Add a tip to the bill and split it between people.
-
Add Tax / VAT Calculator
Add tax or VAT to a price to get the total.
-
Percentage Calculator
Find what percentage one number is of another.
-
Percentage Change
How much a number rose or fell between two points.
-
Monthly Budget Split
Divide monthly income into needs, wants and savings.
-
Profit Margin & Markup
Profit, margin and markup from a cost and a selling price.
-
Original Price from a Sale
Work back from a discounted price and the discount rate to the original.