How the date calculator works
A date calculator is a tool that does arithmetic on calendar dates: it counts the days between two of them, or moves one forward or back by a period to land on another. This one does both, and it counts business days on a working week and a holiday list you set. From 4 July to 26 July 2026 is 22 days, and 45 days after 4 July 2026 is Tuesday 18 August.
Two modes split the work:
- Difference between dates gives the total days, the same span in weeks and in years, months and days, the business days, and the weekday each date falls on.
- Add or subtract moves a start date by any mix of years, months, weeks and days, or by business days alone, and gives the new date with its weekday. It can also list a series, such as every 30 days or every month from the start.
Everything runs in whole days on the Gregorian calendar, for any date from the year 1 to 9999.
How do I count the days between two dates?
The number of days between two dates is the later date minus the earlier one, which counts the start date and leaves the end date out. So 4 July to 26 July 2026 comes to 22. Tick the include-the-end-date box and it's 23. timeanddate.com puts its rule as "the first day of the entered period is always included", with the end day as the optional extra. Maths is Fun describes the same count from the other side, skipping the start and keeping the end, and lands on the same 22.
Which you want depends on the question. A gap, like the nights between check-in and check-out, leaves the end out. A run where every day counts, like a contract from its first day through its last, takes it in.
Ticking the box moves every figure on the panel by that one day, the weeks and the years, months and days as well as the total. Counted inclusively, 1 January to 31 December 2026 is 365 days and exactly 1 year, 0 months, 0 days. With the end left out it's 364 days, or 11 months and 30 days.
The off-by-one trips up the calculators too. One ranked page works a manual example from 4 September 1999 to 2 January 2003, reaches 1,216 days, then tells you to subtract 1 if you don't want the end date. That 1,216 already leaves the end date out. Counting it gives 1,217.
Type an end date earlier than the start and the tool counts back from the start and says so, with each weekday kept beside the box it was typed in.
How do I add or subtract from a date?
Adding to a date moves it forward by a period and reads off the new calendar date; subtracting moves it back. Add 10 days to Saturday 4 July 2026 and you reach Tuesday 14 July.
A mix of units goes largest first: years, then months, then weeks and days. That order changes answers. Take 28 February 2026 plus 1 month and 1 day: months first gives 28 March and then 29 March, while days first would give 1 March and then 1 April, three days later. timeanddate.com works this exact case and states the same order, "adds years, then months, then days", and DQYDJ says it adds years first, then months, weeks and days. Subtraction runs in the same order, so 31 March 2026 minus 1 month and 1 day is 27 February.
When a month is too short for the day, the date lands on that month's last day:
- 31 January 2026 plus 1 month is 28 February, and 31 January 2028 plus 1 month is 29 February, because 2028 is a leap year.
- 31 May minus 1 month is 30 April.
- 29 February plus 1 year is 28 February.
Months and days part ways over the same stretch, too. From 2 July 2026, 180 days is 29 December, but 6 months is 2 January 2027, four days later. One ranked date calculator treats them as one thing, "6 x 30 = 180", and so puts a date it calls six months after 2 July on 29 December.
Listing a series of dates
A date series is a run of dates spaced by one period, such as every 11 days or every month, each counted from the same start. Raise "Dates to list" above 1 in the add mode and it lists them, up to 24.
Every step in the series is measured from the start date, and for months that's what keeps a month-end date at the month end. Starting on 31 January 2026 and adding one month at a time:
| Step | Measured from the start (this tool) | Chained, each from the last result |
|---|---|---|
| 1 | 28 February | 28 February |
| 2 | 31 March | 28 March |
| 3 | 30 April | 28 April |
| 4 | 31 May | 28 May |
A chained series that slips to the 28th never climbs back. For days the two methods agree: timeanddate.com's repeat example, 11 days four times, gives 11, 22, 33 and 44 days from the start, and so does this tool.
How are business days counted?
A business day is a day in your working week that isn't a holiday. The week is Monday to Friday until you change it, and the count follows the same endpoint rule as the total: the start date counts if it's a working day, the end date only when you include it. Monday 1 January to Monday 8 January 2024 is 7 days and 5 business days.
You set the working week by unticking the days off. Tick Saturday for a six-day week, or untick Friday and tick Sunday where the weekend starts on Friday. Most of the ranked tools fix the week at Monday to Friday: GigaCalculator says its tool is "not suitable for countries where the weekend starts on Friday", and CalculatorSoup's one option is a "Saturday is also a Business Day" box.
Holidays go in as dates. One that lands on a working day inside the counted range comes off the business-day count. One that lands on a day off, or outside the range, changes nothing, because that day was never in the count, and a date typed twice still comes off once.
The tool carries no built-in holiday calendar because holiday lists change with the country, the state and the employer. timeanddate.com covers more than 200 countries and regions, calculator.net says its list is "mainly geared towards U.S. holidays", and GigaCalculator covers four countries and tells everyone else to subtract by hand. A holiday count typed by hand goes wrong the moment one of those holidays lands on a weekend, and it's no help when you're adding business days to reach a deadline. A list of dates handles both.
Take 21 December 2026 to 4 January 2027, end date left out, with holidays entered for Friday 25 December and Saturday 26 December:
| Working week | Business days, no holidays | With both holidays entered |
|---|---|---|
| Monday to Friday | 10 | 9, since 26 December is a Saturday |
| Monday to Saturday | 12 | 10 |
| Sunday to Thursday | 10 | 10, since both fall on the weekend |
Adding business days uses the same week and the same list. From Thursday 24 December 2026, one business day later is Friday 25 December, or Monday 28 December once 25 December is entered as a holiday.
Counting days since a date, or until one
A day counter measures from one fixed date to today, counting up since something happened or down to something coming. It's the same subtraction as any date difference with one end pinned to today, which is why it lives on this page.
The start box fills in with today's date from your own device, so a countdown takes one change: set the end date to the deadline. To count since a past date, put it in the start box and today in the end. At least one ranked calculator fills in today in UTC, which for anyone east of Greenwich shows yesterday's date for the first hours after midnight.
Worked examples
- 90 days after Thursday 3 September 2026, the day a return window opens, is Wednesday 2 December 2026, when it closes.
- A contractor booked from Monday 6 April 2026 to Tuesday 30 June 2026 has 61 business days before holidays with the end date left out, or 62 with it.
- A notice period from 15 May to 15 June 2026 runs 31 days with the end left out, or 32 if the agreement counts both the first and the last day.
- A parcel promised in 15 business days from Thursday 1 October 2026 is due Thursday 22 October; 15 calendar days would say 16 October.
Calendars, ranges and what it leaves out
This tool runs the Gregorian calendar for every date from the year 1 to 9999, including the centuries before anyone used it. Recorded history doesn't line up with that before the switch. calculator.net notes the reform skipped 10 days, "making the day after October 4, 1582, October 15", and Omni records that Great Britain and its colonies "wouldn't use it until 1752". A date copied from an older record kept in the Julian calendar needs converting before any arithmetic on it means much.
It works in whole days, so the hours and minutes between two exact moments belong in the duration calculator, and it doesn't convert between calendar systems such as the Islamic or Hebrew calendars. For a birth date turned into an age with a birthday countdown, the age calculator is built for that job, and the day of the week calculator handles a single date.
In this tool, 4 October to 15 October 1582 counts as 11 days. The people living through it saw one.
Frequently asked questions
What is a date calculator? A date calculator does arithmetic on calendar dates: it counts the days between two dates, or adds or subtracts a period to find a new one. From 4 July to 26 July 2026 is 22 days, and 45 days after 4 July 2026 is Tuesday 18 August.
How do I count the days between two dates? Subtract the earlier date from the later one. That counts the start date and leaves out the end date, so 4 July to 26 July 2026 is 22 days. Tick include the end date to count both, which makes it 23 and moves the weeks and the years, months and days by the same one day.
How do I add or subtract days from a date? Pick a start date, choose add or subtract, and enter years, months, weeks or days. Adding 10 days to 4 July 2026 gives Tuesday 14 July. A mix of units goes largest first, so 28 February 2026 plus 1 month and 1 day is 29 March.
How are business days counted? A business day is a day in your working week that isn't a holiday. The week is Monday to Friday unless you change it, and holidays go in as dates, so one that falls on a weekend is never taken off. Between 1 January and 8 January 2024 there are 5 business days.
Can I count a six-day week or a weekend that starts on Friday? Yes, tick or untick each day of the working week. Tick Saturday for a six-day week, or untick Friday and tick Sunday for a Sunday-to-Thursday week. The business-day count and the business-day add both follow it.
Does adding a month keep the same day of the month? It does when that day exists, and lands on the last day of the month when it doesn't. So 31 January plus one month is 28 February in a common year and 29 February in a leap year, and 31 May minus one month is 30 April.
Is 6 months the same as 180 days? No. From 2 July 2026, 180 days is 29 December 2026, while 6 months is 2 January 2027. Months follow the calendar and days don't, which is why the tool keeps them in separate fields.
Should I include the end date in the count? Leave it out for the gap between two dates, like the nights in a hotel stay, and include it when every day counts, like a person on the job from their first day to their last. The default leaves it out, and the checkbox adds one day to every figure.
How do I list every 30 days or every month from a date? Enter the step in add mode and raise Dates to list above 1. Each step is counted from the start date, so monthly steps from 31 January 2026 land on 28 February, 31 March and 30 April, where chaining each result into the next would drift to the 28th.
How do I count the days since a date, or until one? Put the past date in the start box and today in the end box to count since it, or leave the start on today and set the end to the deadline to count down. The start fills in with today's date from your device, so a countdown takes one change.
Sources
- timeanddate.com, date calculator help (larger units first, month ends, the Julian switch)
- timeanddate.com, date to date calculator help (the first day always counts)
- calculator.net, date calculator (include end day, US holiday list, the 1582 reform)
- Omni Calculator, date calculator (Britain's 1752 switch)
- GigaCalculator, business days calculator (fixed week, four holiday countries)
- CalculatorSoup, date calculator (Saturday option, today in UTC)
- DQYDJ, date calculator (years first, then months, weeks and days)
- Maths is Fun, days between two dates (start and end convention)