Math & Calculators

Date Difference

All tools

Get the number of days between two dates, with weeks, months, years and weekdays alongside.

How it works

Four simple steps

1

Pick start date

Select the first day of the interval.

2

Pick end date

Select the last day to measure through.

3

Calculate span

Total days, weeks, and approximate months appear.

4

Copy day count

Use the duration for project planning or contracts.

Date Difference

About Date Difference

A contract runs from one date to another and you need the length in days for an invoice, or a project manager asks how many working days are left before launch. Calendars make that tedious to count. Date Difference gives the figures from two date pickers.

Pick a start date and an end date. The result lists the total number of days between them, the same span in weeks to one decimal place, approximate months (days divided by 30.437) and approximate years (days divided by 365.25), plus a count of business days. The order does not matter: if the end date is earlier, the absolute difference is used. Times are fixed at midday internally, so daylight saving changes do not knock the count off by one.

The two counts follow different rules, and that is a common source of confusion. Total days is the gap between the dates, so 1 March to 2 March is one day. The business-day count includes both the start and end dates if they fall on Monday to Friday, so the same pair gives two business days. Public holidays are not excluded, so subtract them yourself for payroll or delivery estimates.

To find someone's exact age in years, months and days, use the Age Calculator. If your dates come from logs as Unix timestamps, convert them first with the Timestamp Converter. All calculations run in your browser.

Keyboard shortcut

Ctrl Enter - Run tool
FAQ

Frequently asked questions

See all FAQs

Answers for this tool. For site-wide help, open the FAQ hub.

For total days, no: the figure is the difference between the two dates. For business days, yes: both the start and end dates are counted when they are weekdays. Add one to the total if your contract counts both ends.

No. It counts every Monday to Friday in the range. Look up the holidays for your country or region and subtract them from the result.

Months and years have different lengths, so the tool divides the day count by an average month of 30.437 days and an average year of 365.25 days. For an exact calendar breakdown, use the Age Calculator instead.

View more FAQs

Related tools

View all

Unit Converter

Convert units of measurement.

Open

Number Base Converter

Binary, Octal, Hex conversions.

Open

Percentage Calculator

Calculate percentages quickly.

Open

Discount, VAT & Tip Calculator

Add discounts, tax/VAT, tips, and bill splits - all in your browser.

Open

Explore 321 free tools

Everything you need as a developer, marketer or creator - in one beautiful place.

Browse all tools