Free Online Date Calculator

Count the days, weeks, months and business days between two dates, or find the date a set number of days from any day.

OmniCalculator Pro Β· Method: Gregorian day-number difference Β· Last reviewed November 2026 Β· Sources listed at the end

Date Calculator

Count the time between two dates, or find the date a number of days, weeks, months or years away.

Result
What is a date calculator?

A date calculator counts the exact number of days between two calendar dates, or works forward or backward from a date by a given number of days, weeks, months or years. It handles the parts that make this awkward by hand: months of different lengths, leap years, and whether the last day should be counted. It is the tool for notice periods, deadlines, visa stays, project schedules and countdowns.

How the count works

Every date can be turned into a single running day number, counting from a fixed starting point. Once both dates are day numbers, the gap between them is a simple subtraction. Astronomers have used this idea for centuries in the Julian Day Number, and spreadsheets do the same thing when they store a date as a serial number. The calculator works the same way, which is why it never trips over month lengths or leap years.

Days between: Days = DayNumber(end) βˆ’ DayNumber(start)
Counting both ends: Days = DayNumber(end) βˆ’ DayNumber(start) + 1

Weeks: Days Γ· 7, remainder = extra days
Date plus N days: DayNumber(start) + N, converted back to a calendar date
The off-by-one trap

Monday to Friday is 4 days by subtraction, but it covers 5 days if you count both Monday and Friday. Neither answer is wrong. A duration (how long until) uses subtraction; a span of days you are present, booked or on leave usually counts both ends. Decide which one the rule you are following means before you read the result.

A worked example: 15 March to 9 November 2026

How long is it from Sunday 15 March 2026 to Monday 9 November 2026?

Count the days month by month

Rest of March (15 β†’ 31) 16 April 30 + May 31 + June 30 91 July 31 + August 31 + September 30 92 October 31 November 1 β†’ 9 9 Total 239 days

Convert to other units

Weeks: 239 Γ· 7 = 34 weeks, 1 day Calendar time: 15 Mar β†’ 15 Oct = 7 months, then 15 Oct β†’ 9 Nov = 25 days Business days: 170 weekdays (Mon–Fri), end date not counted With both ends counted: 240 days

239 days, or 7 months and 25 days, of which 170 are weekdays

Month lengths and the leap-year rule

The Gregorian calendar, used for civil dates almost everywhere, has months of 28 to 31 days. That irregularity is why counting by hand goes wrong and why "a month" is not a fixed number of days.

DaysMonths
31January, March, May, July, August, October, December
30April, June, September, November
28 or 29February (29 in a leap year)
365 or 366A full year (366 in a leap year)
Leap year if: divisible by 4
Except: century years (1900, 2100), unless divisible by 400 (2000, 2400)

2026 β†’ 365 days  Β·  2028 β†’ 366 days  Β·  2100 β†’ 365 days

The century exception exists because a solar year is about 365.2422 days, slightly less than the 365.25 that a leap day every four years would assume. Dropping three leap days every 400 years keeps the calendar aligned with the seasons to within about a day every three thousand years.

Adding months is not the same as adding days

Adding a month moves the date to the same day number in the following month. That works until the starting day does not exist in the target month.

Three ways to move forward from a date

31 January 2026 + 1 month = 28 February 2026 (clamped to the last day) 1 February 2026 + 180 days = Friday 31 July 2026 9 November 2026 + 90 days = Sunday 7 February 2027 9 November 2026 + 3 months = Tuesday 9 February 2027

90 days and 3 months differ by two days here, so use the unit the rule is written in

This matters in practice. A notice period of "one month" and one of "30 days" can end on different dates, and a visa or residence rule written as "90 days in any 180" is counted in days, never in months. When a document specifies the unit, use that unit in the calculator.

Business days and working-day deadlines

The business-day option counts Monday to Friday and skips weekends. Ten business days from Friday 6 November 2026 is Friday 20 November 2026: two full working weeks, landing on the same weekday.

Public holidays are not included

Holidays vary by country, by region and sometimes by employer, so the calculator does not guess at them. For a deadline that excludes holidays, count how many public holidays fall on weekdays inside the period and move the result forward by that many working days.

Where people use a date calculator

A quick sanity check

Any whole number of weeks lands on the same weekday you started on. If you add 14, 70 or 364 days and the weekday changes, something went wrong. A normal year shifts a fixed date forward by one weekday, and a leap year by two.

Counting days, weeks and deadlines

Subtract the earlier date from the later one. The result counts the nights between them, so 1 March to 2 March is 1 day. If you want to count both the first and the last day, as you would for a hotel stay counted in days or a leave request, add 1. The calculator does this when you tick Include end date.

By default it counts from the start date up to the end date without counting the end date itself, which is the standard way durations are measured. Ticking Include end date adds one day so both the first and last days are counted. Which one is right depends on the rule you are applying, so check the wording of the contract, visa rule or policy.

Business days are Monday to Friday. The calculator skips Saturdays and Sundays but does not know about public holidays, which differ by country and sometimes by region. For a deadline that excludes holidays, take the result and move it forward one working day for each public holiday that falls inside the period.

Choose Add or subtract, enter today's date, put 90 in the days box and press Calculate. Counting 90 days from 9 November 2026, for example, lands on Sunday 7 February 2027. Because 90 days is not a whole number of months, the answer is not the same as adding three months, which would give 9 February 2027.

February has no 31st, so the result is clamped to the last day of the month, which is how most calendars and spreadsheet functions handle it. This means adding one month and then subtracting one month does not always return to the starting date. When a deadline is defined in days rather than months, add days instead.

A leap year adds 29 February, so any period that spans it is one day longer. A year is a leap year if it divides by 4, except century years, which must divide by 400. 2028 is a leap year, 2100 is not, and 2000 was. The calculator applies this rule automatically.

πŸ“š Sources & References

  1. ISO 8601 β€” Date and time format β€” The international standard for writing calendar dates, which the date inputs use (YYYY-MM-DD).
  2. U.S. Naval Observatory β€” Julian Date Converter β€” The running day-number method used to count days between dates.
  3. Royal Museums Greenwich β€” Leap years explained β€” Why the Gregorian calendar adds a leap day and why century years are treated differently.

Results follow the Gregorian calendar and count Monday to Friday as business days, without public holidays. For legal, immigration or contractual deadlines, confirm how the governing rule counts days, including whether the first and last days are included.