A fully simulated calculator for learning purposes only.
All values are illustrative and editable.
Borrow → Swap → Swap → Repay → Result
Borrow
Flash loan principal (simulated)
$10,000
Swap on Market A
Bought at $600
16.6250 units
Swap on Market B
Sold at $603
$9999.81
Repay flash loan
Principal + 0.09% fee
-$10009.00
Net result
After gas
$-11.19
Simulated net profit as the gap between Market A and Market B varies, holding other inputs fixed.