# Rate (FV)

| **Name**    | ***Rate (FV)***                                                                                                   |
| ----------- | ----------------------------------------------------------------------------------------------------------------- |
| Syntax      | Rate (Real numPeriods, Real Pmt, Real PV, Real FV)                                                                |
| Purpose     | To return the interest rate per period for an annuity.                                                            |
| Description | Returns the interest rate per period for an annuity. Also considers the Future Value.                             |
| Return Type | Double                                                                                                            |
| Parameters  | <p>numPeriods \[System.Double]</p><p>Pmt \[System.Double]</p><p>PV \[System.Double]</p><p>FV \[System.Double]</p> |

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2F8XWiE7U3U7Und1ineMd4%2F0.png?alt=media)

### **Example**

In this example, we will be passing the required parameters to the function transformation object using a *Variables* object.

Where,

*numPeriods* = 5

*Pmt ­*= 10

*PV* = 3500

*FV* = 5000

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FIlWSLNIQiiLdv74XIEwA%2F1.png?alt=media)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera Data Stack has applied the Rate function, and returned the Interest rate value, while also considering the future value.

![](https://3083465318-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsR50Wa7EwZGlmPSAMkkf%2Fuploads%2FN1nCHCHYxejvWcum00f9%2F2.png?alt=media)
