How to Calculate Days Between Dates
Counting days between two dates sounds trivial — subtract one from the other. But in practice, the right answer depends heavily on why you are counting. A Schengen visa officer, a contract lawyer, and an HR manager will all calculate the same date range differently, and all of them will be correct for their context.
This guide covers the cases where a simple subtraction is not enough. Use our Duration Between Dates Calculator to get precise results instantly.
When "90 Days" Is Not What You Think
The Schengen Visa 90/180 Rule
The Schengen Area allows most non-EU visitors a maximum of 90 days within any rolling 180-day window. The key word is "rolling." This is not a fixed semester starting January 1 — it means that for every single day you are in the Schengen zone, the rule looks back at the previous 180 days and counts your presence.
Example: if you spent 60 days in Europe in February–March, then returned in August, the earlier days are still being counted in the rolling window. You cannot simply wait until July 1 and assume you have a fresh 90 days. Overstaying results in fines, entry bans, and complications with future visa applications. Count precisely — use a calculator.
Legal Deadlines: When Days Are Counted in Court
In law, the counting of days is often defined by statute or procedural rules, and the difference of a single day can mean a missed deadline that cannot be recovered.
- Limitation periods: Many jurisdictions give you exactly 2 or 3 years from the date of an incident to file a claim. The clock starts the day after the triggering event, and the last valid day is typically the anniversary date itself.
- Contract notice periods: A lease requiring "30 days written notice" usually means 30 calendar days from the date the notice is received — not sent. Count carefully.
- Court response deadlines: Procedural rules often say "within 21 days of service." Whether the day of service counts as day 0 or day 1 depends on the jurisdiction. When in doubt, count from the next day and respond early.
Calendar Days vs Business Days
HR contracts, SLAs, and delivery estimates frequently specify deadlines in business days. A 10 business-day response window is very different from a 10 calendar-day window, especially if it spans a weekend or a public holiday cluster.
| Starts | 10 calendar days ends | 10 business days ends |
|---|---|---|
| Monday | Thursday (next week) | Friday (next week) |
| Thursday | Sunday (next week) | Thursday (following week) — spans two weekends |
If a contract says "net 30 business days," that can be up to 42–44 calendar days depending on how many weekends fall within that window. Always clarify the type in any agreement.
Financial Quarters and Month-End Calculations
A fiscal quarter is roughly 90 days, but not exactly — Q1 (Jan–Mar) has 90 days in non-leap years and 91 days in leap years. Q2 (Apr–Jun) always has 91 days. This matters for interest calculations, bond coupons, and prorated fees where the exact day count affects the payment.
- Q1 (Jan 1 – Mar 31): 90 days (91 in leap years)
- Q2 (Apr 1 – Jun 30): 91 days
- Q3 (Jul 1 – Sep 30): 92 days
- Q4 (Oct 1 – Dec 31): 92 days
Pregnancy Duration: Why 40 Weeks Doesn't Mean What It Sounds Like
A standard pregnancy is described as 40 weeks, which equals 280 days. However, those 40 weeks are counted from the last menstrual period (LMP), not from conception. Actual fertilization typically occurs about 2 weeks into that 40-week count. So "40 weeks pregnant" means roughly 38 weeks of actual fetal development — a distinction that matters when calculating due dates from conception rather than LMP.
Leap Year Edge Cases
People born on February 29 age "officially" only once every 4 years — but legally and practically, most jurisdictions treat March 1 as their birthday in non-leap years. This is relevant for:
- Driving license eligibility: turns 18 on Feb 29? Most DMVs recognize Mar 1 in non-leap years.
- Contract anniversary dates: a lease signed Feb 29 renews Mar 1 in non-leap years.
- Age calculations in software: naive
today - birthdatelogic fails on leap-day birthdays in non-leap years.
Calculate Precisely
For any of these scenarios, manual counting across months is slow and error-prone. Our Duration Between Dates Calculator handles leap years automatically, shows both calendar and business day counts, and gives results in years, months, days, hours, minutes, and seconds — instantly.
Frequently Asked Questions
Do you count the start day or end day when calculating days between dates?
It depends on the context. For most calendar calculations (age, time elapsed), you count the end day but not the start day — Jan 1 to Jan 3 is 2 days. For legal periods and deadlines, always read the specific rule: some laws say 'within 30 days' meaning the 30th day is still valid, while others say 'before 30 days have elapsed' meaning day 29 is the last valid day.
What is the difference between calendar days and business days?
Calendar days count every day including weekends and public holidays. Business days (also called working days) count only Monday–Friday, excluding public holidays. A 10 calendar-day window that starts on a Thursday contains only 6 business days. Always clarify which type is intended in contracts, SLAs, and legal documents.
How do leap years affect date calculations?
Leap years add one extra day (Feb 29) every 4 years, with exceptions for century years not divisible by 400. This means some year-long periods have 365 days and others have 366. For precise calculations across year boundaries — especially in finance and law — always use a date calculator rather than multiplying 365 × years.
How is the Schengen 90/180 rule calculated?
The Schengen rule allows a maximum of 90 days within any rolling 180-day window — not a fixed 6-month period. For each day you are in the Schengen Area, the rule looks back at the previous 180 days and counts your days of presence. The calculation must be done precisely because overstaying can result in bans and fines.