Calendar & Leap Years

Days Per Year In Date Range Calculator

Split a date interval into yearly counts.

--
days

--

Business Days
0
Weekend Days
0
Weeks
0.0
Total Hours
0 h

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. 1

    Enter the range

    Pick a multi-year period, such as a contract or a residence period.

  2. 2

    Split at year ends

    The calculator cuts the range at each year boundary.

  3. 3

    Count each year

    Each year's share of days is counted, including leap days.

  4. 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.

YearFromToDaysShare
2025Jul 1, 2025Dec 31, 202518416.8%
2026Jan 1, 2026Dec 31, 202636533.3%
2027Jan 1, 2027Dec 31, 202736533.3%
2028Jan 1, 2028Jun 30, 202818216.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 →