Staking and yield farming rewards grow faster if you claim them and add them back to your position. But every claim and restake is a transaction, and on many networks it costs gas plus, sometimes, a swap or platform fee. Compound too often and the costs eat the extra rewards. Compound too rarely and you leave growth on the table. Enter your amount, the reward APR and what one compound costs you, and the calculator tests every frequency from once a year to every day and shows the one that leaves you with the most.
How the best compounding frequency is calculated
Say you compound n times a year. Each period your balance earns APR ÷ n, the rewards are added, and you pay the cost of the transaction, G. After one year the balance is:
- Balance after one year = P × (1 + i)n − G × ((1 + i)n − 1) ÷ i, with i = APR ÷ n
- Net APY = balance after one year ÷ P − 1
- Never compounding = the APR itself, with no transaction costs
- Best n = the number of compounds from 1 to 365 with the highest net APY
A quick way to see the trade-off is the growth factor (1 + APR ÷ n − G ÷ P)n: each compound adds APR ÷ n but takes away G ÷ P, the cost as a share of your balance. The calculator does the exact version above for every n and picks the best.
There is also a rule of thumb that lands close to the answer: the best number of compounds a year is roughly APR × √(P ÷ 2G), with the APR as a decimal. It shows what drives the result. Double the balance and you should compound about 1.4 times as often. Make each compound four times as expensive and you should compound half as often. A higher APR makes compounding worth more.
Examples
- $5,000 at 12% APR, $3 per compound: the best is every 91 days, four times a year, for a net APY of 12.30%. Never compounding gives 12.00%. Compounding monthly gives 11.92%, and daily would cost $1,095 a year in fees and turn the result into −10.52%.
- $50,000 at 8% APR, $5 per compound: the best is every 61 days, six times a year: net APY 8.21% against 8.00% without compounding, about $105 more a year. Monthly is close behind at 8.18%.
- $1,000 at 30% APR, $0.50 per compound (a cheap network): the best is every 37 days, ten times a year: 33.82% against 30.00% without compounding. Weekly still gives 31.85%; daily drops to 13.70%.
- $20,000 at 5% APR, $20 per compound: no frequency beats leaving the rewards alone. Even once a year gives 4.90%, below 5.00%. With costs that high, claim the rewards only when you need them.
In every case the gain from compounding at the best interval is modest: compounding does not change the APR, it only adds interest on interest. With low rates and small balances, the cost of the transaction matters far more than the frequency.
What changes the answer
Network costs are the biggest variable. The same restake can cost a few cents on one chain and several dollars on another, and gas changes with how busy the network is. Use what your last few claims actually cost you, including any swap needed to turn rewards back into the staked token. Some protocols and vaults compound for you; they still pay the gas, and usually take a performance fee from the rewards, so check that fee before comparing.
The APR is not fixed either. Staking and farming rates move with network conditions and token emissions, and a reward token can lose value faster than it compounds. The calculator assumes a steady APR and a steady token price over the year, so treat the result as a guide to the interval, not as a forecast of what you will earn.
If you only want to know how APR turns into APY with no costs, the APR to APY calculator does that. For rewards over several years, use the staking calculator or the compound interest calculator.
Key takeaway: the best compounding frequency rises with your balance and your APR and falls with the cost of each transaction. On small balances or expensive networks, compounding less often, or not at all, often pays more.
Frequently asked questions
Is daily compounding always best?
Only when compounding is free. With zero costs, more frequent compounding always earns a little more. Once each compound costs gas or fees, daily compounding is usually the worst choice on small and medium balances, because 365 transactions a year cost more than the extra rewards.
What counts as the cost per compound?
Everything you pay to claim the rewards and put them back to work: the gas of each transaction (claim, approve, swap if needed, restake) and any platform or swap fee. Use what your last few compounds actually cost, not the lowest gas price you have seen.
What is the difference between APR and APY here?
APR is the simple yearly rate before compounding. APY includes the effect of compounding. The net APY in this calculator also takes off the costs of compounding, so it can be lower than the APR if you compound too often.
Should I use an auto-compounding vault instead?
It can save you gas because the cost is shared across all depositors, but vaults usually take a fee from the rewards and add another smart contract that can fail. Compare its net APY after fees with the best interval here before moving your funds.
Related guides
- Crypto staking explained
- What is a good staking APY?
- Daily vs monthly compounding
- Compound interest explained
- How to store crypto safely
Compounding from your own wallet? Each claim and restake is a transaction you sign. A hardware wallet keeps your keys offline and shows every transaction on its own screen, so you can check what you approve, however often you compound.
More calculators
CryptoAPR to APY calculatorWhat a rate becomes when you compound it daily, weekly or monthly.
CryptoStaking calculatorRewards in coins and in money for any staking rate and period.
InvestCompound interest calculatorHow a balance grows with regular deposits and compounding.
CryptoImpermanent loss calculatorWhat a liquidity pool costs you against holding, and the fees needed to cover it.Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you. It does not change how we calculate.
For information only: the calculator gives estimates and is not financial advice. Reward rates, gas costs and token prices change all the time.
Crypto is high-risk; you can lose all the money you put in.