Date Difference in Weeks
Find full & partial weeks between any two dates
Why Counting Weeks Between Dates Is Harder Than It Looks (And How to Do It Right)
You would think subtracting two dates and dividing by seven would be enough. In practice, teams argue about whether the last day counts, whether weekends break the streak, and whether "three weeks" means 21 days or three calendar-week blocks starting on Monday. If you have ever billed a client for "four weeks of work" and then argued over a two-day discrepancy, you already know the problem. Here is a practical breakdown of every scenario that trips people up, and how to handle each one.
1. The End-Date Inclusion Problem Is the Most Common Source of Errors
When you say "from June 1 to June 7," do you mean six days or seven? The answer depends entirely on whether you include the endpoint. Software engineers call this the "off-by-one" error, and it appears everywhere: billing systems, payroll software, and agile sprint tools all make different choices.
The safe rule: for duration (how long something takes), include both endpoints. For intervals (how far apart two events are), exclude the end date. A sprint that starts on Monday June 2 and ends on Friday June 13 is exactly two work weeks of duration, but only 11 days of interval. Always agree on the rule with your team or client before you calculate anything.
2. Full Weeks vs. Partial Weeks β Two Very Different Numbers for Billing
A 17-day engagement contains two full 7-day weeks and three leftover days. Whether you bill for "two weeks" or "three weeks" can be a meaningful difference. Freelancers typically round partial weeks up when writing invoices, while subscription software often rounds down (you paid for a full week, you did not complete it). Knowing both numbers β the floor (full weeks only) and the ceiling (partial weeks included) β lets you make the right call for your context.
For sprint planning specifically, the partial-week count is usually the one you want. If you have 17 days to ship a feature and your sprints are one week long, you need to plan for three sprints: two full ones and one abbreviated closure sprint. Planning for only two will guarantee a missed deadline.
3. Work-Week Counting (5-Day Weeks) Changes Everything
A 14-calendar-day range always contains exactly two 7-day weeks. But it contains only ten working days, or two 5-day work weeks β assuming no holidays. If your team ships on a Monday-to-Friday cadence, calendar weeks are almost irrelevant. What matters is how many working days fit between the kickoff and the deadline.
The practical impact: a client who asks for "four weeks of development work" typically means 20 working days, not 28 calendar days. If the project spans a long holiday weekend, those calendar days are still there but the working days are not. Always clarify which week definition you are using in any contract or scope-of-work document.
4. Why Billing Cycles Love the Decimal Week Format
Saying a project lasted "3.71 weeks" sounds odd in conversation but is extremely useful in spreadsheets. Multiply the decimal week count by your weekly rate and you get the exact invoice amount without any rounding debates. A 26-day project at a $2,000/week rate is 3.71 weeks Γ $2,000 = $7,428.57 β a precise figure that is defensible to any client who reviews your math.
Many freelancers and agencies have moved to decimal-week billing precisely because it eliminates the "do I round up or down" argument entirely. The number is what it is, and both parties can verify it independently.
5. Sprint Cadences: The 2-Week Sprint Math Most Teams Get Wrong
Two-week sprints are the most common agile cadence, but teams frequently miscount how many sprints fit in a quarter or a project phase. A standard quarter is 13 weeks, which is exactly 6.5 two-week sprints. That means you get six full sprints and one abbreviated sprint β enough for six real delivery cycles if you treat the last week as a hardening or release period.
Where teams go wrong is starting their sprint count on an arbitrary date mid-week and then discovering the sprint boundary lands mid-week at the deadline. Calculate your sprint count before you set dates, not after. If you need a round number of sprints, work backwards from the deadline to set your start date.
6. Deadline Planning: Count Backwards in Weeks, Not Forwards in Days
When you know your deadline, the most effective planning approach is to count backwards in week blocks rather than forward in days. If your product launch is August 15 and today is June 23, you have roughly seven weeks and five days. That translates to seven complete weekly milestones with a short buffer period at the end β or eight milestones if you use the partial week.
Working backwards this way forces you to assign one major deliverable per week slot, which is far more concrete than saying "we have 54 days." Fifty-four days feels abstract. Seven weekly deliverable slots feels actionable.
7. The Holiday Problem and Why Pure Week Math Always Needs a Sanity Check
No automatic week calculator knows about local bank holidays, company-specific closures, or the fact that your client's team goes dark during the last two weeks of August. A raw "12 weeks between these dates" figure is accurate mathematically, but could represent as few as nine or ten working weeks in practice.
The best workflow: calculate the week count with a tool, then subtract your known holiday blocks manually. Build a simple list: total weeks minus holiday weeks equals effective working weeks. Write this down in your project plan so everyone sees the same number.
8. Why the "Weeks Since" Calculation Matters for Recurring Billing
Subscription and retainer billing often requires knowing how many weeks have elapsed since a service started. This is not the same as how many weeks are in a contract period. A client who signed up 43 days ago has been a customer for 6 full weeks and 1 day β which may or may not trigger the next billing cycle depending on whether you bill on the 7th day or the 8th.
This is where the remainder days (the days left over after the full weeks) become critical. A billing system that ignores remainder days will drift over a year-long contract, sometimes by an entire extra billing cycle. Always track full weeks and remainder days separately in any recurring billing context.
9. Communicating Week Ranges to Clients: Be Specific or Expect Disputes
When you tell a client a project will take "six weeks," state the exact start and end dates in the same sentence. "Six weeks, from July 7 through August 15 inclusive" is a contract-quality statement. "Six weeks" alone is not. This one habit eliminates almost all timeline disputes before they happen.
Also specify whether you mean calendar weeks or working weeks. A client who hears "six weeks" and counts 30 working days will feel shortchanged if you only deliver 30 calendar days of elapsed time (which contains fewer than 22 working days if weekends are excluded).
Putting It All Together
Weeks are deceptively simple units. Everyone understands what a week is, but the edge cases β which day to start, whether to include the end date, whether weekends count, what to do with the remainder β create enough ambiguity to derail a project timeline or billing dispute. The right tool gives you all four key numbers at once: full weeks, remainder days, partial-week ceiling, and the decimal representation. With those four figures in hand, you can communicate deadlines, calculate invoices, and plan sprint cadences with precision that leaves no room for misunderstanding.