fileformer
search⌘KtranslateENexpand_moreupload_fileConvert
Converters8 file families · 44 direct conversions
What changes in a conversionarrow_forward
home/calculators/date-calculator

Free Date Difference Calculator Online

A free date calculator: how long until, how long since, and what date is 90 days from now.

Count the days between two dates, or add and subtract days, weeks and months. Working days skip weekends and, if you choose, public holidays, so a notice period or delivery deadline comes out right.

date_rangeDays betweenmore_timeAdd or subtract
add or subtract
Include the end datecount both the first and last dayWorking days onlycount Mon: Fri, minus holidays
public holidays (2026-27)
NoneEnglandUS federal
Today → Christmas+30 working days+6 months
between the dates86 days2 months, 25 days. From Tue 29 Sep 2026 to Thu 24 Dec 2026.
calendar days86weeks12.3working days62weekend days24
2026-09-292026-12-24
OctNovDec
days of the week in range
12Mon
12Tue
13Wed
13Thu
12Fri
12Sat
12Sun
no public holidays in this range
~/what-is-a-month

One month after 31 January is… it depends who's counting.

Months have 28 to 31 days, so "add a month" has no single answer. Spreadsheets, programming languages and contracts each pick a rule. We use the first one, the most common, but it's worth knowing the others exist when two systems disagree by a few days.

31 Jan + 1 month31 Mar + 1 month29 Feb 2028 + 1 year
Clamp to month endIf the day doesn’t exist, use the last day of the month.Excel EDATE, most banks, this calculator28 Feb 2026
Roll overKeep the day number and let it spill into the next month.JavaScript Date, some older systems3 Mar 2026
Fixed 30 or 365 daysTreat a month as 30 days, a year as 365.some contracts and simple scripts2 Mar 2026
~/off-by-one

Monday to Friday: four days or five?

Counting the gap between dates gives four. Counting the days you actually turn up gives five. Neither is wrong; they answer different questions. Click days in the week to see both counts change.

Mon5startTue6Wed7Thu8Fri9endSat10Sun11
Days betweenthe gap from start to end; what most calculators show4
Days including both endsevery day you’re there, e.g. a hotel stay counted in days, or leave5
Working days, both endsMon: Fri within the span, e.g. annual leave requests5
~/common-calculations

Six deadlines people work out by hand, and get wrong.

Each one counts differently. Click to load it into the calculator from today.

work_historyNotice period1 month · clampResigning today with one month’s notice.Thu 29 Oct 2026
flight90 days in 180 (Schengen)90 days · inclusiveArrival and departure days both count as days in the area.last day Sun 27 Dec 2026
pregnant_womanDue date280 days from LMPStandard estimate: 40 weeks from the first day of the last period.Tue 6 Jul 2027
receipt_longInvoice, net 3030 calendar daysPayment due 30 days after the invoice date, weekends included.Thu 29 Oct 2026
local_shippingDelivery in 10 working days10 working daysSkips weekends and bank holidays.Tue 13 Oct 2026
verifiedTwo-year warranty2 years · clampExpires on the same date two years later.Fri 29 Sep 2028
~/computus

Bank holidays aren’t looked up. Most are calculated.

England’s bank holidays come from rules in the Banking and Financial Dealings Act 1971 plus royal proclamations: fixed dates with weekend substitutes, “first Monday” and “last Monday” rules, and two days tied to Easter. Easter itself is the first Sunday after the ecclesiastical full moon on or after 21 March, computed by an algorithm called the computus. Pick a year to generate them all.

−+
holidaydaterule
New Year’s DayThu 1 Jan 20261 January
Good FridayFri 3 Apr 2026Easter Sunday − 2 days (common law holiday)
Easter MondayMon 6 Apr 2026Easter Sunday + 1 day
Early MayMon 4 May 2026first Monday in May
SpringMon 25 May 2026last Monday in May
SummerMon 31 Aug 2026last Monday in August
Christmas DayFri 25 Dec 202625 December
Boxing DayMon 28 Dec 2026Sat → substitute Monday 28
check_circleMatches the 2026 dates the calculator above uses, all 8.
Easter 2026Sun 5 Apr 2026
golden number − 1 (a = Y mod 19)12
century (b = ⌊Y/100⌋)20
epact term h12
weekday term l2
correction m0
month = ⌊(h + l − 7m + 114) / 31⌋4
day = (h + l − 7m + 114) mod 31 + 15
JS Date checkSunday
Orthodox Easter uses the Julian computus: 30 Mar Julian, which is Sun 12 Apr 2026 Gregorian (+13 days). The churches celebrate 1 week(s) apart.
Easter dates, 1583-40992,517 years
22 Mar1 Apr11 Apr25 Apr
Easter can fall on 35 dates. Over 1583-4099 the most common is 10 Apr (102 years); 22 March, the earliest, happens 15 times and 25 April 26 times. Black bar: 2026.
~/one-date-many-numbers

The weekday, three ways, and every other number a date has.

Zeller’s congruence (1882) and Conway’s Doomsday rule (1973) both find the weekday with pencil arithmetic; the browser’s Date object counts milliseconds from 1970. All three run on the start date from the calculator. Below them: the ISO week, the Julian Day Number astronomers use, and the same day on the old Julian calendar.

