Free online weekday calculator
Enter any date to find out what day of the week it falls on, its position in the year, its ISO week number, and whether it is a weekend or a leap year day.
How to use
- Enter any date in the input. It defaults to today.
- Read the day of the week, day of the year, ISO week number, weekend status, and leap year flag.
- Press “Share with my numbers” to copy a link with your date.
How each result is calculated
Day of the week: The JavaScript Date object returns a numeric day index (0 = Sunday through 6 = Saturday). The calculator maps this to the full weekday name.
Day of the year: The number of milliseconds from midnight on January 1 of that year to midnight of the target date, divided by 86,400,000 ms, plus one.
ISO week number: Follows ISO 8601. The first week of the year is the week containing Thursday. The calculator uses the standard algorithm: shift the day-of-week so Monday = 0, find the nearest Thursday, then compute which week of the year that Thursday falls in.
Leap year: A year is a leap year if it is divisible by 4 and either not divisible by 100, or divisible by 400.
Worked example
Date: July 4, 2025
- Day of the week: Friday
- Day of the year: 185 (31 Jan + 28 Feb + 31 Mar + 30 Apr + 31 May + 30 Jun + 4 Jul)
- ISO week number: 27
- Weekend: No
- Leap year: No (2025 is not divisible by 4)
Notes
- The ISO week year can differ from the calendar year for dates in early January or late December.
- The calculator uses UTC-based date parsing to avoid time-zone offsets affecting the displayed day.
Frequently asked
How is the day of the year calculated?
How is the ISO week number calculated?
What is a leap year?
What counts as a weekend?
Can I look up historical or future dates?
Related calculators
- Date difference calculator
Count total days, weeks, months, and business days between two dates.
- Add or subtract days calculator
Find the date that is N days before or after any starting date.
- Business days calculator
Count Monday–Friday working days between two dates.
- Countdown calculator
Live countdown in days, hours, minutes, and seconds to any target date.