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.
Result
0 days
0 weeks + 0 days · 0 business days · 0 weekend days
Saturday, May 30, 2026 → Saturday, May 30, 2026
Quick Spans From Today
Set the end date relative to today with one tap.
Days → Weeks & Business Days
| Total days | Weeks + days | Business days (Mon–Fri) |
|---|---|---|
| 1 | 0w 1d | ≈ 1 |
| 7 | 1w 0d | ≈ 5 |
| 14 | 2w 0d | ≈ 10 |
| 21 | 3w 0d | ≈ 15 |
| 30 | 4w 2d | ≈ 21 |
| 45 | 6w 3d | ≈ 32 |
| 60 | 8w 4d | ≈ 43 |
| 90 | 12w 6d | ≈ 64 |
| 180 | 25w 5d | ≈ 129 |
| 365 | 52w 1d | ≈ 261 |
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 spanWorked: 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
| Convention | Counts | Used for |
|---|---|---|
| Exclusive | end − start (gap) | Hotel nights, full intervals |
| Inclusive | end − start + 1 | Calendar days, many contracts |
| Business days | Mon–Fri only | Sprints, notice, SLAs |
| Calendar weeks | total ÷ 7 | Pregnancy, 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
- Enter the start date — it defaults to today — in the green-bordered input.
- 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.
- Read the calendar strip: the green and amber cells mark the endpoints and every day between is shaded, with weekends in a darker tone.
- Choose inclusive or exclusive counting to match your convention — nights versus calendar days — and read the total, weeks-plus-days, and business-day cards.
- 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.
Trusted by planners, contractors, and HR teams
“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.”
“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.”
“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.”
“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.”
Love using our calculator?
Related Tools
Related Articles
Dive deeper with our expert guides and tutorials related to Day Counter