your date1752-09-141582-10-152000-02-292027-01-012100-03-01
Zeller’s congruenceTuesday
shifted month, year9, 2026
K = year of century26
J = century20
h = (q + ⌊13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ + 5J) mod 73 (0 = Saturday)
Conway’s DoomsdayTuesday
century anchorTuesday
year doomsdaySaturday (26 → ⌊26/12⌋ + 2 + 0)
month doomsdaySep 5
offset from doomsday+24 days
JavaScript DateTuesday
Date.UTC(...)1790640000000 ms
days since 1970-01-0120725
(days + 4) mod 72 (0 = Sunday)
calendar usedproleptic Gregorian
ISO 8601 week date2026-W40-2week 40 of 2026
ordinal date2026-272day 272 of 365
Julian Day Number2,461,313days since noon, 1 Jan 4713 BC (Julian)
Modified JD61,312JDN − 2,400,001; day 0 is 17 Nov 1858
Julian calendar16 Sep 202613 days behind Gregorian
leap year?nonot divisible by 4
Excel serial46294days since 30 Dec 1899 (1900 system)
Unix seconds1790640000midnight UTC
history_eduAll three methods agree: Tuesday 29 Sep 2026. Excel’s serial numbers count a 29 February 1900 that never existed, copied from Lotus 1-2-3 for compatibility, which is why its day zero is 30 December 1899.
~/when-the-date-is-a-sunday

A payment due on a Sunday moves. Which way depends on the contract.

Loans, salaries and swaps set a day of the month, then a business day convention, defined in the ISDA 2006 Definitions, says where it goes when that day is a weekend or holiday. “Modified” conventions refuse to cross into another month. Here is a 12-month schedule from your chosen date, using England’s bank holidays generated above.

31st15th1st
#unadjustedFollowingnext business dayModified Followingnext, unless new monthPrecedingprevious business dayModified Precedingprevious, unless new month
1Sat 31 JanweekendMon 2 FebFri 30 JanFri 30 JanFri 30 Jan
2Sat 28 FebweekendMon 2 MarFri 27 FebFri 27 FebFri 27 Feb
3Tue 31 MarTue 31 MarTue 31 MarTue 31 MarTue 31 Mar
4Thu 30 AprThu 30 AprThu 30 AprThu 30 AprThu 30 Apr
5Sun 31 MayweekendMon 1 JunFri 29 MayFri 29 MayFri 29 May
6Tue 30 JunTue 30 JunTue 30 JunTue 30 JunTue 30 Jun
7Fri 31 JulFri 31 JulFri 31 JulFri 31 JulFri 31 Jul
8Mon 31 Augbank holidayTue 1 SepFri 28 AugFri 28 AugFri 28 Aug
9Wed 30 SepWed 30 SepWed 30 SepWed 30 SepWed 30 Sep
10Sat 31 OctweekendMon 2 NovFri 30 OctFri 30 OctFri 30 Oct
11Mon 30 NovMon 30 NovMon 30 NovMon 30 NovMon 30 Nov
12Thu 31 DecThu 31 DecThu 31 DecThu 31 DecThu 31 Dec
This schedule5 of 12 dates on day 31 fall on a weekend or bank holiday and must move.
Crossing a monthPlain Following pushes 5 payments into the next month and Preceding pulls 0 back, shown in red. That can shift interest periods and month-end accounting, which is why swaps usually specify Modified Following.
End-of-month ruleDay 31 is clamped to the last day in short months before adjusting. ISDA’s separate end-of-month rule goes further: if the first date is a month end, every date stays on the last business day of its month.
~/reference

Calendar rules, and how far each drifts from the Sun.

Mean year lengths are computed from each leap rule and compared with the mean tropical year of about 365.24219 days.

calendarleap rulemean yearone day off every
Julianevery 4th year365.250000 d128 years
Gregorianevery 4th, except centuries not divisible by 400365.242500 d3,226 years
Revised Julianevery 4th, except centuries unless year mod 900 is 200 or 600365.242222 d31,034 years
ISO 8601 week-year53 weeks when the year starts on Thursday, or is leap and starts on Wednesday365.242500 d3,226 years
365-day yearnone (ancient Egyptian civil calendar)365.000000 d4 years
Gregorian cycle146,097 daysEvery 400 years exactly, which is 20871 weeks to the day. So the calendar for 2026 repeats in 2426, and weekday frequencies are fixed.
ISO years with 53 weeks71 in 400Counted live for 2000-2399. A 53-week year starts on a Thursday, or on a Wednesday in a leap year.
the 13th of the monthFriday is most likelyCounted live over the 4,800 months of 2000-2399: Friday the 13th happens 688 times, more than any other weekday.
SMTWTFS

Timeline

46 BCJulius Caesar’s reform: a 445-day “year of confusion”, then the Julian calendar from 45 BC.
AD 325The Council of Nicaea agrees Easter should be computed, not set by local observation.
525Dionysius Exiguus publishes Easter tables and numbers years from the birth of Christ.
1582Pope Gregory XIII’s bull Inter gravissimas: Thursday 4 October is followed by Friday 15 October.
1700Protestant German states adopt the Gregorian calendar.
1752Britain and its colonies switch under the Calendar (New Style) Act 1750, dropping 11 days.
1871The Bank Holidays Act creates England’s first bank holidays.
1882Christian Zeller publishes his congruence for the day of the week.
1918Soviet Russia adopts the Gregorian calendar; the October Revolution moves to November.
1971The Banking and Financial Dealings Act sets the current framework for UK bank holidays.
1973John Conway devises the Doomsday rule.
1988ISO 8601 standardises week numbering, with weeks starting on Monday.