Interactive DeFi Education — Real Protocol Math

DeFi Visual

Master DeFi primitives through interactive simulations. AMMs, MEV, flash loans, and yield tokenization — all powered by the real math.

0.09%
Flash Loan Fee
Aave v3
0.30%
AMM Fee
Uniswap v2
$1.3B+
MEV Extracted
All-time ETH
$4B+
Pendle TVL
Yield Markets

Liquidity Pool

k = 200,000
10.00
ETH
0.0%
20.0k
USDC
0.0%
Price: $2000.00(+0.0%)
Swaps: 0

Simulate Swap

ETH Amount1.0 ETH
Expected Output+1813.22 USDC
Price Impact9.339%
New Price$1653.34
Fee (0.3%)$6.00
High price impact! This trade moves the price significantly.

Learn the Concepts

An Automated Market Maker (AMM) is a decentralized exchange protocol that uses a mathematical formula to price assets instead of using an order book like traditional exchanges.

Instead of matching buyers and sellers, AMMs use liquidity pools — smart contracts that hold reserves of two tokens. Anyone can trade against the pool, and anyone can provide liquidity to earn fees.