Day of the Week Formula Explained, With Examples

Updated 5 Oct 2026 in Date & Time

Every day of the week result comes from one formula. Once you understand what goes into it, you can sanity-check any figure you are given, whether by an employer, a bank, a teacher or another website.

The formula

Based on the Gregorian calendar.

What each input means

Example

For example, with these inputs:

the calculator returns:

Why it matters

Dates and durations matter for notice periods, leave planning, project deadlines and contracts. Counting days on a calendar is slow and easy to get wrong, especially across months of different lengths.

When sharing dates internationally, write the month as a word to avoid confusion between day-month and month-day formats.

Singapore has 11 gazetted public holidays a year, and when one falls on a Sunday the following Monday is a holiday. Working-day calculations therefore need holidays removed separately from weekends.

Many Singapore rules are expressed in days: notice periods, leave entitlements, stamp duty deadlines and probation periods. Whether the count includes the start or end date, and whether weekends count, changes the answer.

Related calculations

Use the Day of the Week Calculator to plug in your own numbers.

Run your own numbers: Day of the Week Calculator

Related guides