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.
Compute Poisson probabilities for a given mean rate. Ideal for call centers, traffic analysis. Instant chart.
Calculate resistor values for transistor fixed bias or voltage divider configuration. Quick quiescent point analysis.
Enter any date and instantly know which quarter it belongs to. Also shows fiscal quarter if start month set.
Enter two Unix timestamps and get the exact difference in days, hours, minutes, and seconds. Quick time debugging.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Enter frame size and image size to calculate mat borders. Visual preview. Precise framing.
Convert any date into Roman numerals (day‑month‑year) for tattoos or special occasions. Clean and local.
Calculate tips and split bills easily. Adjust tip percentage and number of people. Perfect for dining out. All computations happen on your device.
Convert numbers to Roman numerals and decode Roman numerals back to numbers. Supports up to large values. A fun educational tool running entirely in your browser.
Convert any integer up to 3999 into its Roman numeral representation and vice versa. Quick and accurate. Local.
Enter your clay's shrinkage rate and the desired fired size to determine the wet dimensions you need to throw or slab build. Essential for functional ware.
See a list of notable historical events that happened on this day across years. Static data, no API needed.
Write and store encrypted daily journal entries directly in your browser's localStorage. Export as TXT. No sign-up, fully private.
Calculate how many books, DVDs, or vinyl records fit on a shelf given its length and depth. Useful for home library planning. Local only.
Define min and max font sizes and viewport widths. Generate a complete fluid type scale using CSS clamp() for all headings.
Enter min and max font sizes and viewport widths to generate a perfect CSS clamp() expression. Fluid typography without media queries.
Write daily notes encrypted with a password. All data stored in your browser. Export as encrypted file. True privacy.
Write expressions with clamp(), min(), max(), abs(), sign(), round() and see the computed value. Modern CSS calculations.
A visual guide to common copy‑editing and proofreading symbols. Click a mark to see its meaning. For writers.
Load a video file and grab any frame as a still image. Navigate frame by frame. Download the snapshot. All done on your device.
Animate elements as they enter and exit the viewport using view() timeline. Parallax and reveal effects without JS.
Type JavaScript expressions and see output like a real browser console. Supports console.log, error, warn. Use for quick testing without DevTools.
Select a US state and legal category (debt, personal injury) to see typical time limits. Quick informational guide.
Design a fully styled scrollbar with colors, width, and border radius. Get the CSS for Chrome and Firefox.
Log daily temperature and humidity of your incubator. Get alerts when approaching critical days. Improves hatch rate.
Write a JavaScript snippet and get a ready‑to‑drag bookmarklet link. With minification and encoding. Easy browser tools.
Select wood species and plank width to get the recommended cleat spacing and pattern. Ensure a squeak‑free installation.
Generate a horizontal Code‑128 barcode from any string. Download as PNG or SVG. Works offline. For inventory.