Calculator Tools

Date Calculator

Use this free Date Calculator to find the number of days between two dates, or to add and subtract days, weeks, or months from a date. It handles leap years automatically and helps with the inclusive-versus-exclusive counting that causes off-by-one errors. No sign-up required.

Days Between Add or Subtract 100% Free

Difference Between Dates

Add/Subtract Days to Date

Why You Are Here

You need the days between two dates. You want to know how long until an event, or how long since one, in exact days.

You are adding time to a date. You need the date a number of days, weeks, or months from now, such as a deadline or a due date.

You are counting down or back. You want the date that falls a set period before or after a known one.

What This Tool Does

The Date Calculator finds the number of days between two calendar dates, and adds or subtracts days, weeks, or months from a date to give a new date. It accounts for month lengths and leap years, so the result is a real calendar date rather than a rough estimate.

Everything runs in your browser. Nothing you enter is uploaded or stored.

Inclusive or Exclusive Counting

This is the honest core of the page, and the reason two people counting the same two dates get answers one apart. It depends on whether you count both end days.

The off-by-one question

From the 1st to the 4th, is that three days or four? Counting the gaps between the dates gives three; counting every date including both ends gives four. Neither is wrong, they answer different questions, so you have to know which you mean.

When each is right

For how long until an event, the exclusive count, the gap, is usual: three days until the 4th. For how many days a hotel booking or a festival covers, the inclusive count is usual, because you occupy both the first and last day. Pick the one that matches your situation.

The calculator makes the choice explicit

A good date calculation states whether it includes the end date, so you are not left guessing. When a result feels one off, this is almost always why, so check which counting method is in use.

Leap Years Are Handled for You

Counting days by hand goes wrong around February, and leap years are the reason.

Why leap years exist

A year is not exactly 365 days, so an extra day, the 29th of February, is added in leap years to keep the calendar aligned with the seasons. A leap year is generally every four years, with a century adjustment, and the calculator applies the rule automatically.

Adding Months Is Not Always Clean

An honest wrinkle. Adding days is exact, but adding months runs into the fact that months are different lengths.

The end-of-month problem

What is one month after the 31st of January? There is no 31st of February, so the result rolls to the 28th, or the last day of February. Different systems resolve this differently, so a month-based result near a month end deserves a second look.

Days are unambiguous

Adding a fixed number of days never has this problem, because a day is always a day. When precision matters near a month boundary, adding days rather than months avoids the ambiguity entirely.

Calendar Days and Business Days

Calendar days count everything

The days-between figure counts every day, including weekends and holidays. That is what you want for most countdowns and durations.

Business days skip weekends

Some deadlines are set in business days, which exclude weekends and often public holidays. A calendar-day count will overstate the working time available, so if a deadline is in business days, count those rather than calendar days.

Common Mistakes to Avoid

Mixing Up Inclusive and Exclusive Counting

From the 1st to the 4th is three days as a gap but four if you count both end dates. A result that seems one off is usually this. Decide whether you need the gap or a count that includes both ends, and check which the tool is showing.
Assuming Adding Months Lands Cleanly

Adding a month to the 31st of January cannot give a 31st of February, so it rolls to the end of February, and systems differ on the exact result. Near a month end, check a month-based date, or add a fixed number of days instead, which is never ambiguous.
Counting Calendar Days for a Business-Day Deadline

A calendar-day count includes weekends and holidays, so it overstates the working days before a business-day deadline. If the deadline is set in business days, count business days rather than calendar days, or you may run out of working time.

Quick Reference

Item

Detail

Finds

Days between dates; date plus or minus

Adds

Days, weeks, months

Inclusive count

Counts both end dates

Exclusive count

Counts the gap

Off-by-one

Usually inclusive vs exclusive

Leap years

Handled automatically

Adding months

Ambiguous near a month end

Calendar vs business

Business days skip weekends

Age from birthdate

Use the Age Calculator

Runs

100% in the browser, nothing stored

Frequently Asked Questions

What is a date calculator?

A date calculator is a free online tool that finds the number of days between two calendar dates, or adds and subtracts days, weeks, or months from a date. This date calculator accounts for month lengths and leap years, so it returns a real calendar date, and it helps with the inclusive-versus-exclusive counting that causes off-by-one errors.

How many days are there between two dates?

It depends on whether you count inclusively or exclusively. From the 1st to the 4th is three days if you count the gap between them, or four if you count every date including both ends. The calculator makes clear which it uses, so pick the count that matches your purpose.

Why do I get an answer one day off?

Almost always because of inclusive versus exclusive counting. Counting the gap between two dates gives one fewer than counting both end dates. For time until an event the gap is usual; for how many days a booking covers, the inclusive count is usual. Check which method the result uses.

Does the calculator handle leap years?

Yes. It uses the real calendar, adding the 29th of February in leap years, so any span crossing a leap day is counted correctly. This is a common source of hand-counting errors around February, and the tool applies the leap-year rule automatically.

What happens when I add a month to the 31st?

There is no 31st of February, so one month after the 31st of January rolls to the last day of February, and different systems may land slightly differently. Adding a month near a month end is inherently ambiguous, so check the result or add a fixed number of days instead.

What is the difference between calendar days and business days?

Calendar days count every day, including weekends and holidays, while business days exclude weekends and often public holidays. A calendar-day count overstates the working time before a business-day deadline, so match the count to how the deadline was defined.

Is my data private when I use this tool?

Yes. The calculation runs entirely in your browser, so the dates you enter are not uploaded to a server or stored, and there is no account. Your dates stay on your device.

When should I use this date calculator?

Reach for this date calculator when you need the days between two dates, or a date a set number of days, weeks, or months before or after another, such as a deadline, due date, or countdown. Note whether you need inclusive or exclusive counting, and use the Age Calculator for age from a birthdate.

Comments

Login to leave a comment

No comments yet. Be the first to comment!