Weekday Calculator
Find the day of the week, week number, day of year, quarter, and leap year status for any date. Instant weekday lookup.
Weekday Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser — no data is sent to any server.
Formula: ISO Week Number = 1 + floor((OrdinalDate - weekday + 10) / 7)
Worked example — Saturday | Day 185 | Week 27 | Q3
Formula
ISO Week Number = 1 + floor((OrdinalDate - weekday + 10) / 7)
The day of the week is determined by the Date object's internal calendar calculations. The ISO week number is computed by finding the Thursday of the current week (since ISO weeks are defined by their Thursday), then counting the number of weeks from January 4 of that year (which is always in ISO Week 1). The day of year is the count of days elapsed since January 1.
Worked Examples
Example 1: Finding the Day of the Week
Problem:What day of the week is July 4, 2026?
Solution:Enter July 4, 2026 into the calculator. The calculator determines the day using date arithmetic. July 4, 2026 falls on a Saturday. It is day 185 of the year, in week 27.
Result:Saturday | Day 185 | Week 27 | Q3
Example 2: Year Progress Check
Problem:How far through the year is September 15, 2026?
Solution:September 15 = Day 258 of 365 258 ÷ 365 = 70.7% through the year Days remaining: 365 - 258 = 107 Week number: 38, Quarter: Q3
Result:Day 258 of 365 | 107 days remaining | Week 38
Frequently Asked Questions
How is the ISO week number calculated?
The ISO 8601 week number defines Week 1 as the week containing the first Thursday of the year (or equivalently, the week containing January 4). Weeks start on Monday and end on Sunday. This means that January 1-3 might belong to the last week of the previous year, and December 29-31 might belong to Week 1 of the next year. For example, if January 1 falls on a Friday, it belongs to Week 53 of the previous year. This standard is used internationally in business, government, and IT systems.
What determines if a year is a leap year?
A leap year occurs when the year is divisible by 4, EXCEPT for century years (divisible by 100), which must also be divisible by 400 to be leap years. So 2024 is a leap year (divisible by 4), 1900 was NOT a leap year (divisible by 100 but not 400), and 2000 WAS a leap year (divisible by 400). Leap years have 366 days with February having 29 days instead of the usual 28. This system corrects for the fact that the tropical year, the interval between successive March equinoxes, is approximately 365.2422 days rather than a whole 365.
What is the day of the year number used for?
The day-of-year number (also called ordinal date or Julian day of year) ranges from 1 (January 1) to 365 or 366 (December 31). It's widely used in agriculture for planting and harvest schedules, military and aviation date formats (e.g., 2026-085 for March 26, 2026), scientific data logging, manufacturing batch dating, and expiration dates on food packaging. It simplifies calculations like determining how many days remain in the year.
How do quarters relate to months?
The calendar year is divided into four quarters: Q1 (January-March), Q2 (April-June), Q3 (July-September), and Q4 (October-December). Quarters are essential in business for financial reporting, earnings statements, tax filings, and goal setting. Each quarter has approximately 90-92 days. Fiscal quarters may differ from calendar quarters — for example, the US government's fiscal year starts October 1, making Q1 October-December.
What is a Julian day number?
The Julian day number (JDN) is a continuous count of days since the beginning of the Julian period on January 1, 4713 BC in the Julian calendar. It's used in astronomy, chronology, and software for date calculations because it provides a single incrementing number for any date, making it easy to calculate differences between dates across different calendar systems. For example, January 1, 2000 is Julian day 2,451,545. Don't confuse this with the Julian calendar — they share the name 'Julian' but are different concepts.
How does the Doomsday algorithm let you work out a weekday without a calendar?
John Horton Conway's Doomsday algorithm rests on the fact that a set of easily remembered dates always share one weekday within any given year: the last day of February, 14 March, 4 April, 6 June, 8 August, 10 October, 12 December, and the pairs 9 May with 5 September and 11 July with 7 November. Establish that weekday, called the year's doomsday, and every other date is a short count of days forward or backward from the nearest anchor.
Why does the Gregorian calendar repeat exactly every 400 years?
Because 400 Gregorian years contain a whole number of weeks. The leap rule yields 97 leap years per 400, so the cycle holds 146,097 days, and 146,097 divided by 7 is exactly 20,871. Every date therefore returns to the same weekday after four centuries, which is why weekday tables and algorithms never need more than a 400-year lookup. It also leaves the weekday distribution slightly uneven: across the 4,800 thirteenths in a cycle, Friday comes up 688 times, more often than any other day.
What is a proleptic Gregorian date, and why can historical weekdays disagree?
The Gregorian calendar was promulgated in 1582, so any earlier date expressed in it is proleptic, meaning projected backwards rather than actually used at the time. Adoption was staggered: Britain and its colonies converted in 1752 by dropping eleven days, and Russia only in 1918. A weekday returned for an early historical date is therefore the Gregorian one, which can differ from the Julian, or Old Style, date written in contemporary documents. Sources often flag this with the notations O.S. and N.S.
Why do some years contain 53 ISO weeks?
An ISO year runs in whole Monday-to-Sunday weeks, so it holds either 364 or 371 days, and the 53-week case arises whenever the calendar year contains 53 Thursdays. In practice that happens when 1 January falls on a Thursday, or on a Wednesday in a leap year, which works out at roughly one year in every five or six. Payroll and retail systems built on week counts have to handle that extra week explicitly, or a year of period-on-period comparisons quietly shifts.
What is a Modified Julian Date?
The Modified Julian Date shifts the Julian Day Number to a smaller number and to a midnight start: MJD equals JD minus 2,400,000.5, so its zero point is 17 November 1858 and present-day values are five digits. The half-day offset matters because a full Julian day begins at noon Universal Time, an astronomer's convention that keeps one night of observations inside a single day number. Satellite tracking, geodesy and telecommunications standards generally quote MJD rather than JD.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist · Editorial policy
Related Calculators
🧮How Many Days Until Friday Calculator
Find how many days remain until the next Friday or any specific weekday.
🧮Date Difference Calculator
Calculate the exact number of days, weeks, months, and years between any two dates.
🧮Add Days to Date Calculator
Add or subtract days, weeks, months, or years from any date to find the resulting date.
🧮Date to Julian Day Converter
Convert between calendar dates and Julian Day Numbers used in astronomy and programming.
🧮Date Range Generator
Generate a list of all dates between two dates with customizable intervals.
🧮Stopwatch Lap Time Calculator
Calculate average, best, and worst lap times from a list of split times.
🧮Break Time Calculator
Calculate entitled break times based on shift length and labor law requirements.
🧮Date of Birth Calculator
Calculate date of birth from current age or age at a specific date.