Year Fraction Calculator
Calculate the decimal fraction of a year between two dates for financial calculations. Enter values for instant results with step-by-step formulas.
Reviewed for accuracy by Abdullah, Technical Content Specialist
Year Fraction Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Year Fraction = Day Count / Year Basis
Worked example โ Year fractions range from 0.50000 (30/360) to 0.51111 (Actual/360)
Formula
Year Fraction = Day Count / Year Basis
The year fraction is the ratio of days in the period to the number of days in a year, but both values depend on the convention. Actual methods count real calendar days. The 30/360 methods assume 30-day months and 360-day years. The denominator can be 360, 365, 366, or a weighted combination for Actual/Actual.
Worked Examples
Example 1: Bond Accrued Interest Calculation
Problem:Calculate the year fraction from March 15, 2024 to September 15, 2024 using all major conventions.
Solution:Actual days: March(16) + April(30) + May(31) + June(30) + July(31) + Aug(31) + Sep(15) = 184 days Actual/365: 184/365 = 0.50411 Actual/360: 184/360 = 0.51111 Actual/Actual: 184/366 = 0.50273 (2024 is a leap year) 30/360: [(2024-2024)*360 + (9-3)*30 + (15-15)] / 360 = 180/360 = 0.50000 30E/360: Same as 30/360 here = 180/360 = 0.50000
Result:Year fractions range from 0.50000 (30/360) to 0.51111 (Actual/360)
Example 2: Loan Interest Over Partial Year
Problem:A $500,000 loan at 6% annual rate accrues interest from January 10, 2025 to April 10, 2025. Calculate interest using Actual/360.
Solution:Actual days: Jan(21) + Feb(28) + Mar(31) + Apr(10) = 90 days Year fraction (Actual/360): 90/360 = 0.25000 Interest = $500,000 x 0.06 x 0.25000 = $7,500.00 Compare with Actual/365: 90/365 = 0.24658 Interest (Actual/365) = $500,000 x 0.06 x 0.24658 = $7,397.26 Difference: $102.74 more with Actual/360
Result:Interest: $7,500 (Actual/360) vs $7,397.26 (Actual/365) โ $102.74 difference
Frequently Asked Questions
What is a year fraction and why is it important in finance?
A year fraction, also called a day count fraction or accrual factor, represents the portion of a year between two dates expressed as a decimal number. It is fundamental to financial calculations because interest, bond pricing, swap valuations, and many other financial instruments require precise measurement of time periods as a fraction of a year. For example, if you need to calculate the interest accrued on a bond over 90 days, you need to express 90 days as a fraction of a year. Different conventions can produce different fractions for the same date range, which directly affects the dollar amount of interest calculated. Even small differences in year fractions can result in significant monetary differences when applied to large principal amounts.
What is the Actual/365 day count convention?
The Actual/365 convention, also called Actual/365 Fixed, calculates the year fraction by dividing the actual number of calendar days between two dates by 365, regardless of whether a leap year is involved. This means the denominator is always 365, even when the period spans a February 29 in a leap year. This convention is commonly used for money market instruments in the United Kingdom, Canada, Australia, and New Zealand. It is also used for some types of interest rate swaps. The simplicity of having a fixed denominator makes calculations straightforward, but it slightly overstates the year fraction for periods that include leap year days compared to the Actual/Actual method.
How does the Actual/360 convention differ from Actual/365?
The Actual/360 convention divides the actual number of calendar days by 360 instead of 365. This seemingly small change has significant financial implications because dividing by 360 produces a larger year fraction for the same number of days, resulting in more interest accrued. For example, 30 actual days equals 0.08333 of a year under Actual/360 but only 0.08219 under Actual/365. Over a full 365-day year, Actual/360 produces a fraction of 1.01389, meaning borrowers effectively pay about 1.4 percent more interest than the stated annual rate. This convention is widely used for US money market instruments, US Treasury bills, and many commercial loans. Banks particularly favor it because it generates slightly more interest income.
What is the Actual/Actual ISDA day count convention?
The Actual/Actual ISDA convention is considered the most precise day count method because it accounts for the actual number of days in each year that the period spans. It splits the date range into portions falling within leap years and non-leap years. Days falling in a leap year are divided by 366, while days in a non-leap year are divided by 365. The results are then summed to produce the total year fraction. For example, a period from December 1, 2023 to March 1, 2024 would have 31 days in 2023 divided by 365 plus 60 days in 2024 divided by 366. This convention is used by the International Swaps and Derivatives Association for interest rate swaps and is considered the gold standard for accuracy.
How does the 30/360 Bond Basis convention work?
The 30/360 convention, also called Bond Basis or US 30/360, assumes that every month has exactly 30 days and every year has exactly 360 days. The day count between two dates is calculated as: (Y2-Y1) times 360 plus (M2-M1) times 30 plus (D2-D1), with special rules for end-of-month dates. Specifically, if the start day is 31, it is changed to 30, and if the end day is 31 and the start day is 30 or 31, the end day is also changed to 30. This convention simplifies calculations and is widely used for US corporate bonds, US agency bonds, and many municipal bonds. It produces predictable interest payments because each monthly period generates exactly 1/12 of the annual interest regardless of the actual number of days in the month.
Which day count convention should I use for my calculation?
The appropriate day count convention depends on the financial instrument and market you are working with. For US Treasury bonds, use Actual/Actual. For US corporate and municipal bonds, use 30/360 (US). For Eurobonds, use 30E/360. For US money market instruments and Treasury bills, use Actual/360. For UK and Commonwealth money market instruments, use Actual/365. For interest rate swaps governed by ISDA documentation, use Actual/Actual ISDA or Actual/360 depending on the currency. The convention is typically specified in the bond prospectus, loan agreement, or ISDA confirmation document. Using the wrong convention can lead to incorrect interest calculations, so always verify which convention applies to your specific instrument.
How do year fractions affect accrued interest calculations?
Accrued interest is calculated by multiplying the annual coupon rate by the face value and the year fraction for the accrual period. The formula is: Accrued Interest = Face Value times Coupon Rate times Year Fraction. Different day count conventions produce different year fractions, which directly impact the accrued interest amount. For a bond with a $1,000,000 face value and 5 percent annual coupon, a one-day difference in the year fraction at the fifth decimal place changes the accrued interest by about $50. Over a six-month coupon period, the difference between Actual/365 and 30/360 can be several hundred dollars on a million-dollar position. This is why institutional investors and traders are meticulous about using the correct convention for each security.
What are the implications of year fractions for loan interest calculations?
Year fractions have direct monetary implications for loan interest calculations because they determine exactly how much interest accrues over any given period. Most commercial loans in the US use the Actual/360 convention, which means borrowers pay interest on 365 actual days but the daily rate is calculated by dividing the annual rate by only 360. This effectively increases the true annual cost of borrowing by about 1.39 percent above the stated rate. For a $10 million loan at 6 percent using Actual/360, the annual interest would be approximately $60,833 instead of $60,000 under Actual/365. Over the life of a large loan, this difference can amount to tens of thousands of dollars. Borrowers should always verify which convention their lender uses.
How do leap years create complexity in year fraction calculations?
Leap years create complexity because the actual length of a year varies between 365 and 366 days, and a date range may span one or more leap year boundaries. The Actual/365 Fixed convention ignores this variation by always using 365, which means February 29 is counted as a day but the denominator does not change. The Actual/360 convention also ignores it. The Actual/Actual convention explicitly handles it by separating days into leap year and non-leap year portions. The 30/360 conventions sidestep the issue entirely by using a synthetic 360-day year. For a period spanning from January 1, 2024 to January 1, 2025 (a leap year), Actual/365 gives 366/365 = 1.00274, Actual/Actual gives 366/366 = 1.00000, and 30/360 gives 360/360 = 1.00000. These differences demonstrate why convention selection matters.
How do leap years work and why do we have them?
A year is a leap year if divisible by 4, except century years must also be divisible by 400. So 2000 was a leap year but 1900 was not. Leap years add February 29 to correct for the fact that Earth's orbit takes approximately 365.2422 days, not exactly 365.
References
Background & Theory
History
Reviewed for accuracy by Abdullah, Technical Content Specialist ยท Editorial policy
Related Calculators
๐งฎChinese New Year Date Calculator
Find the date of Chinese New Year for any year based on the lunar calendar.
๐งฎLeap Year Calculator
Check if any year is a leap year and list all leap years in a given range.
๐งฎDays Until New Year Calculator
Count down the days and hours remaining until January 1st of the next year.
๐งฎDate to Day Number Calculator
Convert any date to its ordinal day number within the year (1-366).
๐งฎEaster Date Calculator
Find the date of Easter Sunday for any year using the computus algorithm.
๐งฎThanksgiving Date Calculator
Find the date of Thanksgiving for any year in US and Canadian calendars.
๐งฎRamadan Date Calculator
Find the estimated start date of Ramadan for any year based on the Islamic lunar calendar.
๐งฎDaylight Saving Time Calculator
Find when DST begins and ends for any year and location with clock change reminders.