Text size
Home › Guides

How to Count the Days Between Two Dates

Counting days by hand is easy to get wrong because months differ in length and leap years add a day. Here is how to do it reliably.

Try the Days Between Dates CalculatorFree, no sign-up. Uses the same formulas explained below.

The basic idea

The number of days between two dates is the later date minus the earlier date. From 1 January 2026 to 31 December 2026 is 364 days, or exactly 52 weeks.

Include the last day or not?

Subtracting gives the gap between the dates. If you want to count both the first and the last day, add one. Decide which you need before you calculate, especially for contracts or notice periods.

Watch the leap years

A leap year has 366 days, with 29 February. Any span that includes 29 February has one extra day.

Where this helps

  • Project deadlines and notice periods
  • Countdowns to holidays or events
  • Working out how long something has lasted
  • Checking a due date or warranty period

Frequently asked questions

How many weeks are in 364 days?

Exactly 52 weeks.

More guides

How to Lower Your Loan EMI (and What It Really Costs)What BMI Does and Does Not Tell YouHow to Calculate Percentages in Your HeadHow to Work Out a Sale Discount Quickly

Need something custom?

Can't find the calculator or tool you need? Tell us what you're after and we'll build it for you. It takes about two minutes to fill in.

Start the Project Brief