Date Calculator

Count the days between two dates, add or subtract days and months, find the day of the week, or count down to a date.

Pick a start date and an end date to count the days between them.

Workweek and holidays Mon–Fri
Weekend days (not working days)

Use YYYY-MM-DD, one date per line; a name after the date is optional.

These settings apply to every business-day figure on this page and are remembered on this device. US holidays are the days federal offices close (a Saturday holiday moves to Friday, a Sunday one to Monday), from 1971; UK bank holidays include substitute days and the one-off holidays declared so far, from 1978. A holiday that falls on a weekend day is already a day off, so it doesn't change the count.

Why use this date calculator?

Date math looks simple until a month has 30 days instead of 31, a leap day sits in the middle, or someone asks whether the last day counts. This calculator does it on the real calendar and tells you, in plain words, what it counted. Four tools share one page: days between two dates (with business days and a weekday count), adding or subtracting days, weeks, months, years or business days, the day of the week and week number of any date, and a live countdown. Every result has a copy button and a link that reopens the same calculation. To work out someone's exact age instead, use the age calculator.

How to use it

  1. Choose a tab: Days between, Add / subtract, Day of the week or Countdown.
  2. Pick the dates. Today fills in today's date, and the result updates as you type.
  3. For a day count, decide whether the end date counts (see below). For business days, open Workweek and holidays to choose your weekend and holidays.
  4. Read the result and its explanation, then copy it or share a link to the same calculation.

Counting days: with or without the end date

Most disagreements about "how many days" come down to one question: is the last day counted? By default this calculator counts from the start date up to, but not including, the end date, which is the same as subtracting one date from the other. From Monday to Friday of the same week that gives 4 days. Tick Include the end date and both days count, which gives 5. Neither is more correct: they answer different questions.

When to count the end date
SituationExampleSetting
Nights in a hotelCheck in Monday, check out Friday: 4 nightsEnd date not counted
A conference or festivalMonday to Friday: 5 daysInclude the end date
Days until an eventNovember 21 to December 25, 2026: 34 daysEnd date not counted
Vacation days takenOff Monday to Friday: 5 working daysInclude the end date
Time elapsedA baby born on January 1 is 30 days old on January 31End date not counted

The setting carries through to every figure. With the end date counted, January 1 to December 31, 2026 is 365 days, which is exactly 1 year; without it, it's 364 days, or 11 months and 30 days. Spreadsheets work the same way:=B1-A1 or =DAYS(B1, A1) leaves the end date out, so add 1 if you need it counted.

Adding months and years: what happens at the end of a month

Days and weeks are exact: 90 days is always 90 days. Months and years are calendar units, so adding one month moves to the same day number in the next month. When that day doesn't exist, the result is the last day of the month, and the calculator tells you when this happened. This is how Excel's EDATE and most date libraries behave.

Month-end examples
StartChangeResultWhy
January 31, 2027+ 1 monthFebruary 28, 2027February 2027 has 28 days
January 31, 2028+ 1 monthFebruary 29, 20282028 is a leap year
March 31, 2027− 1 monthFebruary 28, 2027Back into February
May 31, 2027+ 1 monthJune 30, 2027June has 30 days
February 29, 2028+ 1 yearFebruary 28, 20292029 is not a leap year

When you add several units at once, years and months are applied first and then weeks and days, the order most calculators use. It matters near month ends: January 30, 2027 plus 1 month and 1 day is March 1, 2027 (February 28, then one more day), while adding the day first would give February 28, 2027. Subtracting works the same way in reverse, and the days-between tab agrees with it: add its "months and days" result to the start date and you land on the end date.

Business days, weekends and holidays

A business day count starts with the calendar days, removes the weekend days, then removes the holidays that fall on a working day. The weekend is Saturday and Sunday unless you change it; pick Friday and Saturday, for example, for a Sunday-to-Thursday week. When you add business days, the start date isn't counted: 1 business day after a Friday is the following Monday, which matches Excel'sWORKDAY. With the end date counted, a business day count matches NETWORKDAYS.

The holiday presets are generated from each country's rules, so they work for any year. These are the days they skip in 2027:

