Flash Loan Calculator
Size a flash loan arbitrage opportunity by calculating net profit after protocol fees, DEX fees, gas costs, and slippage. Determine break-even spreads and daily/monthly profit projections.
Inputs
Results
Net profit per execution ($)
$352.5
How to Use This Calculator
- Enter the Flash Loan Amount ($) — the size of the uncollateralized loan from a protocol like Aave.
- Set the Flash Loan Fee % (Aave = 0.09%) and the Buy Price and Sell Price on the two venues you are arbitraging.
- Enter DEX Swap Fee % (Uniswap V3 pools are 0.05%, 0.3%, or 1%) and expected Slippage %.
- Set Gas Cost ($) for the entire flash loan transaction and Executions per Day to project daily income.
- Review Net Profit per Execution, Break-Even Spread %, and Daily/Monthly Profit — a negative net profit means the trade is not viable at current prices.
Related Calculators
Cross-Chain Arbitrage Calculator
Calculate potential profit from cross-chain arbitrage opportunities after accounting for bridge fees, gas costs, and slippage on both chains.
MEV Calculator
Estimate Maximal Extractable Value (MEV) opportunity sizing for sandwich attacks, accounting for gas costs, builder tips, competition, and success rates.
Lending Protocol APY Calculator
Calculate net APY from DeFi lending protocols like Aave or Compound, accounting for supply APR, borrow APR, token rewards, compounding frequency, and health factor.
Smart Contract Gas Optimization Calculator
Calculate gas savings from smart contract optimizations. Compare current vs. optimized gas usage, estimate ROI on development effort, and analyze storage/calldata reduction impact.