Day of Year Calculator - Online Ordinal Date
Find out what day number of the year any date is (1‑366). Also shows days remaining. Simple reference.
UD5 Toolkit
Instantly find the weekday for any date — past, present, or future. Discover what day of the week you were born, your anniversary falls on, or any historical date.
Press Enter to calculate
Your result will appear here
Pick a date and click "Find Weekday"
The algorithm to calculate the day of the week for any date is known as Zeller's Congruence, devised by Christian Zeller in 1883. It uses modular arithmetic to convert a date into a number that corresponds to a weekday — and it works for both Gregorian and Julian calendars!
The Gregorian calendar (the one most of the world uses today) was introduced in 1582 by Pope Gregory XIII. This tool uses the Gregorian calendar for all calculations and is accurate for dates from year 1 through 9999.
Our calculator uses JavaScript's built-in Date object along with the Gregorian calendar system to determine the weekday for any given date. When you select a date, the tool extracts the year, month, and day, then calculates the corresponding day of the week (Sunday through Saturday). It also computes additional information such as the ISO week number, the day count within the year, the quarter, and whether the year is a leap year. All calculations happen instantly in your browser — no data is sent to any server.
Yes! There are several methods for manually calculating weekdays. The most famous is Zeller's Congruence, a formula that works for both Gregorian and Julian calendars. Another popular method is the Doomsday Algorithm (invented by John Horton Conway), which uses anchor dates (like April 4, June 6, August 8, etc.) that always fall on the same weekday within a given year. However, these manual methods require practice and are error-prone — which is why an online calculator like this one is so handy for quick, accurate results.
Zeller's Congruence is a mathematical formula that converts a calendar date into a numerical value representing the day of the week. For the Gregorian calendar, the formula is:
h = (q + ⌊13(m+1)/5⌋ + K + ⌊K/4⌋ + ⌊J/4⌋ − 2J) mod 7
Where q is the day of the month, m is the month (March=3, ..., February=14), K is the year of the century, and J is the zero-based century. The result h yields 0=Saturday, 1=Sunday, ..., 6=Friday. This elegant formula has been used by computer programmers and calendar enthusiasts for over 140 years!
This tool uses the proleptic Gregorian calendar, meaning it extends the Gregorian calendar backward to dates before its official introduction in 1582. For dates prior to October 15, 1582 (when the Gregorian calendar was first adopted), the actual historical weekday may differ depending on which calendar system was in use in a particular country at that time. For example, the British Empire (including the American colonies) didn't adopt the Gregorian calendar until September 1752. If you're researching historical events, it's worth checking which calendar was in effect for that time and place.
The ISO 8601 week number is an international standard for numbering weeks within a year. In this system, weeks start on Monday, and the first week of the year (Week 1) is the week that contains the first Thursday of the year. This means that Week 1 always has at least 4 days in the new year. A year can have 52 or 53 weeks under this system. Our tool automatically computes the ISO week number for your selected date, which is useful for business planning, project management, and international scheduling.
The difference stems from cultural and religious traditions. In many Western countries (like the United States, Canada, and Japan), Sunday is considered the first day of the week — a convention rooted in Judeo-Christian tradition where Sunday is the Sabbath or the Lord's Day. In most of Europe and many other parts of the world following ISO 8601, Monday is treated as the first day of the week. Interestingly, our tool shows both the weekday name and ISO week number, so you can interpret the result in whichever system you prefer.
Leap years add an extra day (February 29) to the calendar every 4 years, with the exception of century years that are not divisible by 400. This extra day shifts all subsequent weekdays forward by one position. For example, if March 1 falls on a Tuesday in a non-leap year, it will fall on a Wednesday in the following leap year. Our calculator automatically accounts for leap years in all its computations, including the day-of-year count and ISO week calculations. You'll see a "Leap Year" indicator in the results — it will show "Yes" for years like 2024, 2028, and 2000, but "No" for years like 1900, 2100, or 2023.
Absolutely! This Day of the Week Calculator is fully responsive and optimized for all devices — desktops, tablets, and smartphones. On mobile devices, tapping the date field will bring up your device's native date picker, making it incredibly easy to select any date. The entire interface adapts to smaller screens, and all quick-access buttons (Today, Yesterday, Tomorrow, etc.) remain easily tappable. No zooming or horizontal scrolling required!
| Day # | Weekday | Abbreviation | Origin / Meaning | Type |
|---|---|---|---|---|
| 0 | Sunday | Sun | Day of the Sun (Latin: dies Solis) | Weekend |
| 1 | Monday | Mon | Day of the Moon (Latin: dies Lunae) | Weekday |
| 2 | Tuesday | Tue | Day of Mars / Tīw's day (Norse god) | Weekday |
| 3 | Wednesday | Wed | Day of Mercury / Odin's (Woden's) day | Weekday |
| 4 | Thursday | Thu | Day of Jupiter / Thor's day | Weekday |
| 5 | Friday | Fri | Day of Venus / Frigg's day | Weekday |
| 6 | Saturday | Sat | Day of Saturn (Latin: dies Saturni) | Weekend |
Fun fact: In JavaScript, Date.getDay() returns 0 for Sunday and 6 for Saturday —
a convention that dates back to early computing traditions in the United States.
Find out what day number of the year any date is (1‑366). Also shows days remaining. Simple reference.
Add N business days to a date, skipping weekends and optionally entering custom holidays. Regional presets.
Enter number of eyelet pairs and lacing style to find the correct shoelace length in inches/cm. Never buy too short.
Enter two city names or coordinates and get the straight‑line distance in miles/km. Local calculation.
Estimate the sinker weight needed to hold bottom in current based on line diameter, depth, and current speed.
Enter piece count and piece size to estimate finished dimensions. Check if it fits your table.
Enter rolls remaining and household size to estimate weeks of supply. A humorous yet practical aid.
Enter amount of kernels and see estimated popped volume. Plan movie night snacks perfectly.
Calculate ideal stereo speaker placement (toe-in, distance from wall) for best soundstage. Visual diagram. For audiophiles. Local tool.
Find the optimal TV size for your room or the best viewing distance based on screen size and resolution (1080p, 4K, 8K). Simple THX/SMPTE reference.
Estimate BAC based on gender, weight, drinks consumed, and time. Uses Widmark formula. Educational tool, never encourage drunk driving. Local only.
Compute simple interest and final amount given principal, annual rate, and duration. Also reverse-calculates rate or time. Local only.
Enter any date and get its ISO week number, plus the start and end dates of that week. Quick reference.
Enter a hex color and get its relative luminance per WCAG definition. Understand why this matters for contrast.
Enter any date and instantly know which quarter it belongs to. Also shows fiscal quarter if start month set.
Calculate the exact number of days, weeks, months, and workdays between two dates. Visual calendar highlights. Perfect for projects.
Choose your cup size and sweetness level, and get exact proportions for tea, milk, syrup, and tapioca pearls. Perfect homemade boba every time.
Combine multiple identical batteries in series and parallel and see the resulting voltage and total capacity. Electronics helper.
Track your subscriptions, calculate monthly and yearly totals, and find savings by pausing unused services. Local data.
Determine the minimum sample size needed for a survey or A/B test with a given confidence level and margin of error.
Easily compute posterior probabilities given prior, likelihood, and marginal likelihood. Visual diagram. All local.
Find out how large you can print based on image resolution in pixels. Understand DPI and megapixels.
Learn about f‑stops and their effect on light and depth. Calculate equivalent exposure adjustments. Educational.
Measure your waist‑to‑hip ratio and learn about associated health risks. WHR interpretation. Educational only.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Find the centroid (center of mass) of any convex polygon by entering vertex coordinates. Useful for physics and design.
Fairly distribute pooled tips among staff based on hours worked or points. Customizable percentages. All calculations local and private.
Estimate the total price after adding US state sales tax. Select state, enter amount, and see breakdown. Simple and quick, perfect for shoppers.
Convert Unix timestamps to human-readable dates and vice versa. Supports seconds and milliseconds. Ideal for developers debugging time-related code.
Project how your savings and investments grow over time with compound interest. Interactive chart and detailed table. Free and anonymous.