Weekend Days Between Dates
Count the Saturdays and Sundays between two dates, and the weekdays that remain.
What this Weekend Days Between Dates calculator does
Count the Saturdays and Sundays between two dates, and the weekdays that remain.
Both dates are included, and a weekend day is a Saturday or a Sunday. No public holiday is added to the weekend: only the two weekend weekdays are counted. The weekday count is the full range minus the weekend days, so the three numbers always add up. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
How to use it
Enter First date, Last date, then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.
Worked example
Input:
First date = 2026-01-01
Last date = 2026-01-31
Output:
Weekend days = 9
Weekdays = 22
Days in range = 31
Why it runs in your browser
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
Weekend Days Between Dates: Count the Saturdays and Sundays between two dates, and the weekdays that remain.
Both dates are included, and a weekend day is a Saturday or a Sunday. No public holiday is added to the weekend: only the two weekend weekdays are counted. The weekday count is the full range minus the weekend days, so the three numbers always add up. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
Worked example: First date = 2026-01-01, Last date = 2026-01-31 gives Weekend days = 9; Weekdays = 22; Days in range = 31.
How to use the Weekend Days Between Dates calculator
Enter First date, Last date, then press Calculate. The page recalculates as you type and runs the same operation again from the values on screen.
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
- First date — a date written YYYY-MM-DD
- Last date — a date written YYYY-MM-DD
The rule this page applies
Both dates are included, and a weekend day is a Saturday or a Sunday. No public holiday is added to the weekend: only the two weekend weekdays are counted. The weekday count is the full range minus the weekend days, so the three numbers always add up. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.
- Weekend days = 9
- Weekdays = 22
- Days in range = 31
What to Expect
Best for
- Checking a date by hand
- Getting the weekend days quickly
- Comparing two candidate dates
Not ideal for
- Statutory holiday calendars
- Time-zone conversion
- Locales other than English
What this tool keeps
- Your inputs in this tab
- The rule, printed in full
- The same answer on every run
What may need cleanup
- A date the page refuses, which names the reason instead of guessing
- A count outside the supported range, which is refused by name
Common errors
- A date that does not exist, such as 30 February, is refused rather than rolled forward
- A blank field is refused rather than read as today
- A written date in an order the page does not accept is refused by name
Example use cases
- Planning around a deadline
- Checking a date before you commit to it
- Homework and exam checking
Sample input
First date = 2026-01-01, Last date = 2026-01-31
Sample output
Weekend days = 9; Weekdays = 22; Days in range = 31
Who this is for
- Anyone checking a date by hand
- Students and teachers
Frequently asked questions
What does the Weekend Days Between Dates calculator do?
Count the Saturdays and Sundays between two dates, and the weekdays that remain. The page prints weekend days, weekdays, days in range.
How does this page count days?
Both dates are included, and a weekend day is a Saturday or a Sunday. No public holiday is added to the weekend: only the two weekend weekdays are counted. The weekday count is the full range minus the weekend days, so the three numbers always add up. The Gregorian leap rule is read rather than assumed - February has 29 days when the year is divisible by 4 and not by 100, or when it is divisible by 400 - so a leap year moves no count here by hand.
How are leap years handled?
A year is a leap year when it is divisible by 4, except a century, which is a leap year only when divisible by 400. February therefore has 29 days in 2028 and 28 in 2026, and the page reads the real month length rather than a table.
Which time zone does the page use?
Every date is read as a civil date in this browser's local time zone: the page carries no time-zone database and no locale data, and nothing you type is sent anywhere.
Are public holidays counted as weekend days?
No. Only Saturday and Sunday are weekend days here. A statutory holiday is a local rule this page does not carry.
Are both ends of the range counted?
Yes. A range that starts on a Saturday includes that Saturday, and one that ends on a Sunday includes that Sunday.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.