Nth weekday of the month calculator

Useful for dates set by position rather than number, like a meeting on the first Monday of each month or an event on the last Friday.

Loading the tool…

Processing and privacy: The result is calculated inside your browser and your data is not sent to any server.

How to use it

  1. Enter year, month, weekday and position.
  2. The result appears straight away and updates as you edit.
  3. Copy the result, or copy a link that keeps the same values to share it.

How it is calculated

First occurrence = 1 + ((target weekday - weekday of the 1st + 7) mod 7). Occurrence n = first + 7 × (n - 1). Last = last day - ((weekday of last day - target + 7) mod 7).

Example

Inputs: Year = 2,026, Month = May, Weekday = Sunday, Position = Second. Result: Date: Sunday, May 10, 2026 (2026-05-10); Day of the month: 10; Sundays in the month: 5.

Limits and caveats

  • A fifth occurrence does not exist in every month; you then get a message with how many times the weekday occurs.

Questions about this tool

What is the difference between fourth and last?

They are the same date when the weekday occurs 4 times that month and differ when it occurs 5 times.

When is the second Sunday of May 2026?

10 May 2026, because the first Sunday that month is 3 May.

Can I use it to schedule a monthly meeting?

Yes. Change the month each time to get the first Monday or last Thursday of every month in the year.