Crypto & Blockchain / Subcategory
DeFi & Yield Farming
Liquidity pools, yield farming, lending, and perpetual futures.
15Formulas
All levels Difficulty
Updated Jul 2026
← All Crypto & Blockchain (122) DeFi & Yield Farming (15)
Fundamental
Margin Ratio (Perpetual Futures)
Margin Ratio (%) = (Account Equity / Position Notional Value) * 100
Fundamental
Perpetual Futures Unrealized PnL
PnL = Position Size * (Exit Price - Entry Price) / Entry Price
Fundamental
Perpetual Futures Funding Rate
Funding Payment = Position Size * Funding Rate
Fundamental
LP Trading Fee Earnings
Fee Earnings = Pool Share % * Total Trading Fees Generated
Fundamental
Linear Bonding Curve Price
Price = m * Supply + b
Fundamental
Vault APY (Yield Aggregator)
Net APY = Gross APY - Performance Fee - Management Fee
Fundamental
Flash Loan Fee
Fee = Loan Amount * Fee Rate
Fundamental
Liquidation Threshold Price (DeFi Lending)
Liq. Price = (Debt Value * Liquidation Threshold) / Collateral Amount
Fundamental
DeFi Loan-to-Value Ratio
LTV (%) = (Loan Amount / Collateral Value) * 100
Fundamental
Collateralization Ratio
CR (%) = (Collateral Value / Debt Value) * 100
Fundamental
Total Value Locked (TVL) Growth Rate
TVL Growth (%) = ((TVL_new - TVL_old) / TVL_old) * 100
Fundamental
Trade Slippage Percentage
Slippage (%) = ((Expected Price - Executed Price) / Expected Price) * 100
Fundamental
AMM Constant Product Price Impact
Price Impact (%) = (Δy / y) * 100, where x*y=k
Fundamental
Liquidity Pool Share Percentage
Share (%) = (Your LP Tokens / Total LP Tokens) * 100
Fundamental
Yield Farming APY (Auto-Compounded)
APY = (1 + APR/n)^n - 1