Enter your trade details to check if the arbitrage is profitable
Net Profit (After All Fees)
--
What you actually keep once gas, trading fees, and slippage are paid
Total Investment
--
Net ROI
--
📊 Trade and Hidden Cost Inputs
Trade Panel
$
The capital you commit to the arbitrage trade.
$
Price per token on the cheaper exchange.
$
Price per token on the more expensive exchange.
Hidden Costs Panel
$
Combined gas cost for both the buy and sell transactions.
%
Both DEX fees combined, for example 0.60% means 0.3% per exchange.
%
Expected price impact from trading against pool liquidity.
Reality Check: Total Hidden Costs
--
The gross price gap is rarely what you take home. Here is everything that comes out of your trade before you see a profit.
Gross Profit (before costs)
--
DEX Trading Fee Deduction
--
Slippage Deduction
--
Network Gas Fees
--
Tokens Bought
--
Investment divided by buy price
Gross Value on DEX B
--
Tokens sold at the higher price
Gross Price Spread
--
Headline gap before any costs
📖 Key Terms Explained
Arbitrage
Buying an asset where it is cheap and simultaneously selling it where it is more expensive to capture the price difference as profit. In crypto, the two venues are usually different exchanges.
DEX (Decentralized Exchange)
An exchange like Uniswap or SushiSwap that lets users trade tokens directly from their own wallets through smart contracts, with no central company holding funds or matching orders.
Slippage
The gap between the price you expect and the price you actually get when a trade executes. Larger trades and thinner pools produce more slippage, which directly cuts arbitrage profit.
Gas Fees
The fee paid to the blockchain network to process a transaction. On Ethereum, gas is charged whether the transaction succeeds or fails, making it a real cost even on reverted arbitrage attempts.
Liquidity Pool
A smart-contract reserve of two tokens that a DEX uses to enable trading. The ratio of the two tokens in the pool sets the price, and trades shift that ratio.
Price Impact
How much your own trade moves the pool price against you. It is the structural cause of slippage on a DEX and grows as your trade size approaches the pool's depth.
Spread
The difference between the buy price on one DEX and the sell price on another. The spread is your gross opportunity, but only the portion left after fees, gas, and slippage is real profit.
Net Profit
Your true take-home amount: the gross profit from the spread minus every cost, namely DEX trading fees, slippage, and network gas. This is the headline number this calculator solves for.
Net ROI
Net profit expressed as a percentage of your total investment. A net ROI of 2% on a $1,000 trade means $20 of real profit after all costs.
Front-Running
When a bot spots your pending profitable transaction and submits its own with higher gas to execute first, capturing the opportunity and often leaving your trade to fail.

The Complete Guide to Crypto DEX Arbitrage and True Net Profit

A two-and-a-half percent price gap between Uniswap and SushiSwap looks like free money, but seasoned DeFi traders know the headline spread is a trap. By the time gas, trading fees, and slippage are paid, a gap that looked profitable can leave you in the red. This guide explains the math behind the cross-exchange arbitrage calculator above, how to read its Reality Check breakdown, and the real risks that make on-chain arbitrage far harder than it first appears.

How to Use This DEX Arbitrage Calculator

Start in the Trade Panel. Enter your Total Investment, the buy price of the token on the cheaper exchange (DEX A), and the sell price on the more expensive exchange (DEX B). Then move to the Hidden Costs Panel and enter your combined network gas fees in dollars, your total exchange trading fees as a percentage of the trade, and your estimated slippage as a percentage. Everything recalculates instantly as you type, with no submit button. The hero metric at the top shows your Net Profit after all fees, the Reality Check card itemizes every cost, and the status banner turns green when the spread covers your costs or red when slippage and gas would eat your entire margin.

The Arbitrage Math, Step by Step

The engine first divides your total investment by the buy price to find how many tokens you can buy. It multiplies that token count by the sell price to get the gross value on DEX B, then subtracts your investment to get the gross profit, which is the headline opportunity before any costs. Next it calculates the DEX trading fee as a percentage of the gross value and the slippage as a separate percentage of the gross value. It adds those two amounts to your fixed network gas fees to produce the Total Hidden Costs. Finally, it subtracts those total costs from the gross profit to reveal your Net Profit, and expresses that as a Net ROI by dividing by your investment. Every dollar figure is rounded to exact cents using floating-point-safe arithmetic so the numbers always add up.

