# Calculate APY in TronSave

## Formula to calculate APY in TronSave

$$
APR\_{tronsave} = (AP*FR)/1000000*PS\*365
$$

* **AP** (**A**verage **P**rice): average price of 200 nearest matched order (*SUN*)
* **FR** (**F**reeze **R**ate): freeze rate in the Tron Network. Check current freeze rate [here](https://tronstation.io/calculator) (*SUN per a staked TRX*)
* **1000000**: Sun per one TRX *(SUN)*
* **PS** (**P**rofit **S**hare): profit share of provider in TronSave. **PS**=0,75

$$
APY\_{total} =  (1 + APR\_{tronsave}/12)^{12}-1 + VR
$$

* **VR** (**V**ote **R**ate): potential of vote rate. **VR** \~ 4 (%). Check [here](https://tronscan.org/#/sr/votes)

## Example

if **AP** = 30 SUN, **FR** = 16.5 and **VR**=4%. We have&#x20;

$$
APR\_{tronsave} = (30*16.5)/1000000*0.75\*365 \approx 0.1355 = 13.55%
$$

$$
APY\_{total} =  (1 + 0.1355/12)^{12}-1 + 4 %  \approx 18.4 %
$$
