DeFi APR and APY

DeFi Yield Calculator

Estimate DeFi yield from APR, compounding frequency, deposit amount, time in protocol and gas costs. The calculator shows gross yield, net yield, APY, daily earnings and monthly earnings from the assumptions you enter.

APR to APYCompounding supportGas costs optionalNo yield promises

Calculator

Enter yield assumptions

Use protocol APR, intended duration and estimated transaction costs.

Formula: APY = (1 + APR / compounds) ^ compounds - 1. Net value subtracts entered costs and platform fees.

Formula

DeFi APR and APY formula

APY from APR

APY = (1 + APR / n) ^ n - 1

`n` is the number of compounding periods per year.

Gross earnings

gross = deposit * ((1 + APY) ^ (days / 365) - 1)

This estimates earnings over the selected time period.

Net earnings

net = gross - gas costs - platform fee

Costs can reduce or eliminate yield for short periods or small deposits.

Example

DeFi yield example

For a $5,000 deposit at 18% APR compounded monthly over 90 days, APY is about 19.56%. The gross estimated earnings are about $225.19. If gas and transaction costs are $35, net earnings are about $190.19.

This result does not guarantee future yield. Protocol APR, reward token value, liquidity, incentives and gas fees can change.

Limitations

What this DeFi yield calculator does not include

The calculator does not automatically include impermanent loss, token reward decay, liquidation risk, borrowing costs, slippage, taxes, smart contract risk or changing protocol incentives. Use the real DeFi return calculator when you need a more conservative net-return view.

Related tools

FAQ

DeFi Yield Calculator FAQ

What is a DeFi yield calculator?

A DeFi yield calculator estimates potential earnings from lending, staking or yield farming assumptions. It uses deposit size, APR or APY, compounding frequency, duration and costs.

What is the difference between APR and APY in DeFi?

APR is the annual rate before compounding. APY includes compounding. The difference can grow when compounding is frequent or the stated rate is high.

Does this calculator guarantee DeFi yield?

No. DeFi yields can change quickly and depend on protocol rules, liquidity, rewards, fees, token prices and smart contract risk.

Are gas fees included?

Gas or transaction costs are included only if you enter them. They can materially reduce net yield, especially for small deposits or short holding periods.

Quality notes

How to use this result responsibly

Lamppoli calculators are designed to answer a practical crypto question quickly, then show the assumptions behind the result.

When to use

Best use case

Use this calculator when comparing headline APR or APY with time period, compounding and cost assumptions. It is a first-pass yield estimate, not a guarantee.

Use the result as a planning estimate, then review fees, taxes, slippage, liquidity and risk separately before making decisions.

More FAQ

Additional DeFi Yield Calculator Questions

Why can DeFi APY change?

APY can change when liquidity, incentives, utilization, reward emissions, token price or protocol rules change.

Does this use DefiLlama live data?

The static MVP uses editable assumptions. A Cloudflare data layer can later add cached DefiLlama-style yield data with attribution.

What costs reduce DeFi yield?

Gas, protocol fees, slippage, withdrawal costs, reward token movement and impermanent loss can reduce actual returns.