Skip to main content
Financial Literacy & Analysis

What is Return on Investment (ROI)?

An objective mathematical exploration of return calculations, compounding dynamics (APR vs APY), and risk-adjusted analysis in decentralized protocols.

Strict Educational & Non-Advisory Notice: This educational guide is provided strictly to enhance financial literacy. ProDeFi does not offer investment packages, yield promises, guaranteed profits, or investment advice. In decentralized markets, potential returns are always proportional to risk, and capital loss is a genuine possibility.

1. The Classical ROI Formula

Return on Investment (ROI) is a standardized performance measure used to evaluate the efficiency or profitability of an investment relative to its cost. Mathematically, it is expressed as:

ROI (%) = [ (Current Value − Initial Cost) ÷ Initial Cost ] × 100%

For example, if an asset is acquired for 1,000 units and its current fair market value is 1,250 units:
ROI = [(1,250 - 1,000) / 1,000] * 100% = +25.0%
If the value drops to 800 units:
ROI = [(800 - 1,000) / 1,000] * 100% = -20.0%

2. APR vs APY: Understanding Compounding

In decentralized finance protocols, yields are commonly quoted in two distinct notations: Annual Percentage Rate (APR) and Annual Percentage Yield (APY). Conflating the two can lead to significant calculation errors.

Annual Percentage Rate (APR) Simple Interest

Represents simple annual interest without factoring in compounding. If rewards are withdrawn periodically and not reinvested, the return is calculated linearly on the initial principal.

Annual Percentage Yield (APY) Compounded Interest

Accounts for the effect of compounding rewards back into the principal over time ($n$ periods per year):
APY = (1 + APR / n)^n − 1

Important Note on Advertised APYs: High advertised APYs in DeFi are frequently driven by aggressive token emission rates (inflation). If the underlying token's purchasing power declines due to newly minted supply, nominal high APY can result in negative net real ROI.

3. Critical Web3 Risk Factors

Impermanent Loss in Liquidity Pools

When providing liquidity to automated market maker (AMM) pools with paired assets, divergence in price ratio between the two assets results in impermanent loss compared to simply holding the assets in cold storage. If price divergence is wider than accumulated trading fees, net return is negative.

Protocol & Smart Contract Risk

Unlike traditional deposit accounts protected by federal insurance schemes (such as FDIC), decentralized protocols are vulnerable to code exploits, economic attacks, and flash-loan manipulations. Real ROI calculations must always discount for protocol failure probability.

Risk-Adjusted Return (Sharpe Ratio)

Institutional analysts examine risk-adjusted returns: assessing how much excess return is generated for every unit of volatility endured. High absolute yield with extreme standard deviation often represents worse risk-adjusted performance than stable, lower-volatility alternatives.