DAYS360 Function – Google Sheets

When using a 365-day daily interest rate computation, the interest rate is divided by 365 and multiplied by the principal for each day you calculate interest. When using a 360-day year method, the interest rate is divided by 360 and multiplied by the principal for each day outstanding. Effectively, this charges five more days of interest per year. The 360-day year method is disadvantageous for a borrower due to the higher cost.

Using a 6.5% $100,000 30 year mortgage as an example, a buyer would pay $129,361 in interest over the life of the loan using the 360-day method as opposed to paying $127,224. Accordingly, using the 360-day method creates $2,137 more interest expense.

Sheets has a built-in function for this called DAYS360. It only does part of the work for you as it returns the number of days in a period by counting each month as 30 days no matter how many days are in it. See example 3 below to see the nuances behind this.

Video Explanation

Video thumbnail
YouTube Video About the DAYS360 Function

Purpose

The DAYS360 function calculates the difference between two dates using the 360 day year often specified in financial contracts.

Syntax

=DAYS360(start date,end date,[method])

  • start date – The beginning date for the period of the calculation. Remember how dates and times work in Google Sheets when entering this value.
  • end date – The beginning date for the period of the calculation. Remember how dates and times work in Google Sheets when entering this value.
  • [method] – OPTIONAL. US method = 1, European Method = 2. The European method changes the day of the month from 31 to 30 if either of the dates occurs on the 31st.

Examples

Example 1 – Days in a Year

These are the same dates, with the difference between them calculated by two different formulas. The first is simple subtraction, and the second is the DAYS360 formula.

 AB
1Start dateEnd date
21/1/196012/31/1960
FormulaDescriptionResult
=B1-A1Regular number of calendar days between two dates365
=DAYS360(A1,B1)Number of days between two days using the 360-day method360

Example 2 – Effect on Interest Amounts

Following is a comparison of the amount of interest charged on a one-year loan using a 360-day year versus a 365-day year.

 ABFormulas in B
3Principal$100,000 
4Interest rate6.5% 
5Number of years1 
6Interest expense 365 method$6,500.00=B3*B4
7Interest expense 360 method$6,590.28=B3*((B4/(DAYS360(A2,B2))*365))
8$ Difference$90.28=B7-B6
9% Difference1.39%=B8/B6

Example 3 – Four Full Year Examples

The third example is on the second and third worksheets of the live Google Sheet. The second worksheet shows 365 examples of the function using December 31st as the start date and December 31st of the following year as the end date. It then shows the difference between the DAYS360 function and subtracts the two dates. On the same worksheet is the DAYS360 function using the non-US variant.

The following worksheet shows 365 examples of the function using January 1st as the start date and going through December 31st as the end date. It also shows the difference between the DAYS360 function and subtracts the two dates, then compares it to the non-US variant. Interestingly, starting on January 1st is the only example of the two that shows a difference between the international and US methods.

Live Examples in Sheets

Go to this spreadsheet for the examples of the DAYS360 function shown above that you can study and use anywhere you would like.

Leave a Comment