Skip to content

Days Between Dates Calculator

This days between dates calculator gives the exact number of calendar days from one date to another, and breaks it into weeks, months and years. People use it to check the length of a contract, count the days since an invoice was issued, measure a project, or work out how long a visa has left. Enter two dates, read the result, and nothing is kept once you close the page.

FreeNo signupNothing uploaded or stored

Mode

Dates

Days between

-

Enter both dates

How to use the days between dates calculator

  1. Enter the earlier date in the "From" field. If you want "days since" something, this is the past date and the "To" field can stay at today.
  2. Enter the later date in the "To" field. If you want "days until" something, leave "From" at today and set the future date here.
  3. Read the total days in the result panel, followed by the same gap expressed as weeks and days, months and days, and years, months and days.
  4. Tick "include end date" if the rule you are following counts both the first and last day, for example a stay that charges for the departure day.

What to include

  • The two dates, each with a full year
  • Which of the two is earlier, although the tool will swap them if you get it wrong
  • Whether the end date counts as a day in your context
  • Whether you need weekdays only, in which case the working days page is the better tool
  • Any time of day that matters, since this page works in whole days
  • The purpose of the count, so you report it in the unit the reader expects

Days between two dates: the formula and a worked example

The formula is: Days between = later date − earlier date, counted in whole calendar days. Say you type 18 March 2026 as the start and 1 November 2026 as the end. March has 13 days left after the 18th, then April 30, May 31, June 30, July 31, August 31, September 30, October 31, and 1 day of November. The total is 228 days. The calculator also expresses that as 32 weeks and 4 days, or 7 months and 14 days, by stepping forward whole months from the start date and counting the remainder.

Months are the tricky unit because they are not all the same length, so "7 months and 14 days" depends on which months you step through. Counting from 18 March, the seven monthly steps land on 18 October, and from there to 1 November is 14 days. Counting backwards from 1 November would give a slightly different day remainder. The tool always steps forward from the start date, which is the convention used by contracts and payroll. If the exact month boundary matters to you, quote the plain day count instead; it is unambiguous.

Frequently asked questions

Does the days between calculator include the start date?

By default no, so the gap from the 1st to the 2nd is one day. Switch on "include end date" to count both days, which gives two for the same pair.

How many weeks are between two dates?

Divide the day count by seven. The result panel shows whole weeks and the remaining days, for example 228 days is 32 weeks and 4 days.

Can I count days since a date in the past?

Yes. Enter the past date in "From" and leave "To" at today. The panel shows how many days have passed, which is handy for overdue invoices and warranty periods.

What if I enter the dates the wrong way round?

The calculator still works and shows the gap as a positive number with a note that the dates were swapped, so there is no need to re-enter them.

Is there a limit on how far apart the dates can be?

No practical limit. It handles historical dates and dates decades into the future, with leap years counted correctly throughout.