DeFi Yield Calculator
Calculate net DeFi yield after protocol fees and gas costs
DeFi yield calculator with protocol fees and gas costs. See net yield, final balance, and effective APY after deducting realistic DeFi costs.
What this tool does
Enter deposited amount, advertised APY, protocol fee percentage, and annual gas or transaction cost. The calculator returns net yield after fees, final balance, and effective rate — so you can see what you actually keep after the headline number is eroded by costs.
Enter Values
People also use
Investing
Crypto Staking Calculator
Crypto staking calculator. Enter staked amount, APY, and compounding frequency to see rewards earned and final staked balance.
Investing
Stablecoin Yield Calculator
Stablecoin yield calculator. Project yield on USDC, USDT, or DAI holdings at user-supplied APY — fiat-denominated math without crypto price volatility.
Investing
Crypto Investment Calculator
Crypto investment calculator. Enter amount, expected annual return, and years to see projected value and total return on your crypto position.
Formula Used
Spotted something off?
Calculations or display — let us know.
Disclaimer
Results are estimates for educational purposes only. They do not constitute financial advice. Consult a qualified professional before making financial decisions.
Why advertised DeFi yields overstate what you keep
DeFi protocols advertise APYs that attract attention — sometimes dramatically high numbers. The net number that actually hits your wallet after fees is usually meaningfully lower. Protocol fees (often 0.1-2% of assets per year), performance fees (10-20% of yield on some vaults), gas costs to enter and exit positions, and periodic compounding costs all eat into the headline. The tool strips away the fees so you can see the realistic net yield, which is what matters for an investment decision.
How the math works
Net APY = Gross APY − (Protocol Fee %) − (Annual Gas Cost / Principal × 100). Final balance = Principal × (1 + Net APY)^years. The calculator treats protocol fees as a percentage drag on the stated APY and amortises gas costs as a fixed annual dollar cost divided by the principal. For a $1,000 position with $50 annual gas cost, that is a 5% drag on the yield — enormous. For a $100,000 position with the same gas cost, the drag is 0.05% — negligible. Position size matters enormously in DeFi economics.
The main cost categories
Protocol fees: Many vaults and yield aggregators take 10-20% of earned yield. A 10% APY with a 20% performance fee is effectively 8% to the user. Also common: 0.5-2% annual management fee on the position principal regardless of yield.
Gas costs: On Ethereum mainnet, depositing, withdrawing, compounding, or moving funds each cost gas. Active strategies on L1 can easily cost hundreds of dollars per year in gas. Layer 2s and alternate chains reduce this significantly but do not eliminate it.
Compounding costs: Some vaults auto-compound; others require manual claiming of rewards, which incurs gas. Manual compounding that happens weekly incurs weekly gas — at 52 transactions per year, this adds up fast on small positions.
Impermanent loss: For liquidity provisioning positions (not pure lending), impermanent loss can offset or exceed yield when underlying prices diverge significantly. The tool does not model IL — it only handles straightforward APY + fee scenarios.
Realistic vs advertised yields
A rule of thumb: subtract 2-5 percentage points from advertised APY for well-established protocols with modest fees, and more for aggressive vaults with high fee loads. Apply realistic gas drag based on position size and chain. If the net yield after these adjustments still beats the short-term government-bond rate by a wide margin, the position may be worth considering. If it does not, the headline APY was aspirational more than real.
Risks this tool does not model
Smart contract risk (bugs, exploits), oracle risk (manipulated price feeds), depeg risk (stablecoins or LSTs losing their peg), governance risk (parameter changes by protocol DAOs), impermanent loss for LP positions, and counterparty risk on lending protocols. DeFi yields exist because they are compensated for these risks — high yields typically signal high tail risk, and the highest advertised yields often signal that the risk is not well-priced.
Depositing $10,000 at 12%% APY net of fees returns $11,881.00.
Inputs
This example uses typical values for illustration. Adjust the inputs above to match a specific situation and see how the result changes.
Sources & Methodology
Methodology
Net APY subtracts protocol fee percentage and gas-cost drag from the advertised APY. Final balance compounds the principal at the net rate over the period. Impermanent loss, smart contract risk, and depeg scenarios are not modelled.
Frequently Asked Questions
Why is my net APY so different from the advertised rate?
Does this include impermanent loss?
Are DeFi yields sustainable?
What about smart contract risk?
Related Calculators
More Investing Calculators
Investing
100 Minus Age Asset Allocation Calculator
Calculate stock vs bond allocation using 100-minus-age rule. Shows stock and bond allocation percentages from the values you enter.
Investing
409A Valuation Impact Calculator
Calculate 409A valuation impact on stock option exercise and exit profits. Enter strike price and 409a fmv for an instant result.
Investing
Active vs Passive Investing Calculator
Compare active and passive investment strategies accounting for fees over long horizons. Enter initial investment to see difference and passive.
Investing
Hotel ADR Calculator
Calculate hotel ADR, RevPAR, and occupancy from revenue and rooms data. Enter room revenue and rooms sold total for an instant result.
Investing
After Repair Value (ARV) Calculator
Calculate real estate flip profit with ARV, repair costs, and the 70% rule check. Enter purchase price and after repair value arv for an instant result.
Investing
Agricultural Land Calculator
Calculate agricultural land investment IRR including lease income and appreciation. Enter land purchase price and lease rate for an instant result.
Explore Other Financial Tools
Money Insights
Retirement Wake-Up Calculator
Calculate retirement savings shortfall between projected portfolio and target needed for desired income. Enter age and retirement age for an instant result.
Income
Employer Match Value Calculator
Calculate the compound lifetime value of employer pension matching — the 'free money' that compounds over a career. Enter salary and see the result instantly.
Green & Sustainable Finance
Hydropower ROI Calculator
Calculate micro-hydropower ROI from installation cost, generation, electricity price, and maintenance. Enter kwh generated and see the result instantly.