Days Per Year In Date Range Calculator
Split a date interval into yearly counts.
--
How Days Per Year In Date Range Calculator Works?
The Days per Year in Date Range Calculator works by splitting a date range at each December 31 and counting the days in each calendar year.
- 1
Enter the range
Pick a multi-year period, such as a contract or a residence period.
- 2
Split at year ends
The calculator cuts the range at each year boundary.
- 3
Count each year
Each year's share of days is counted, including leap days.
- 4
Read the breakdown
The result lists days per year that sum to the total.
Days Per Year In Date Range Calculator Formula
The Days per Year formula is Days in Year Y = min(End, Dec 31 Y) − max(Start, Jan 1 Y) + 1.
Days(Y) = min(End, Y-12-31) − max(Start, Y-01-01) + 1
- Y:
- Each year touched by the range
Example: A contract from Oct 1, 2026 to Mar 31, 2028 (inclusive) splits into 92 days in 2026, 365 in 2027 and 91 in 2028 (2028 includes February 29).
Days Per Year In Date Range Calculator Conversion Table
The table splits the range Jul 1, 2025 to Jun 30, 2028 (inclusive) by year.
| Year | From | To | Days | Share |
|---|---|---|---|---|
| 2025 | Jul 1, 2025 | Dec 31, 2025 | 184 | 16.8% |
| 2026 | Jan 1, 2026 | Dec 31, 2026 | 365 | 33.3% |
| 2027 | Jan 1, 2027 | Dec 31, 2027 | 365 | 33.3% |
| 2028 | Jan 1, 2028 | Jun 30, 2028 | 182 | 16.6% |
What is Days Per Year In Date Range Calculator?
A Days per Year in Date Range Calculator is a tool that shows how many days of a range fall in each calendar year.
Tax years, residency tests and annual budgets need days per year. A person present from October 2026 to March 2028 has a different day count in each tax year.
Leap years add 1 day to the year containing February 29 when that date falls inside the range.
What are the uses of Days Per Year In Date Range Calculator?
There are 5 main uses of the Days per Year in Date Range Calculator: tax residency, annual budgets, depreciation, insurance and grant reporting.
-
Tax residency
Expats count days present in each tax year.
-
Annual budgets
Finance teams split multi-year costs by year.
-
Depreciation
Accountants split partial-year depreciation.
-
Insurance
Insurers split premiums across policy years.
-
Grant reporting
Researchers report project days per year.
Related Calendar & Leap Years Tools
View All 141 Tools →Day Of Year Calculator
Find a date’s ordinal position within its year.
Day Of Year To Date Converter
Convert a year and ordinal day into a date.
Days In Month Calculator
Find the length of a selected month.
Days In Year Calculator
Find the length of a selected year.
Leap Year Checker
Check whether a Gregorian year is a leap year.
Leap Years Between Dates Calculator
List leap years within a selected interval.