Skip to main content
ToolsWorld
TextImageFinanceHealthEducationCalculatorsDeveloperEverydayGuides
TextImageFinanceHealthEducationCalculatorsDeveloperEverydayGuides
About ToolsWorldContact ToolsWorldPrivacy PolicyTerms of Use
  1. Home
  2. Guides
  3. How to Calculate Days Between Two Dates

How to Calculate Days Between Two Dates

Counting days between dates is useful for deadlines, notice periods, pregnancies and projects. These steps give the right answer every time.

Also in: اردو · العربية

On this page 1 min read
  1. The simple method
  2. Leap years
  3. Include or exclude the end date
  4. Weeks and months
  5. Working days
  6. Common uses
  7. Check the number

The simple method

Count the days left in the first month, add the full months in between, then add the days into the last month. Example: from 1 January to 1 March 2026 is 31 days in January plus 28 in February, which is 59 days.

Leap years

In a leap year February has 29 days. A leap year happens every 4 years, except century years not divisible by 400. So 2024 was a leap year, 2100 will not be.

Include or exclude the end date

Subtracting the dates counts the nights between them. If you want to count both the first and last day, add 1. For example, a course from 10 to 14 March lasts 4 days by subtraction and 5 days if both days count.

Weeks and months

Divide the days by 7 for weeks: 59 days is 8 weeks and 3 days. Months are less exact because they vary in length, so the usual shortcut is days / 30.44.

Working days

To estimate working days, count full weeks x 5 and then adjust for public holidays and any days at the start and end.

Common uses

  • Notice periods and contract deadlines.
  • Countdown to an event or exam.
  • Days since or until a date.
  • Project and delivery schedules.

Check the number

Enter two dates in the Date Difference Calculator to see the days, weeks and approximate months. It counts from one date to the other, so add 1 if you need both days included.

Try it now

Use the free Date Difference Calculator to do the calculation for you. It runs in your browser and needs no sign-up.

More guides

📖

How to Convert Units

Most everyday conversions need one number.

📖

How to Create a QR Code

A QR code turns a link or text into a square that phones can scan.

📖

How to Calculate Your Macros

Macros are the grams of protein, carbohydrate and fat you eat.

📖

How to Calculate Your Ideal Weight

Ideal weight formulas estimate a healthy target from height and sex.

ToolsWorld

Free online tools that run privately in your browser. No sign-up.

Categories

Text toolsImage toolsFinance toolsHealth toolsEducation toolsCalculators toolsDeveloper toolsEveryday tools

Popular tools

Word CounterQR Code GeneratorImage CompressorLoan EMI CalculatorBMI Calculator

Site

About ToolsWorldContact ToolsWorldPrivacy PolicyTerms of UseGuidesاردوالعربية

© 2026 ToolsWorld