Skip to content
Date Range Math

Day Counter

There are 0 days between May 30, 2026 and May 30, 2026 — that is 0 weeks and 0 days, including 0 business days. Pick any two dates and the calendar strip below highlights the entire span.

Total days

0

Weeks + days

0w 0d

Business days

0

Weekend days

0

Quick Conversion

Formula: weeks = days ÷ 7

Pick Two Dates

The green cell is the start, the amber cell is the end, and every day in between is shaded.

Calendar Strip — span highlighted
Start End Span weekday Span weekend

Result

0 days

0 weeks + 0 days · 0 business days · 0 weekend days

Saturday, May 30, 2026Saturday, May 30, 2026

Quick Spans From Today

Set the end date relative to today with one tap.

Days → Weeks & Business Days

Total daysWeeks + daysBusiness days (Mon–Fri)
10w 1d1
71w 0d5
142w 0d10
213w 0d15
304w 2d21
456w 3d32
608w 4d43
9012w 6d64
18025w 5d129
36552w 1d261

Counting backward from today? Try 180 days ago or forward with 100 days from today.

The Day-Difference Formula

days = (endTs − startTs) ÷ 86,400,000 msinclusive days = days + 1  |  weeks = ⌊days ÷ 7⌋  |  business = weekdays in span

Worked: from 1 March to 31 March, endTs − startTs = 30 × 86,400,000 ms = 30 days (exclusive). Inclusive counting adds 1 for 31 calendar days. That span is 4 weeks and 2 days, and contains 21 or 22 business days depending on which weekday 1 March falls on. The 86,400,000 figure is the milliseconds in one mean solar day of 86,400 SI seconds.

Counting-Convention Reference

ConventionCountsUsed for
Exclusiveend − start (gap)Hotel nights, full intervals
Inclusiveend − start + 1Calendar days, many contracts
Business daysMon–Fri onlySprints, notice, SLAs
Calendar weekstotal ÷ 7Pregnancy, project phases

Your Saved Ranges

No saved ranges yet. Tap "Save to History" to remember up to six date ranges.

How to Count Days Between Two Dates

  1. Enter the start date — it defaults to today — in the green-bordered input.
  2. Enter the end date in the amber-bordered input, or tap a quick-span preset like "Next 30 days". Use Swap if you typed them in the wrong order.
  3. Read the calendar strip: the green and amber cells mark the endpoints and every day between is shaded, with weekends in a darker tone.
  4. Choose inclusive or exclusive counting to match your convention — nights versus calendar days — and read the total, weeks-plus-days, and business-day cards.
  5. Save the range to local history to compare several spans later.

The Art of Counting Days

In 2026, a project manager counting the working days left to a launch, a parent counting the sleeps until a child's birthday, or a contractor invoicing the exact days a site was occupied, all need the same primitive: how many days lie between two dates, and how many of those are business days? This day counter answers it with an interactive calendar strip that highlights the whole span, then breaks the result into total days, weeks, and Monday-to-Friday working days. It is the Swiss-army knife of date arithmetic.

Counting days sounds trivial until the fence-post problem appears. If a hotel stay runs from the 10th to the 13th, is that three nights or four days? The answer depends on whether you count inclusively (both endpoints) or exclusively (the gap between them). The exclusive count — end minus start — gives 3, the number of nights; the inclusive count adds one for 4, the number of calendar days touched. This tool exposes both, because legal contracts, payroll, and travel each use a different convention, and confusing them is the classic off-by-one error.

The day itself is defined by Earth's rotation, but the civil day we count is the mean solar day of exactly 86,400 seconds, standardised against the SI second since 1967 when the International Bureau of Weights and Measures redefined the second using the caesium-133 atom. Leap seconds, added irregularly since 1972 to keep clocks aligned with Earth's slightly irregular spin, do not affect calendar-day counting because they are absorbed within a single day. So counting days between two dates is pure calendar arithmetic, immune to the leap-second wrinkle.

Business-day counting adds the workweek convention. The five-day Monday-to-Friday week is a twentieth-century invention — Henry Ford standardised the two-day weekend at his factories in 1926, and the US Fair Labor Standards Act of 1938 cemented the 40-hour week. Counting only weekdays between two dates requires walking each day and testing its day-of-week, which is exactly what this tool does; it also lets you see the count both with and without weekends so you can reconcile a calendar-day deadline against a working-day one.

Holidays are the layer most simple counters ignore. A true working-day count subtracts public holidays as well as weekends, but holidays vary by country, state, and year, so this tool focuses on the weekend-aware count and leaves holiday lists to specialised calendars. For most planning — sprint lengths, notice periods, billing windows — the Monday-to-Friday count is the figure people actually need, and pairing it with the total-days figure covers the rest.

The history of date-difference computation runs through astronomy. The Julian Day Number, proposed by Joseph Scaliger in 1583 and named for his father Julius (not Julius Caesar), assigns a continuous integer to every day since 1 January 4713 BC, so astronomers can find the days between any two dates by simple subtraction. Modern software uses an analogous epoch — Unix time counts seconds since 1 January 1970 UTC — and this tool subtracts two such timestamps and divides by 86,400,000 milliseconds to get whole days, the same principle Scaliger pioneered.

For everyday use the flow is direct: pick a start date and an end date, and the calendar strip highlights every day in the span. The result cards show total days, full weeks plus leftover days, and business days. Toggle inclusive counting for calendar-day conventions, swap the two dates if you entered them backward, and save the calculation. Pair the day counter with the sibling date-from-today and days-ago tools to plan forward and backward from any anchor.

Day Counter — FAQ

Have more questions? Contact us

Trusted by planners, contractors, and HR teams

4.9
Based on 5,720 reviews

The calendar strip is the feature I did not know I needed. Highlighting the whole span makes the deadline tangible, and the business-day card tells me the real runway, not just the calendar days. The inclusive toggle ended our perennial off-by-one arguments.

R
Rachel Inwood
Project manager tracking working days to a product launch
May 13, 2026

I bill by the day and the inclusive-versus-exclusive distinction is literally money. Being able to switch between nights and calendar days, then save each range to history, means my invoices match the contract wording exactly.

M
Marco Santini
Independent contractor invoicing site-occupancy days
April 20, 2026

I juggle several countdowns at once, and the saved-ranges panel lets me keep every couple's timeline in one place. The weeks-plus-days breakdown is exactly how my clients think about how much time is left.

L
Leena Abraham
Wedding planner counting down across multiple client dates
March 29, 2026

Notice periods are quoted in calendar days but reviewed on working days, and this tool gives me both at once. The swap button is a small touch that saves me re-typing when I enter the end date first by habit.

T
Tomas Eriksen
HR coordinator computing notice and probation windows
February 16, 2026

Love using our calculator?

Related Tools

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Day Counter

Loading articles...