Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

XL: How to Compute the Periodic Annual Interest Rate in Microsoft Excel


View products that this article applies to.

This article was previously published under Q110854
For a Microsoft Excel 98 version of this article, see 192376 (http://support.microsoft.com/kb/192376/EN-US/ ) .

↑ Back to the top


Summary

The RATE() function in Microsoft Excel returns the periodic interest rate necessary for an investment to grow to a specific value over a specified number of compounding periods. However, the RATE() function assumes a known periodic payment amount. If the payment amount per period is not known, you can still use the RATE() function, but you must modify it slightly.

You must use a manually entered formula to determine the annualized interest rate for an investment with more than one compounding period per year. You can also use a custom function to make this calculation easier.

↑ Back to the top


More information

To use the RATE() function in Microsoft Excel when the payment per period is not known, you must enter the number of compounding periods, the present value as a negative number, and the future value.

For example, an initial investment of $1,000, that has grown to $2,000 when compounded quarterly over six years would return 2.93% per quarter when entered as follows:
=RATE(24,,-1000,2000)
To determine the annualized interest rate for an investment, use the following formula
=((FV/PV)^(1/N)^M)-1
where FV is the future value of an investment, PV is the initial investment, N is the total number of compounding periods, and M is the number of compounding periods per year.

The following formula, when used with the numbers from the previous example, will return 12.2462% per year:
=((2000/1000)^(1/24)^4)-1

Creating a Visual Basic Function

Microsoft provides programming examples for illustration only, without warranty either expressed or implied. This includes, but is not limited to, the implied warranties of merchantability or fitness for a particular purpose. This article assumes that you are familiar with the programming language that is being demonstrated and with the tools that are used to create and to debug procedures. Microsoft support engineers can help explain the functionality of a particular procedure, but they will not modify these examples to provide added functionality or construct procedures to meet your specific requirements. To create this function in Microsoft Visual Basic for Applications, follow these steps:
  1. Start Microsoft Excel and press ALT+F11 to start the Visual Basic Editor.
  2. On the Insert menu, click Module.
  3. In the module sheet, type the following function:
    Function Yearly_Rate(FV, PV, N, M) As Double     'Defines variables.
        Yearly_Rate = ((FV / PV) ^ (1 / N)^M) - 1    'Performs computation.
    End Function                                     'Ends function.
    					
  4. Press ALT+Q to return to Excel.

Using the Function

To use the custom function, follow these steps:
  1. Type the following values in a worksheet:
       A1:   20000
       A2:   10000
       A3:      72
       A4:      12
    					
  2. In any blank cell, type the following formula:
    =Yearly_Rate(A1,A2,A3,A4)
The annual interest rate is returned as .122462 (12.2462%).

↑ Back to the top


References

For more information about the RATE worksheet function, click Microsoft Excel Help on the Help menu, type rate worksheet function in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB110854, kbualink97, kbmigrate, kbinfo

↑ Back to the top

Article Info
Article ID : 110854
Revision : 5
Created on : 1/18/2007
Published on : 1/18/2007
Exists online : False
Views : 531