Why Your Solana Swap Fills Worse Than Quoted
Price impact, slippage tolerance and fees are three different costs. Here is how to tell which one took the difference, and how to bound it next time.

Not financial advice. Solsmint publishes educational content about crypto assets. Prices are volatile, and nothing here is a recommendation to buy, sell, or invest. Verify every contract, authority, and fee yourself before you transact.
Last updated: November 26, 2026
You quoted 1 SOL for a token, signed, and received less than the screen promised. Nothing was stolen and the pool did not cheat you. Three separate costs landed between the quote and the balance: your own trade moving the price, the tolerance you allowed for movement, and the fees sitting on top of both. On Solana they are cheap individually and expensive together, especially on a thin pool.
This guide separates slippage from price impact and from fees, because most confusion comes from treating them as one number. It then shows how to set a tolerance that does not get you sandwiched, and when a failed transaction is better than a filled one.
This article is for informational purposes only and is not financial, legal, or investment advice. Not financial advice. DYOR.
Key takeaways
- Slippage tolerance is the maximum price movement you accept between quote and execution. If the market moves further, the swap fails.
- Price impact is your own order changing the pool price. It exists even if the market stands still.
- On a constant-product pool, buying 5% of the pool’s depth costs roughly 4.8% in price impact before fees.
- A high tolerance does not improve your fill; it removes the protection that would have stopped a bad one.
- Failed transactions on Solana still cost the base fee and the priority fee if they are included in a block.
- Token-2022 transfer fees and a missing associated token account are two costs that never appear in the quoted price.
Three costs that look like one
| Cost | What causes it | Who sets it |
|---|---|---|
| Price impact | Your order changing the pool balance | The pool’s depth and your size |
| Slippage | The market moving between quote and execution | The market, bounded by your tolerance setting |
| Fees | Pool fee, network fee, priority fee, account rent | The protocol, the network and you |
Price impact is deterministic. Given a pool’s reserves and your trade size, it can be calculated before you sign. Slippage is not deterministic; it is the gap between the quote and the state of the pool when your transaction lands. Fees are published, but they are easy to miss because they are deducted in different places.
A swap that fills worse than quoted is usually a combination of all three. The quote showed the pool before your trade. Your trade moved the pool. The market moved again in the next slot. Fees came off the top. Each step is small; the total is the difference between the screen and your wallet.
Price impact, with numbers
For a constant-product pool, buying a quantity equal to a fraction x of the pool’s reserve produces a price impact of roughly x / (1 + x). The approximation is close enough for planning and easy to remember.
| Trade size vs pool depth | Approximate price impact |
|---|---|
| 0.1% | 0.10% |
| 0.5% | 0.50% |
| 1% | 0.99% |
| 2% | 1.96% |
| 5% | 4.76% |
| 10% | 9.09% |
| 25% | 20.0% |
The lesson is that price impact is not linear in trade size. Doubling a small trade roughly doubles the cost; doubling a large trade more than doubles it. A trade that is 5% of the pool pays almost 5% before any fee, and a trade that is a quarter of the pool pays a fifth of its value in impact alone.
This is why large orders are split, routed across several pools, or executed over time. It is also why a pool that looks deep in dollar terms can be shallow for the asset you actually want to sell, because depth is measured per side and per price range.
What the slippage setting really does
When you set a tolerance of 1%, you are telling the router: fill this trade only if the execution price is within 1% of the quote. If the pool moves further before your transaction lands, the program rejects it.
That rejection is a feature. It protects you from a fill at a price you never agreed to. The cost is a failed transaction, which on Solana can still consume fees if it is included and fails. A tight tolerance means more retries in a fast market; a loose tolerance means fewer failures and worse fills.
Aggregators often default to a percentage that is reasonable for liquid pairs and dangerous for thin ones. Jupiter, the largest Solana aggregator, applies one tolerance to the whole route even when it splits an order across several pools, so the setting has to cover the worst hop rather than the average. Some offer automatic or dynamic slippage, which estimates a tolerance from recent volatility. That can help on major pairs, and it can quietly widen to double digits on a memecoin with a shallow pool.
- 0.1% to 0.5% suits stablecoin pairs and deep SOL or USDC routes.
- 0.5% to 1% suits major tokens with reliable liquidity.
- 1% to 3% suits mid-cap tokens where the quote is less stable.
- Above 5% is a deliberate choice to accept a bad fill, not a setting to leave on.
Why a loose tolerance invites a sandwich
A sandwich attack works like this. A searcher sees your pending swap with a generous tolerance. It buys the asset before your transaction, lets your trade push the price up, then sells immediately after. Your fill is worse by roughly the amount the searcher extracted, bounded by your tolerance. If your tolerance is 0.5%, the searcher can take up to 0.5%. If it is 10%, the ceiling is ten times higher.
Solana’s fast blocks and bundle infrastructure make this kind of ordering possible, and the priority fee market determines who lands first. You cannot eliminate the risk on a public AMM, but you can bound it. A tighter tolerance is the cheapest defence, because it caps what an attacker can take before your transaction fails instead. That same ordering race is what the Pump.fun block0 fee is designed to tax.
Limit orders and private routing reduce the surface further. A limit order does not chase a price; it waits for one. A private route hides the transaction until it is included. Neither is free, and neither is necessary for a routine swap in a deep pool.
The fees that never appear in the quote
Pool fee. Every AMM charges a percentage per swap. Standard Raydium pools have historically charged 0.25%, concentrated pools use tiers from about 0.01% to 1%, and the exact split between liquidity providers and the protocol is worth checking on the pool page.
Network and priority fees. The base fee is 5,000 lamports per signature. The priority fee is the compute limit multiplied by a price you choose, divided by one million. Both are charged on the transaction, not on the swap, so a swap that fails after inclusion can still cost SOL.
Account rent. If the recipient wallet has never held the token, the transaction creates an associated token account and pays a small rent deposit, currently around 0.002 SOL. That deposit is refundable when the account is closed, but it leaves your wallet at the time of the swap.
Token-2022 transfer fees. A Token-2022 mint can charge a fee on every transfer, deducted from the amount received. The quoted price may not include it, so the balance can be lower than the route suggested even when the price was exactly as quoted.
Routing hops. A route that goes through two or three pools pays a fee and a price impact at each hop. The interface usually shows the total, but not always in a way that is easy to read before you sign.
Stale quotes and the slot race
A quote is a snapshot of the pool at one slot. Solana produces slots in the hundreds of milliseconds, and the pool can change several times between the quote and your transaction landing. On a quiet pair, nothing moves. On a new token with active trading, the quote can be out of date before the wallet finishes signing.
This is the main reason a swap fails with a slippage error rather than filling at a bad price. The router checked the execution price against your tolerance, found it outside, and rejected the transaction. Retrying immediately usually works, because the next quote reflects the new state.
Retrying blindly with a higher tolerance is the wrong fix. It converts a protection into a subsidy for whoever is moving the price. Retry once with a fresh quote; if it fails again, the pool is probably too thin for the size you are trading.
When bad slippage is a warning
A swap that consistently fills far below the quote on a token you have never traded is not a fee problem. It can be a liquidity problem, a transfer-fee problem, or a token that is designed to be easy to buy and hard to sell.
- Freeze authority. The issuer can freeze your token account, which makes the position unsellable regardless of price.
- Mint authority. The issuer can mint more supply and dilute the pool at will.
- Transfer hook or fee. A Token-2022 extension can take a cut or block transfers to specific addresses.
- Thin liquidity. A pool with a few thousand dollars of depth cannot absorb a retail-sized order without moving several percent.
Check the authorities before you trade, not after. A rug checker shows the mint and freeze authorities, holder concentration and liquidity in one view, and it takes less time than reading a chart.
A practical routine for better fills
- Check price impact before slippage. If the impact is already above 2%, the tolerance is not the problem.
- Size to the pool, not to your conviction. Split a large order into several smaller ones across minutes.
- Set the tolerance for the pair, not for the app. A default that suits SOL/USDC is too loose for a new token.
- Confirm the route. Two hops cost twice the fee and twice the impact.
- Watch the fee line. If the received amount is lower than the quote by more than slippage plus fees, check for a transfer fee.
- Retry once with a fresh quote. If it fails again, reduce the size or wait for liquidity.
Slippage is different on perpetuals
The same word means something else on a derivatives venue. On a perps market, the cost of a fill includes price impact against the liquidity pool, a trading fee, and sometimes an hourly borrow fee. Liquidation adds a separate penalty, and on some venues the remaining collateral is taken in full.
If you are trading perps rather than spot, the relevant protections are position size, leverage and the liquidation price, not the slippage percentage on a swap screen. The mechanics are covered in the perpetual futures guide linked below.
What we still don’t know
How much of the gap between quote and fill on Solana is sandwiching rather than ordinary pool movement is not publicly measured. Searchers do not report their extraction, and aggregated data on failed transactions is thin.
Dynamic slippage algorithms are also opaque. They estimate a tolerance from recent volatility, but the exact model is proprietary, and the same trade can receive different defaults on different days.
And the effect of routing improvements is hard to isolate. Aggregators add venues and change splits frequently, so a comparison of fills from six months ago may not describe today’s routes.
What is settled is the arithmetic. Price impact scales with your size relative to the pool, slippage is bounded by the tolerance you set, and fees come off the top regardless. Knowing which of the three is costing you is most of the fix.
FAQ: Solana slippage
Why did my Solana swap fill at a worse price than quoted?
Because the quote was a snapshot. Your own trade moved the pool, the market may have moved before your transaction landed, and fees were deducted. The filled price reflects the pool at execution, not at the moment you requested a quote.
What slippage should I set on Solana?
Around 0.5% to 1% for liquid pairs, 1% to 3% for mid-cap tokens, and as tight as the pair allows. Anything above 5% is a deliberate acceptance of a bad fill rather than a normal setting.
Does a higher slippage setting get my swap filled faster?
It reduces the chance of a rejection, but it does not improve the price. It also raises the maximum amount a sandwich attacker can take, which is why a loose tolerance can cost more than a failed transaction.
What is the difference between slippage and price impact?
Price impact is your own order changing the pool price, and it is predictable from the pool depth. Slippage is the market moving between quote and execution, and it is bounded by your tolerance setting.
Why did my swap fail with a slippage error?
The execution price moved outside your tolerance before the transaction landed. Retry once with a fresh quote. If it fails again, the pool is probably too thin for the size you are trading, or another trader is actively moving the price.
Do failed Solana swaps cost anything?
If the transaction is included in a block and fails, the base fee and priority fee are charged. If it never lands because the blockhash expired, it is not charged. That distinction matters when you retry repeatedly.
Can I avoid sandwich attacks on Solana?
You can reduce the surface with a tight tolerance, limit orders and private routing, but you cannot eliminate it on a public AMM. The cheapest defence is to cap what an attacker can extract before your transaction fails.
Continue reading
- Read how Solana liquidity pools work to understand the depth behind a quote.
- See how compute units and priority fees are charged, including why a failed swap can still cost SOL.
- Then read how fees and liquidations work on Solana perpetuals if you are trading beyond spot.
- About to add liquidity to your own token? Create a Solana token without code and plan the pool depth before listing.
Disclaimer: This article is for information and education only and is not financial, investment, or tax advice. Crypto assets are volatile and you can lose money. Always verify token authorities and contract details yourself before interacting with any asset.
Ready to create your own token?
Launch an SPL token on Solana in minutes. No code, 0.05 SOL total, metadata and authorities handled for you.

Amir Ali
Founder of Solsmint | Solana Ecosystem Builder | Crypto & Web3 Enthusiast
Amir Ali is the founder of Solsmint, a Solana-based platform focused on making token launches and on-chain tools more accessible. He writes about Solana, crypto, memecoins, blockchain technology, and the evolving Web3 ecosystem.
Through Solsmint, Amir aims to simplify token creation and liquidity management by building practical, affordable tools for creators, developers, and crypto communities. His work focuses on making blockchain technology easier to use and helping builders turn their ideas into reality.
Follow Amir and explore his work at Solsmint.com.
Last updated:


