Calculating Days Between Dates
Whether you're planning a project, counting down to an event, or working out rental periods, knowing how to calculate the days between two dates is incredibly useful. While it might seem straightforward, factors like leap years, different month lengths, and whether to include start/end dates can complicate matters.
This guide covers everything from basic calculations to handling working days and UK bank holidays.
Basic Date Calculation
The simplest way to calculate days between dates is to convert each date to a single number (days since a reference point) and subtract:
Days Between = End Date - Start Date
Example: 1st January to 31st March 2024
January: 31 days
February: 29 days (2024 is a leap year)
March: 30 days (up to 31st, not counting the 31st itself)
Total: 31 + 29 + 30 = 90 days
If including the end date: 91 days
Try Our Free Days Between Dates Calculator
Get instant results with our Days Between Dates Calculator. Also check our Date Calculator and Working Days Calculator.
Days in Each Month
A quick reference for days in each month:
| Month | Days | Cumulative (from Jan 1) |
|---|---|---|
| January | 31 | 31 |
| February | 28/29 | 59/60 |
| March | 31 | 90/91 |
| April | 30 | 120/121 |
| May | 31 | 151/152 |
| June | 30 | 181/182 |
| July | 31 | 212/213 |
| August | 31 | 243/244 |
| September | 30 | 273/274 |
| October | 31 | 304/305 |
| November | 30 | 334/335 |
| December | 31 | 365/366 |
First number is for normal years, second for leap years (after February)
Understanding Leap Years
Leap years add an extra day (29th February) and occur:
- Every 4 years (2024, 2028, 2032...)
- Except century years not divisible by 400
- So 2000 was a leap year, but 1900 was not
Leap Year = (year รท 4 = whole number) AND (year รท 100 โ whole number OR year รท 400 = whole number)
Recent and Upcoming Leap Years
2020, 2024, 2028, 2032, 2036, 2040...
Working Days vs Calendar Days
Working days (business days) exclude weekends and typically bank holidays:
| Calculation Type | Includes | Common Use |
|---|---|---|
| Calendar Days | All days | Age, rentals, countdowns |
| Working Days | Mon-Fri only | Delivery times, projects |
| Business Days | Mon-Fri minus holidays | Legal deadlines, contracts |
Quick Working Days Estimate
For a rough estimate: multiply the number of weeks by 5, then adjust for partial weeks.
Example: 4 weeks = 20 working days (before accounting for bank holidays)
UK Bank Holidays 2024-2025
When calculating business days, you'll need to account for these bank holidays:
England and Wales 2024
| Holiday | 2024 Date | 2025 Date |
|---|---|---|
| New Year's Day | 1 January | 1 January |
| Good Friday | 29 March | 18 April |
| Easter Monday | 1 April | 21 April |
| Early May Bank Holiday | 6 May | 5 May |
| Spring Bank Holiday | 27 May | 26 May |
| Summer Bank Holiday | 26 August | 25 August |
| Christmas Day | 25 December | 25 December |
| Boxing Day | 26 December | 26 December |
Practical Examples
Example 1: Holiday Countdown
Question: How many days from 15th June 2024 to 20th August 2024?
Calculation:
- Rest of June: 30 - 15 = 15 days
- July: 31 days
- August 1-20: 20 days
Answer: 15 + 31 + 20 = 66 days
Example 2: Project Deadline (Working Days)
Question: You have 15 working days starting Monday 4th March 2024. When is the deadline?
Calculation:
- Week 1 (4-8 March): 5 working days
- Week 2 (11-15 March): 5 working days
- Week 3 (18-22 March): 5 working days
Answer: Friday 22nd March 2024
Example 3: Rental Period
Question: Rent from 1st September to 30th November. How many days?
Calculation:
- September: 30 days
- October: 31 days
- November: 30 days
Answer: 91 days (including move-out day)
Example 4: Age Calculation
Question: Someone born 15th July 1990. How old in days on 15th July 2024?
Calculation:
- Years: 34 years
- Days per year: 365.25 (accounting for leap years)
- Leap years 1990-2024: 9 (1992, 1996, 2000, 2004, 2008, 2012, 2016, 2020, 2024)
- Exact: (34 ร 365) + 9 = 12,419 days
Answer: 12,419 days old on their 34th birthday
Working Days in a Year
Typical working days in a UK year:
| Calculation | Days |
|---|---|
| Total days in year | 365 (366 leap year) |
| Minus weekend days | -104 |
| Minus bank holidays | -8 |
| Working days | 253 (254) |
| Minus average annual leave (28 days) | -28 |
| Days actually worked | 225 (226) |
Common Timeframes
| Period | Calendar Days | Approx Working Days |
|---|---|---|
| 1 week | 7 | 5 |
| 2 weeks (fortnight) | 14 | 10 |
| 1 month (average) | 30.44 | 22 |
| 3 months (quarter) | 91-92 | 65 |
| 6 months | 182-184 | 130 |
| 1 year | 365-366 | 253-254 |
Legal and Contract Considerations
Notice Periods
When calculating notice periods, check whether the contract specifies:
- Calendar days: Includes all days
- Working days: Usually Monday-Friday
- Clear days: Excludes both the day of notice and the end date
UK Legal Deadlines
Cooling-Off Periods
Consumer contracts often have cooling-off periods measured in calendar days:
- Online purchases: 14 days from receipt
- Doorstep sales: 14 days from agreement
- Financial products: varies (often 14-30 days)
Tips for Accurate Calculations
- Clarify inclusion: Determine whether to include start date, end date, or both
- Account for leap years: February has 29 days in leap years
- Check bank holidays: When counting working days, remember to exclude them
- Use tools: For complex calculations, use a calculator rather than manual counting
- Verify important dates: Double-check critical deadlines manually
- Consider time zones: For international dates, be aware of date changes at midnight
Frequently Asked Questions
How do I calculate the number of days between two dates?
Subtract the earlier date from the later date to get the difference in days. Account for leap years (every 4 years, except century years not divisible by 400). Our calculator handles this automatically, including edge cases.
What is the difference between calendar days and working days?
Calendar days include all days (weekends and holidays). Working days (business days) typically exclude weekends and may also exclude bank holidays. In the UK, there are 8 standard bank holidays in England and Wales.
How many working days are in a year UK?
A typical UK year has approximately 252 working days (365 days minus 104 weekend days and 8 bank holidays, plus any variations). Leap years have 253 working days. The exact number depends on how bank holidays fall.
Do I count the start date or end date?
It depends on the context. For age or duration calculations, typically don't count the start date. For project timelines, you usually include both dates. Legal and contractual deadlines vary โ always check the specific requirements.
How do I calculate someone's age in days?
Calculate the total days from birth date to today, accounting for leap years. Each complete year is 365 days, plus one extra day for each leap year the person has lived through.
Calculate dates quickly and accurately
Try Our Free Date Calculator โImportant UK Date Calculations and Legal Timeframes
Understanding how to calculate days between dates is particularly important in the United Kingdom due to numerous legal, financial, and employment-related deadlines governed by specific timeframes. British employment law, for instance, requires employers to provide a minimum notice period based on length of service: one week for each year of continuous employment, up to a maximum of 12 weeks. Knowing the exact number of days between your start date and a potential leaving date is essential for calculating your entitlement correctly.
UK tenancy law also relies heavily on date calculations. Under the Housing Act 1988, landlords in England must give at least two months' notice (using a Section 21 notice) to end an assured shorthold tenancy, though proposed reforms under the Renters' Reform Bill may change these requirements. In Scotland, the notice period varies from 28 days to 84 days depending on the length of the tenancy. Miscalculating these periods can invalidate a notice entirely, leading to costly legal disputes and delays.
Tax return deadlines in the UK follow a strict calendar. The Self Assessment tax return for the year ending 5 April must be filed online by the following 31 January, giving taxpayers approximately 10 months to prepare. Late filing incurs an immediate 100-pound penalty from HMRC, with additional daily penalties of 10 pounds per day (up to 900 pounds) if the return is more than three months late. Understanding exactly how many days remain until your deadline can help you avoid these penalties and plan your finances accordingly.
Consumer rights in the UK also involve specific day-count rules. Under the Consumer Rights Act 2015, you have 30 days from the date of purchase to return faulty goods for a full refund. After 30 days but within six months, the retailer must be given one opportunity to repair or replace the item. The Consumer Contracts Regulations 2013 provide a 14-day cooling-off period for most online purchases, counted from the day after you receive the goods. Accurately counting these days protects your statutory rights as a UK consumer.