Date Calculator

Home › Time & Date Calculators › Date Calculator

Count the days between two dates, or add and subtract years, months, weeks and days from a date.

How the calculation works

In the first mode, the calculator counts the years, months and days between two dates, along with the total days and the weekdays. In the second mode, it adds or subtracts the time you enter and shows the resulting date with its day of the week.

Formula used

Total days = (end date − start date) ÷ 86,400,000 ms

Example

45 days after 13 October 2026 is Friday, 27 November 2026.

About date calculations

Two modes

Use the first mode to find the number of days, weeks, months and years between two dates, and the second to add or subtract a period from a date, such as 90 days from today.

Weekdays and weekends

The difference mode also counts working days from Monday to Friday and shows the split between weekdays and weekend days. Public holidays are not excluded, so subtract them yourself if they matter.

Months and years are not fixed

Months have 28 to 31 days and years have 365 or 366, so the calculator counts calendar months and years separately from the total days.

Typical uses

Project deadlines, contract periods, notice periods, countdowns, pregnancy dates, visa stays and anniversaries.

Dates and time

Need to check the same dates a different way? The Age Calculator, Time Calculator and Hours Calculator look at time from other angles.

Frequently asked questions

Is the end date counted?

The result is the elapsed time between the dates, not inclusive of both.

What happens at the end of a month?

Adding one month to 31 January gives 28 February, the last day of the month.

Results are estimates for general information only and are not professional financial, medical or legal advice.

Related calculators

📅

Age Calculator

Find your exact age in years, months and days, and the days until your next birthday.

📅

Time Calculator

Add or subtract two amounts of time in days, hours, minutes and seconds.

📅

Hours Calculator

Work out hours worked between a start and end time, minus breaks, with optional pay.

🥗

Pregnancy Calculator

Estimate your due date, how far along you are and a week by week timeline.

🥗

Due Date Calculator

Estimate your baby’s due date from your last period, conception date or IVF transfer date.

🥗

Pregnancy Conception Calculator

Estimate when you conceived from your due date, along with the fertile window.

🥗

Calorie Calculator

Estimate the daily calories you need to maintain, lose or gain weight.

🥗

BMI Calculator

Calculate your Body Mass Index and see which weight category you fall into, with a healthy weight…