Gas, slippage, and the hidden cost of every on-chain trade
The fee you see is rarely the cost you pay. A clear look at the frictions that quietly decide whether a small, frequent strategy actually makes money.

Eizy is in development. Product features described here are planned and may change before launch. These articles provide general information, not personal financial advice.
There is a number most traders watch closely — the trading fee — and a set of numbers most traders barely watch at all, which together usually cost them far more. The visible fee is the honest, advertised price of trading. The hidden costs are the ones baked into your fill, scattered across gas and slippage and spread, and they have a particular talent for quietly turning a strategy that looks profitable on paper into one that loses money in practice.
This matters most for anyone trading frequently or in small size, because frictions are roughly fixed per trade while your edge is a percentage of the move. The more often you trade and the smaller your target, the larger these costs loom relative to what you are trying to capture. A strategy aiming for 10% moves can shrug off a lot of friction. One aiming for 1% moves can be entirely eaten by it.
Gas: the price of being included
On-chain, every trade is a transaction that validators have to process, and they charge for the privilege. That is gas. On Solana it is usually small, which is a genuine advantage of the network, but small is not nothing, and during congestion it rises. More importantly, gas is paid per transaction regardless of your trade size. Ten dollars of gas is trivial on a large trade and absurd on a tiny one.
Frictions are mostly fixed per trade; your edge is a percentage of the move. That single mismatch is why overtrading quietly ruins more accounts than bad calls do.
The practical consequence is that frequent small trades carry a tax that frequent large trades do not feel. If you are tempted to chop in and out of positions all day, the gas alone can accumulate into a meaningful drag, and it does so invisibly, one unremarkable transaction at a time.
Slippage: the gap between quote and fill
Slippage is the difference between the price you expected and the price you actually got. It comes from two sources. The first is depth: if the liquidity at your price is thin, your order walks through worse prices to fill, and you pay the average rather than the quote. The second, specific to on-chain trading, is the public nature of the transaction — others can see your pending trade and position themselves around it, worsening your fill.
This is why slippage tolerance settings exist, and why they are a real decision rather than a formality. Set the tolerance too tight and your transaction fails when the market moves even slightly, wasting gas on a trade that never happened. Set it too loose and you give permission to be filled at a materially worse price, which on a thin or contested pair can be a lot worse. The right setting depends on how liquid the pair is and how much the price is moving, and a sensible router helps you find it rather than leaving you to guess.
Spread: the toll on both ends
We have covered spread elsewhere, but it belongs in any honest accounting of costs. The gap between bid and ask is paid once entering and once exiting. On liquid pairs it is negligible. On illiquid ones it can rival or exceed every other cost combined. For short-horizon trades especially, a wide spread can quietly consume the entire expected edge before the position has done anything at all.
Adding it up before you trade
The discipline is simply to count all of it, not just the part with a label:
- Total the round trip. Fee in, fee out, spread in, spread out, gas, and expected slippage. That sum is what the trade must clear before it earns you a cent.
- Compare it to your target. If you are reaching for a 2% move and the round-trip friction is 1.5%, you are taking enormous risk for a sliver of potential reward.
- Trade less, size sensibly. Fewer, better-chosen trades carry less cumulative friction than a flurry of marginal ones. Overtrading is expensive in a way that does not show up until you tally it.
- Mind the conditions. Costs balloon in illiquid pairs and during congestion. The same trade can be cheap at one moment and punishing at another.
None of this is exciting, and that is precisely why it is neglected. Hidden costs do their damage slowly and without drama, so they rarely get the blame they deserve. But a trader who accounts for the full cost of every trade — and who therefore trades less, and only when the expected move clearly beats the friction — keeps a far larger share of whatever edge they have. The fee is the part you see. The rest is the part that quietly decides whether you win.