US federal holidays 2027 (days off)
Fri, Jan 1New Year's Day
Mon, Jan 18Martin Luther King Jr. Day
Mon, Feb 15Washington's Birthday
Mon, May 31Memorial Day
Fri, Jun 18Juneteenth (observed)
Mon, Jul 5Independence Day (observed)
Mon, Sep 6Labor Day
Mon, Oct 11Columbus Day
Thu, Nov 11Veterans Day
Thu, Nov 25Thanksgiving Day
Fri, Dec 24Christmas Day (observed)
Fri, Dec 31New Year's Day 2028 (observed)
UK bank holidays 2027, England and Wales
Fri, Jan 1New Year's Day
Fri, Mar 26Good Friday
Mon, Mar 29Easter Monday
Mon, May 3Early May bank holiday
Mon, May 31Spring bank holiday
Mon, Aug 30Summer bank holiday
Mon, Dec 27Christmas Day (substitute day)
Tue, Dec 28Boxing Day (substitute day)

Scotland and Northern Ireland have different bank holidays, and many employers give extra days, such as the day after Thanksgiving or Christmas Eve. Add those in Your own holidays, one date per line.

Week numbers: ISO 8601 or US?

In the ISO 8601 standard, used across Europe and by many planning tools, weeks start on Monday and week 1 is the week that contains the year's first Thursday. A few days at the start of January can therefore belong to the last week of the previous year, and some years have 53 weeks; 2026 is one of them. US calendars, and Excel's WEEKNUM by default, start weeks on Sunday and call the week that contains January 1 week 1. The two systems agree for most of the year and part ways around New Year:

ISO and US week numbers around New Year 2027
DateISO 8601 weekUS week
Sun, Dec 27, 2026Week 52 of 2026Week 53 of 2026
Mon, Dec 28, 2026Week 53 of 2026Week 53 of 2026
Fri, Jan 1, 2027Week 53 of 2026Week 1 of 2027
Sun, Jan 3, 2027Week 53 of 2026Week 2 of 2027
Mon, Jan 4, 2027Week 1 of 2027Week 2 of 2027

Worked examples

How many days are there from January 1 to December 31, 2026?
364 days, or 365 counting December 31 too. That is 250 business days with both dates counted and the 11 US federal holidays skipped.
What date is 90 days after November 21, 2026?
Friday, February 19, 2027.
What is 6 months after August 31, 2026?
Sunday, February 28, 2027: February 2027 has no 31st, so the result is the last day of the month.
What date is 10 business days after Friday, November 20, 2026?
Monday, December 7, 2026 with US holidays skipped (Thanksgiving falls on November 26), or Friday, December 4, 2026 without holidays.
What day of the week is December 25, 2026?
A Friday, in ISO week 52.
How many days from November 21 to Christmas 2026?
34 days.

Work out the day of the week in your head

Mathematician John Conway's Doomsday rule rests on one fact: in any year, a handful of easy dates always share a weekday. They are 4/4, 6/6, 8/8, 10/10 and 12/12, May 9 and September 5, July 11 and November 7, March 14 and the last day of February. In 2026 all of them fall on a Saturday. To find any other date, step from the nearest one: December 25 is 13 days after December 12, and 13 days is one week and six days, so it falls six weekdays after Saturday, on a Friday. For another year from 2000 to 2099, take the last two digits, add a quarter of them (rounded down) and move that many days on from Tuesday, the doomsday of 2000.

Common mistakes with date math

  • Counting a month as 30 days or 4 weeks. Months run from 28 to 31 days and a month is about 4.35 weeks, so "3 months" and "90 days" usually end on different dates.
  • The fencepost error. A list running from the 3rd to the 9th of a month holds 7 days, not 6. If both ends are included, tick Include the end date.
  • Dividing timestamps by 24 hours. Code that subtracts two local midnights and divides by 86,400,000 milliseconds comes up a day short across the spring clock change, when a day has 23 hours. This calculator counts whole calendar days, so time zones and daylight saving time can't shift a result.
  • Trusting JavaScript's month rollover. In JavaScript, January 31 plus one month gives March 3, because the Date object moves the extra days into the next month.
  • Excel's 1900 leap year. For compatibility with Lotus 1-2-3, Excel treats 1900 as a leap year and accepts February 29, 1900, a date that never existed, so its day counts that span the end of February 1900 come out one day too long.

More date and time tools

For birthdays and exact ages, the age calculator gives years, months and days and the countdown to the next birthday. To time minutes rather than days, use the countdown timeror the stopwatch. Developers converting dates to Unix time can use the timestamp converter, and the unit converter turns days into hours, weeks or seconds.

