APY formula and an example
APY answers one question: if I leave the money and every reward in place for a year, how much more will I have? Rewards that are added to the balance start earning rewards of their own, and APY counts that.
APY = (1 + APR / n)^n − 1, where n is how many times a year the rewards are added. Take a 10% APR:
- paid once a year, APY is 10%;
- added monthly, APY is about 10.47%;
- added daily, APY is about 10.52%.
The more often rewards compound, the bigger the gap, but it stays small at low rates. It grows fast at high ones: a 100% APR added daily is an APY of about 171%. That is why DeFi apps like to advertise APY: the number looks larger.
APY vs APR
Both are yearly rates. APR scales one period's reward to a year by simple multiplication; APY assumes the rewards are reinvested and compounded. For the same yield APY is always equal to or higher than APR.
Compare like with like. A pool showing 8% APY and another showing 7.8% APR may pay almost the same. And check whether the figure is before or after fees, and over which period it was measured: a high APY from the last three days says little about a year.
How DYOR measures APY on TON
The staking page shows a net APY for every pool: what its stakers actually earned after the pool's fee, read from the blockchain and annualised with compounding. A liquid pool's APY comes from how its token's rate in GRAM grew between rounds; a nominator pool's from the network's round rewards less the pool's fee, so nominator pools with the same fee show the same APY.
The table uses the 30-day figure, else the 90-day one, else the 7-day one, marked as noisy because a week holds only a few rounds. For example, if a liquid token's rate grew 0.33% in 30 days, its APY is (1.0033)^(365/30) − 1, about 4.1%.
Two more APYs sit next to it. Network APY is the network's gross yield over its latest rounds, up to 20, before any pool's fee. Advertised APY is the protocol's own figure, shown apart: DYOR never measures it or sorts by it. The calculator adds an Effective APY: your profit for your amount and period as a yearly rate, after fixed fees and the wait to start, so it can be lower than the pool's APY.
The table below lists the largest pools with their net APY.