Date Calculator
Count the days between two dates, or add and subtract days, weeks, months, and years from any date. Business days are counted for you.
Enter a valid date in both fields to see the result.
Get Your Dates Right the First Time
Deadlines, notice periods, and delivery windows all turn on an exact day count. Measure the gap between two dates, or move a date forward and back by days, weeks, months, and years. Weekends are separated out for you.
Why Use This Date Calculator?
Two Calculations in One
Measure a period between two dates, or shift a date forward and back. Switching tabs keeps everything you have already typed.
Working Days Counted
Every result splits business days from weekend days, so you can plan around a five-day week without counting squares on a calendar.
Month Ends Handled Properly
Adding a month to 31 January lands on 28 February, not 3 March. Leap years come straight from the calendar, so 2028 picks up its extra day.
Nothing Leaves Your Browser
Dates are processed locally with JavaScript. Contract dates, medical timelines, and private deadlines stay on your device.
How this Date Calculator works
Every date you enter is read as a plain calendar day and pinned to UTC midnight before any arithmetic runs. That single decision removes the most common bug in date tools: a range that crosses a daylight saving change coming back a day short. A March to November span measures the same in Berlin, Phoenix, and Sydney.
In days-between mode the tool subtracts the two timestamps and divides by the length of a day. The start day counts and the end day does not, because that is how notice periods, warranties, and payment terms are normally written. The checkbox flips that when you are measuring something inclusive, such as the length of a trip. Business days are counted by taking the whole weeks in the range, multiplying by five, then walking the leftover days one at a time and skipping every Saturday and Sunday. Public holidays are deliberately left in, since they differ by country and employer.
Adding and subtracting works differently. Years and months move the month number first and then clamp the day, so 31 January plus one month lands on 28 February instead of spilling into March. Weeks and days are applied afterwards as a straight day offset. The business-day option steps forward or backward one day at a time and only counts a step that lands on a weekday.
Leap years need no special handling. February 2028 gets its 29th day from the calendar itself, so any range crossing it picks up the extra day automatically.
How to use this Date Calculator
Pick a mode
Use "Days between dates" to measure a period, or "Add or subtract" to find a future or past date.
Enter your dates
Choose dates from the picker or type them in. The 7, 30, 90, and 365 day shortcuts are quicker still.
Read the result
Totals update as you type. Copy the summary with one click to drop it into an email or a spreadsheet.
Example Usage
Counting a project window and its working days:
Frequently Asked Questions
How many days are there between two dates?
Why does the result change when I tick "Count the end day too"?
How does the tool count business days?
Can I work out a date 90 days from today?
What happens when I add a month to 31 January?
Does the calculator handle leap years?
Why is the years, months, and days breakdown different from the total day count?
Can I enter dates in the past or a long way into the future?
Does the calculator use my time zone?
Are my dates sent anywhere?
Related Tools
Random Date Generator
Generate random dates with customizable ranges and formats. Perfect for testing and data generation.
Age Calculator
Calculate exact age in years, months, days.
Dates Sorter
Paste a list of dates and sort them in ascending or descending order instantly. Supports multiple date formats. Free, browser-based, no sign-up required.
Time Average Calculator
Calculate the average of multiple time values in hours, minutes, and seconds. Add unlimited entries, get real-time results, and copy the mean time instantly. Free and browser-based.
Auto Loan Calculator
Work out your monthly car payment, total interest, and payoff date.
Percentage Change Calculator
Find the percentage increase or decrease between two numbers, work back to the original value, and check percentage difference or percent error.
The Date Calculator is maintained by CodeItBro. We aim to provide the best free developer tools on the web. If you have feedback or suggestions, please visit our contact page.

