Home/ Crypto & Blockchain/ DeFi & Yield Farming

Crypto & Blockchain / Subcategory

DeFi & Yield Farming

Liquidity pools, yield farming, lending, and perpetual futures.

18Formulas
All levels Difficulty
Updated Oct 2026
← All Crypto & Blockchain (122) DeFi & Yield Farming (18)

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

Fundamental

Loan Health Factor (Overcollateralized)

Health Factor = (Collateral Value * Liquidation Threshold) / Debt Value

Fundamental

Crypto-Backed Loan Interest Cost

Interest Cost = Loan Amount * Interest Rate * (Loan Term / 12)

Fundamental

Impermanent Loss (Liquidity Pool)

IL (%) = (2*sqrt(price_ratio) / (1+price_ratio) - 1) * 100