I'm a marketer in Taiwan, and counting days between dates is one of those small jobs that shows up everywhere in my week. How long does this campaign run? How many days are left on the contract? When does the project need to ship? And the one that actually costs money: how much ad budget can I spend per day?
None of these are hard. But they're easy to get wrong by one day, and the most annoying part is never the total. It's the working days.
The quick answer
To count the days between two dates, subtract the start date from the end date:
- Days elapsed (start day not counted): November 1 to November 30 = 29 days
- Inclusive (both days counted): November 1 to November 30 = 30 days
If you don't want to think about it, open the Days Between Dates calculator, pick your dates, and choose whether to count the start day. It shows total days, working days and days off together.
Count the start day or not?
This is where most mistakes happen. Both answers are "correct"; they just measure different things.
| You're counting | Count the start day? | Example: Nov 1 → Nov 30 |
|---|---|---|
| Time elapsed, "how many days ago" | No | 29 days |
| A deadline, "due in X days" | No | 29 days |
| A campaign or promotion that runs on both dates | Yes | 30 days |
| A contract, lease or rental period | Usually yes | 30 days |
| Days of leave or a trip | Yes | 30 days |
A simple test: if something is happening on both the first and last day (your ads are live, your sale is on, you're out of office), count both ends.
Why it matters for ad budgets
This is the case where being off by one day actually costs money.
Say you have $3,000 for a campaign running November 1 to November 30. The campaign is live on both dates, so it's 30 days:
- $3,000 ÷ 30 = $100 per day ✅
- If you divide by 29 instead, you get $103.45 per day, and you'll overspend by about $103 by the end of the month.
On a longer or bigger campaign, that one-day mistake grows fast. I always check the inclusive count before setting a daily budget.
Working days: the part that takes the most time
Total days are easy. Working days are where I used to lose time. You have to skip weekends, then remember which public holidays fall inside the period, then remember whether the holiday has a substitute day off. For project timelines and "10 working days from now" deadlines, this is the number that matters.
In Excel or Google Sheets
| What you want | Formula |
|---|---|
| Days elapsed | =B1-A1 |
| Days, both ends counted | =B1-A1+1 |
| Working days (Mon–Fri) | =NETWORKDAYS(A1, B1) |
| Working days minus holidays | =NETWORKDAYS(A1, B1, H1:H20) |
| Different weekend days | =NETWORKDAYS.INTL(A1, B1, 1, H1:H20) |
A few things that tripped me up:
NETWORKDAYSincludes both the start and end date. Simple subtraction doesn't. Mixing the two in one sheet is a classic off-by-one bug.- The holiday list is on you. Excel doesn't know your country's public holidays, so you have to type them into a range and keep it updated every year.
- If a cell shows a date instead of a number, change the cell format to Number.
With the calculator
The formulas work, but every time I needed one I had to stop and remember which function and which arguments. So the Days Between Dates calculator does it in one place:
- Pick Days between dates and set the start and end date.
- Choose whether to count the start day.
- Read total days, working days and days off. The public holidays in that period are listed underneath, and Copy result puts it all in your clipboard for a message or report.
There's also a Count from a date mode for questions like "what date is 30 days from today?" or "when is 10 working days from Monday?"
Common date questions at work
- "Net 30" payment terms: usually 30 days counted from the invoice date, not including the invoice date itself. Count forward 30 days from the invoice date.
- Contract length: a contract from January 1 to December 31 covers 365 days when both ends count. Check the wording in your contract; "from" and "until" can be read differently.
- Countdown to a launch: use days elapsed (start day not counted). If you want a live countdown on screen, try the countdown timer.
- Campaign planning: once you know the dates, lay them out on a Gantt chart so the team can see what overlaps.
FAQ
How do I calculate the number of days between two dates?
Subtract the earlier date from the later one. In Excel or Google Sheets, =B1-A1 gives the days elapsed. If you want to count both the start and end day, add 1: =B1-A1+1.
Should I count the start date?
It depends on what you're measuring. Time elapsed and deadlines usually don't count the start day (Nov 1 to Nov 30 is 29 days). Campaigns, contracts and leave usually count both ends (the same dates are 30 days).
How do I count working days between two dates in Excel?
Use =NETWORKDAYS(start, end, holidays). It counts Monday to Friday, includes both the start and end date, and skips any dates you list in the holidays range.
Does the MarkUp calculator include public holidays?
Yes, but they're Taiwan's public holidays for 2026 and 2027. Total days work for any country. If you're outside Taiwan, use the working-day count as a weekday guide and adjust for your own holidays.