The Calc Guide › Calculator

Day of the Week Calculator

To find the day of the week for any date, use Zeller's congruence: h = (q + floor(13 x (m + 1) / 5) + K + floor(K / 4) + floor(J / 4) + 5 x J) mod 7. Worked example: Friday, November 27, 2026 gives h = 6, which is Friday. Use the calculator below; the working is shown with your numbers.

Last updated: November 27, 2026

A wall calendar with a single date circled and its weekday written beside it in pen, for a day of the week calculator

Find the day of the week

How this is worked out

Enter a date to see its day of the week.

Day of the week-
Day of the year-
Days left in the year-

Free. No sign-up. Calculated in your browser; nothing is sent to our servers.

Quick answer: Friday, November 27, 2026 is a Friday. Enter any date to get its weekday.

Who this is for: use it if you need the weekday for any date, past or future. Who it is not for: a day count between two dates, which the days between dates calculator covers.

The tool also gives the day of the year, the days left in the year, and the working by Zeller’s congruence.

How Zeller’s congruence works

Zeller’s congruence finds the day of the week for any date in the Gregorian calendar. It uses the day of the month, the month, and the year. January and February count as months 13 and 14 of the previous year, because the leap day sits at the end of February.

h = (q + floor(13 x (m + 1) / 5) + K + floor(K / 4) + floor(J / 4) + 5 x J) mod 7

Here q is the day of the month, m is the month (March is 3, and January and February are 13 and 14 of the previous year), K is the last two digits of the year, and J is the first two digits of the year. The answer h is 0 for Saturday, 1 for Sunday, 2 for Monday, 3 for Tuesday, 4 for Wednesday, 5 for Thursday and 6 for Friday.

Worked example: Friday, November 27, 2026

q is the day of the month, so q = 27. November is month 11, so m = 11. The year is 2026, so K = 26 (the last two digits) and J = 20 (the first two digits).

First, floor(13 x (11 + 1) / 5) = floor(156 / 5) = 31. Next, floor(26 / 4) = 6 and floor(20 / 4) = 5. Then 5 x 20 = 100. Add them: 27 + 31 + 26 + 6 + 5 + 100 = 195. 195 mod 7 = 6, which is Friday.

Examples

Date Day of the week Day of the year Days left in the year
November 27, 2026 Friday 331 34
February 29, 2028 Tuesday 60 306
January 1, 2000 Saturday 1 365
January 1, 1900 Monday 1 364
January 1, 2027 Friday 1 364

The first row is today’s date. The others are fixed dates: February 29, 2028 is the next leap day, and January 1, 1900 and January 1, 2000 show the century rule in action. See the leap year calculator for the rule.

Frequently asked questions

What day of the week was a date?

Enter the date and the tool gives the weekday, the day of the year, and the days left in the year.

What day of the week is today?

Friday, November 27, 2026 is a Friday.

Can I find the weekday for a future date?

Yes. Enter any date, past or future, in the Gregorian calendar.

What is Zeller’s congruence?

It is a formula that finds the day of the week for any date in the Gregorian calendar. It uses the day of the month, the month, and the year.

How do I calculate the day of the week in Excel?

Use the WEEKDAY function: =WEEKDAY(DATE(2026, 11, 27), 1) gives 6 for Friday, November 27, 2026. See the days between dates calculator for date arithmetic.

Does this work for dates before 1900?

Yes, for any date in the Gregorian calendar. See the date calculator for date arithmetic.

Sources and method

  • Calendar facts: timeanddate, Gregorian Calendar, https://www.timeanddate.com/calendar/gregorian-calendar.html (opened 2026-11-24 per the research file and again 2026-11-25).
  • Method: Frank W. Zeller, Acta Mathematica, vol. 9, 1886, pages 51-52. No URL; a bibliographic citation.
  • Worked examples and tables: recomputed by code at build.
Embed this calculator

Put this calculator on your own site or blog, free, with this snippet:

Free for any site while the attribution link under the calculator stays in place. More calculators and WordPress instructions.

Educational tool only. Results are estimates based on the numbers you enter and the assumptions explained on this page, not financial advice.