A Worked Example

Suppose you invest $1,000, buy a token at $100.00 on DEX A, and sell at $102.50 on DEX B. You acquire 10 tokens whose gross value on DEX B is $1,025, for a gross profit of $25. Now apply the costs: a combined 0.60% trading fee on $1,025 is about $6.15, an estimated 0.50% slippage is about $5.13, and gas fees are $15.00, for total hidden costs near $26.28. Subtracting those from the $25 gross profit leaves a net loss of roughly $1.28, a negative net ROI. This is the lesson the calculator drives home: a 2.5% gross spread that looks attractive turns into a small loss once real-world costs are counted, which is exactly why so many beginner arbitrage attempts quietly lose money.

Why On-Chain Arbitrage Is Harder Than It Looks

Profitable spreads on liquid pairs are usually tiny and vanish in seconds because automated bots compete to close them. To overcome fixed gas costs you often need a large trade, but a large trade causes more slippage, which erodes the very profit you were chasing. Gas spikes during network congestion can turn a winning trade into a loser between the moment you see the opportunity and the moment your transaction confirms. And because the blockchain charges gas even for failed transactions, a string of reverted attempts can bleed your capital with nothing to show for it. The calculator above is designed to make these trade-offs visible before you risk a single dollar.

Reading the Status Banner and Reality Check

A green banner means your net profit is positive: the price spread is wide enough to cover all network and trading costs, leaving real take-home profit. A red banner means the trade is unprofitable, so slippage and gas fees would consume your entire margin and then some. The Reality Check card below the hero exists to teach a single hard truth: the gross profit at the top of the breakdown is almost never what you keep. Watch how the trading fee, slippage, and gas rows stack up against that gross figure, and you will quickly develop an instinct for which spreads are actually worth trading.

Frequently Asked Questions

Crypto arbitrage is the practice of buying a token on one exchange where the price is lower and selling it on another exchange where the price is higher, capturing the difference as profit. On decentralized exchanges (DEXs) like Uniswap and SushiSwap, the same token can trade at slightly different prices at the same moment because each exchange has its own separate liquidity pool. An arbitrage trader exploits that temporary gap. The catch is that the headline price spread is rarely your real profit: network gas fees, the trading fee each DEX charges, and slippage all eat into the margin. This calculator subtracts every one of those hidden costs so you see your true net profit before you commit any capital.
Each decentralized exchange runs its own independent liquidity pool for a given token pair, and prices are set by the ratio of assets inside that specific pool rather than by a shared global order book. When a large trade hits one pool, it shifts that pool's price while the other pool stays put, creating a temporary gap. Different pools also have different depths of liquidity and attract different trading volume, so they drift apart and re-converge constantly. Arbitrage traders are the mechanism that pushes the two prices back together: by buying from the cheaper pool and selling into the more expensive one, they nudge both prices toward equilibrium and earn the spread for doing so.
Slippage is the difference between the price you expect and the price you actually get when your trade executes. On a DEX, every trade moves the price of the pool it touches, so a large buy pushes the price up against you and a large sell pushes it down. The bigger your trade relative to the pool's liquidity, the worse the slippage, an effect also called price impact. Slippage destroys arbitrage profits because it applies to both legs of the trade and scales with size: a spread that looks generous on a tiny test trade can completely vanish once you trade enough volume to make the gas fees worthwhile. This calculator lets you enter an estimated slippage percentage so you can see exactly how much it subtracts from your net profit.
Yes. On Ethereum and most EVM chains, gas pays the network validators for the computation they perform, and that work happens whether or not your transaction achieves its goal. If your arbitrage transaction reverts because the price moved before it confirmed, because another bot front-ran you, or because your slippage tolerance was exceeded, you still pay the gas for the failed attempt. This is one of the most underestimated risks in DeFi arbitrage: during periods of high network congestion you can burn a meaningful amount in gas on reverted transactions and never complete a single profitable trade. Always treat gas as a sunk cost you may pay even with nothing to show for it, and size your trades so a few failed attempts do not wipe out your edge.
No. Every calculation runs entirely inside your own browser using client-side JavaScript. The investment amount, prices, gas fees, trading fees, and slippage figures you enter are never transmitted, saved, or shared with any server. Nothing you type leaves your device, so your trading strategy stays completely private.