Frequently Asked Questions

How do I calculate the number of days between two dates?

Enter the two dates in the Days between tab and the count appears at once, along with the same span in weeks, months and years and the number of business days. By hand, count the days left in the first month, add the days of each full month in between, then add the day of the month of the end date. From January 1 to December 31, 2026 that gives 364 days, or 365 if you count the end date too. In Excel or Google Sheets, subtract one date cell from the other or use =DAYS(end, start).

Should I include the end date when counting days?

It depends on what you are counting. Nights in a hotel, time elapsed and "days until" a date leave the end date out: Monday to Friday is 4 days. A conference, a vacation or any period where both the first and the last day are used counts both: Monday to Friday is 5 days. Tick "Include the end date" for the second kind; it adds exactly one day to every figure, including the business-day count.

How do I count business days between two dates?

The Days between tab shows the business days for every span: the calendar days minus weekend days minus any holidays that fall on a working day. Weekends are Saturday and Sunday unless you choose other days, and you can skip US federal holidays, UK bank holidays for England and Wales, or your own list of dates. With "Include the end date" ticked the count matches Excel's NETWORKDAYS, which counts both ends.

What date is 90 days from today?

Open the Add or subtract tab and tap the +90 days button: the start date is today, and the result shows the date, its weekday and its week number. For example, 90 days after Saturday, November 21, 2026 is Friday, February 19, 2027. Buttons for 7, 14, 30, 60 and 180 days and for 6 months and 1 year cover the other common questions.

What is January 31 plus one month?

The last day of February: February 28, or February 29 in a leap year. When the day you start from doesn't exist in the target month, the calculator moves it back to that month's last day and says so in the result. Excel's EDATE and most date libraries work the same way. JavaScript's built-in Date object does not: it rolls the extra days into March and returns March 3 (or March 2 in a leap year).

How do I find out what day of the week a date falls on?

Pick the date in the Day of the week tab. It shows the weekday, the ISO and US week numbers, the day of the year, the quarter and a calendar of that month, and lists the weekday of the same date in the next five years, which is handy for birthdays and anniversaries. It works for any date from year 1 to 9999, so it answers "what day was I born on" as easily as next year's dates.

What week number is it, and why do calendars disagree?

There are two common systems. ISO 8601, the international standard used across Europe and by many planning tools, starts weeks on Monday and makes week 1 the week that contains the year's first Thursday, so a few days around New Year belong to the neighboring year's numbering. The US system, which is what Excel's WEEKNUM returns by default, starts weeks on Sunday and makes week 1 the week that contains January 1. The Day of the week tab shows both.

How many weeks are in a year?

A calendar year has 52 weeks and 1 day, or 52 weeks and 2 days in a leap year. In ISO week numbering a year has either 52 or 53 weeks: it has 53 when it starts on a Thursday, or when it is a leap year starting on a Wednesday. 2026 is one of the 53-week years, so January 1, 2027 is in week 53 of 2026.

How many days until Christmas?

Open the Countdown tab and tap Christmas Day. It counts the calendar days to December 25 and shows a live countdown in days, hours, minutes and seconds to midnight at the start of the day in your time zone. From November 21, 2026, for example, Christmas is 34 days away. The same buttons count down to New Year's Day, Valentine's Day, Easter, Halloween and US Thanksgiving, and you can name and share a countdown to any date.

Does the calculator handle leap years and daylight saving time?

Yes. Day counts use whole calendar days, so the hour that disappears or repeats when clocks change never makes a day go missing, which is a common off-by-one error in spreadsheets and scripts. Leap years follow the Gregorian rule: a year divisible by 4 is a leap year, except years divisible by 100 that aren't divisible by 400, so 2000 was a leap year and 2100 won't be.

Can I use dates far in the past or the future?

Yes, any date from January 1 of year 1 to December 31, 9999. Dates are counted in the Gregorian calendar throughout. Countries switched to it from the older Julian calendar at different times (Italy, Spain and Portugal in 1582, Britain and its colonies in 1752, Russia in 1918), so for a date written in the Julian calendar before the switch, the weekday and day counts here can differ from those in historical records.

Is anything I enter saved or sent anywhere?

Nothing is sent anywhere. The calculations run in your browser, and the page remembers your settings, such as the workweek and holidays, only on this device. A shared link keeps the dates after the # sign, a part of the address that browsers never send to a server.

Advertisement