Beginner

Day Counter — Count Days Between Two Dates

Enter a start and end date to count total days, weekdays (Mon–Fri), weekend days (Sat–Sun), and full weeks in the range — including individual day-of-week counts.
End date (not included in count)
Total days
364days

Calendar days from start (inclusive) to end (exclusive)

Weekdays (Mon–Fri)
260
Weekend days (Sat–Sun)
104
Full weeks
52
Remaining days
0
Mondays
52
Fridays
52
71%
29%
Weekdays
Weekends
Weekday vs weekend split in the selected range
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

Total days = end − start date (inclusive start, exclusive end). Full weeks = floor(days ÷ 7) giving 5 weekdays and 2 weekend days each; remainder days from the start's weekday fill in the last partial week. Per-day counts (Mondays, Tuesdays, etc.) use the same week-plus-remainder arithmetic — no day-by-day loop needed.

Formula
Total days = End date − Start date • Full weeks = ⌊days ÷ 7⌋ • Per-weekday count: fullWeeks + extras
How this is calculated

The calculator converts both dates to Unix timestamps and subtracts them to get the total day count. This is the number of days starting from (and including) the start date up to (but not including) the end date — the standard convention used by employment law, payroll, and date libraries worldwide.

Weekdays (Monday through Friday) and weekend days (Saturday and Sunday) are tallied using a mathematical formula: the range contains floor(totalDays ÷ 7) complete weeks, each containing exactly 5 weekdays and 2 weekend days. The remainder days (0–6) start from the weekday of the start date and are counted individually. This formula is exact for any date range without looping through every single day.

Individual day-of-week counts use the same approach: floor(total ÷ 7) full occurrences plus 0 or 1 from the remainder days, depending on whether that particular weekday falls within the partial week at the start of the range. This is useful for billing or project planning where specific weekdays (e.g. Mondays for weekly meetings) need to be counted precisely.

Frequently asked questions

Yes — the calculator uses the standard "inclusive start, exclusive end" convention. For example, Jan 1 to Jan 8 gives 7 days (Jan 1, 2, 3, 4, 5, 6, 7 are counted; Jan 8 is not). This matches how most programming languages and spreadsheets count date differences.

The "Weekdays (Mon–Fri)" figure is the count of business days (assuming a standard Mon–Fri work week with no public holidays). For holiday-adjusted business-day counts, you would need to subtract the number of public holidays that fall on weekdays in your date range.

They are the most commonly needed individual-day counts — Mondays for weekly meetings and recurring deadlines, Fridays for payroll processing and end-of-week reporting. All seven day-of-week counts are computed; only two are shown in the summary for brevity.

Also known as

day counter
count days between dates
weekday counter between dates
business day counter
how many weekdays between two dates
calendar day count tool
days of week counter

APA

TG we-Calculate Editorial Team. (2026). Day Counter — Count Days Between Two Dates [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/day-counter

Chicago

TG we-Calculate Editorial Team. "Day Counter — Count Days Between Two Dates." TG we-Calculate. 2026. https://we-calculate.com/calculator/day-counter.

IEEE

TG we-Calculate Editorial Team, "Day Counter — Count Days Between Two Dates," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/day-counter

BibTeX

@misc{wecalculate_day_counter, title = {Day Counter — Count Days Between Two Dates}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/day-counter}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?