Back to the app: Date difference calculator, offline

How many days are there between two dates?

Counting days between two dates sounds trivial until you hit the questions that trip people up: is the last day counted, and what is “8 months and 12 days” exactly? This page settles both with an example.

The rule

Subtract the start date from the end date, counting whole calendar days. Months have different lengths, so count by month:

  1. Days left in the start month (month length minus the start day).
  2. Plus the length of every full month in between.
  3. Plus the day of the month of the end date.

Worked example: 15 March 2026 to 27 November 2026

  1. March has 31 days: 31 − 15 = 16 days left.
  2. Full months April to October: 30 + 31 + 30 + 31 + 31 + 30 + 31 = 214 days.
  3. November: 27 days.

16 + 214 + 27 = 257 days.

Include the end date or not?

The count above is the number of nights between the dates: the start day is not counted, the end day is. If you want both ends to count (for example the days of a booking, from the first morning to the last evening), add 1: 258 days. Decide which one you need before comparing with anyone else’s number, because this one-day difference is the usual reason two calculators disagree.

The same span in years, months and days

Move the start date forward by whole months while it does not pass the end date, then count the days that are left. From 15 March to 15 November is 8 months; from 15 November to 27 November is 12 days. So the span is 8 months and 12 days. The “months” part follows the calendar, not 30 days: it is not the same as 257 ÷ 30.

When the start day does not exist in a month (31 January plus one month), the usual rule lands on the last day of that month, so 31 January to 1 March is one month and one day.

Add days to a date

Walk forward through the month lengths. 90 days after 27 November 2026: 3 days finish November (30 November), 31 more reach 31 December (34), 31 more reach 31 January (65) and the last 25 land on 25 February 2027. Leap years add 29 February when it falls inside the span.

Weeks and workdays

Divide the days by 7 for weeks and a remainder: 257 days is 36 weeks and 5 days. Workdays (Monday to Friday) need the weekday of the start date, which is why a calculator is easier: this span, from 16 March to 27 November, has 185 of them (15 March 2026 was a Sunday).

Check it on your phone

Date Difference does all of this offline: days, weeks and workdays between two dates, the years-months-days span, and a date N days ahead.

Date Difference - Day Counter

Pick two dates and read the span in days, weeks, workdays and in years, months and days. Or pick a date and add or subtract days. It works offline.

In closed testing. Not yet on Google Play.

Try it on your phone: Date difference calculator, offline