Explore All Calculators
Choose a calculator for your financial, health, math, or everyday needs.
Use this free online calculator in your browser.
Find the number of years, months, weeks, and days between dates. Click "Settings" to define holidays.
The Gregorian calendar is the most prevalently used calendar today[cite: 15]. Within this calendar, a standard year consists of 365 days with a leap day being introduced to the month of February during a leap year[cite: 15]. The months of April, June, September, and November have 30 days, while the rest have 31 days except for February, which has 28 days in a standard year, and 29 days in a leap year[cite: 15].
The Gregorian calendar is a reformed version of the Julian calendar, which was itself a modification of the ancient Roman calendar[cite: 15]. The ancient Roman calendar was believed to be an disrecretional lunar calendar, based on the cycles of the moon's phases[cite: 15]. The Romans were then believed to have adapted a 10-month calendar with 304 days, leaving the remaining 50 or so days as an unorganized winter[cite: 15]. This calendar allowed the summer and winter months to become completely misplaced, leading to the adoption of more accurate calendars[cite: 15].
The Republican calendar later used by Rome allowed Greek calendars in its assumptions of 29.5 days in a lunar cycle and 12.5 synodic months in a solar year, which align every fourth year upon the addition of the intercalary months of January and February[cite: 15]. From this point, many attempts were made to align the Republican calendar with the solar year including the addition of an intercalary month to certain years to supplant the lack of days in a particular year[cite: 15]. In 46 BC, the calendar was further reformed by Julius Caesar, introducing an algorithm that removed the dependence of calendars from the observation of the new moon[cite: 15]. In order to accomplish this, Caesar inserted an additional 10 days into the Republican calendar, making the total number of days in a year 365[cite: 15]. He also added the intercalation of a leap day every fourth year, all in an attempt to further synchronize the Roman calendar with the solar year[cite: 15].
Despite all efforts, the Julian calendar still required further reform, since the calendar drifted with respect to the equinoxes and solstices by approximately 11 minutes per year[cite: 15]. By 1582, this resulted in a difference of 10 days from what was expected[cite: 15]. Pope Gregory XIII addressed this by essentially skipping 10 days in the date, making the day after October 4, 1582, October 15[cite: 15]. An adjustment was also made to the algorithm of the Julian calendar that changed which century year would be considered leap years[cite: 15]. Under the Gregorian calendar, century years not divisible by 400 would not be leap years[cite: 15]. These changes reduced the error from 1 day in 128 years, to 1 day in 3,230 years with respect to the current value of the mean solar year[cite: 15]. The adoption of the Gregorian calendar occurred slowly over a period of centuries, and despite many proposals to further reform the calendar, the Gregorian Calendar still prevails as the most commonly used dating system worldwide[cite: 15].
A holiday is a day that, either by custom or by law, is set aside such that regular activities like going to work or school are suspended, or at least reduced[cite: 15]. The term "holiday" can be interpreted differently depending on the region[cite: 15]. In the U.S., paid leave is typically referred to as "vacation," while national, religious, or cultural days are all referred to as "holiday"[cite: 15].
Generally, holidays are meant to commemorate some event, person, or group of cultural or religious significance[cite: 15]. Although certain holidays, such as Christmas and New Year's Day, are widely celebrated worldwide, most countries have their own set of holidays that are specific to the country, and even the same holidays may be observed differently within countries; some may receive a full suspension of typical daily activities, while others may only get partial days off[cite: 15]. Certain countries have holidays that essentially shut down almost all businesses[cite: 15]. As an example, in Brazil, Carnaval do Brasil results in almost a full week in which only industrial production, retail establishments, or canonical-related businesses function[cite: 15].
This calculator is mainly geared towards U.S. holidays, but holidays specific to a given country can be ordered manually[cite: 15]. Certain holidays can also be excluded[cite: 15]. For a further level of specificity, federal holidays in the U.S. refer to holidays that have been recognized by the U.S. government; on these days, non-essential federal government offices are closed, and all federal employees receive paid leave[cite: 15]. This is not necessarily true in the private sector, however, and which federal holidays a private sector employee receives is largely dependant on the discretion of the company[cite: 15]. In some cases, an employee who is required to work on a federal holiday may receive compensation in the form of holiday pay in addition to their regular wages[cite: 15].
Certain holidays such as New Year's Day are referred to as "fixed holidays," since they fall on the same date every year[cite: 15]. Others, such as the birthday of Martin Luther King, Jr., don't have a fixed date, because they occur on a "floating Monday," in this particular case, the holiday occurs on the third Monday of January[cite: 15]. Another widely observed holiday in the U.S., Thanksgiving, occurs on a "floating Thursday," the fourth Thursday in November, hence the dates of these holidays vary by year[cite: 15]. Below are two tables showing the dates of federal holidays in the U.S. for 2026 and 2027[cite: 15].
| New Year's Day | Jan. 1, 2026[cite: 15] |
| Martin Luther King Jr. Day | Jan. 19, 2026[cite: 15] |
| President's Day | Feb. 16, 2026[cite: 15] |
| Memorial Day | May 25, 2026[cite: 15] |
| Juneteenth Day | Jun. 19, 2026[cite: 15] |
| Independence Day | Jul. 4, 2026[cite: 15] |
| Labor Day | Sep. 7, 2026[cite: 15] |
| Columbus Day | Oct. 12, 2026[cite: 15] |
| Veteran's Day | Nov. 11, 2026[cite: 15] |
| Thanksgiving | Nov. 26, 2026[cite: 15] |
| Christmas | Dec. 25, 2026[cite: 15] |
| New Year's Day | Jan. 1, 2027[cite: 15] |
| Martin Luther King Jr. Day | Jan. 18, 2027[cite: 15] |
| President's Day | Feb. 15, 2027[cite: 15] |
| Memorial Day | May 31, 2027[cite: 15] |
| Juneteenth Day | Jun. 19, 2027[cite: 15] |
| Independence Day | Jul. 4, 2027[cite: 15] |
| Labor Day | Sep. 6, 2027[cite: 15] |
| Columbus Day | Oct. 11, 2027[cite: 15] |
| Veteran's Day | Nov. 11, 2027[cite: 15] |
| Thanksgiving | Nov. 25, 2027[cite: 15] |
| Christmas | Dec. 25, 2027[cite: 15] |
Choose a calculator for your financial, health, math, or everyday needs.