Skip to content
Blockchain Post

News on how crypto works

How to Separate Swap Price Impact From Solana Fees

A swap’s quoted output reflects market movement and pool costs; Solana fees are separate wallet charges, so compare the quote, transaction details, and SOL balance.

The Blockchain Post Editors4 min read#85b107

Cover artwork for How to Separate Swap Price Impact From Solana Fees

To separate swap price impact from Solana fees, compare the tokens you are expected to receive with the SOL charged to submit the transaction. Price impact changes the swap’s exchange rate; network fees pay for processing the transaction. A wallet can show both near the same time, but they come from different parts of the system.

First, a swap interface gets a quote for a particular input amount and route. The route may pass through one or more liquidity pools. Pool pricing and trading fees affect the estimated output, which is usually shown in the token you are buying. For a separate explanation of product choices, see Byreal’s guide to swap, liquidity, and trading choices. The key distinction here is that the quote describes the trade, while Solana’s fee estimate describes the transaction.

What does swap price impact measure?

Price impact measures how much your trade size moves the effective price compared with a reference price before the trade. In a pool, each swap changes the quantities of the two assets. A larger trade takes more liquidity from one side, so later units of the trade generally get a worse rate than earlier units. The interface combines those units into one average output.

That is different from slippage. Price impact is the effect of the trade size on the quoted rate. Slippage is the allowed change between the quote and the rate at execution, often because the pool can change while the transaction is waiting. A low-impact quote can still execute worse if the market moves; a high-impact quote may execute close to its estimate and still be expensive relative to the reference price.

Pool or route fees can also reduce output. They are trading costs associated with the swap route, and the displayed output estimate may already account for them. Check the quote details to see whether the interface lists route fees separately. Do not add a displayed fee twice if it is already reflected in the estimated amount received.

Which charges come from Solana?

Solana’s transaction fee is charged in SOL for processing the submitted transaction. It is separate from the token amount exchanged. The fee can include a base fee and, when requested, a priority fee intended to increase the transaction’s processing priority. Wallets commonly show an estimate before signing, then the transaction uses the instructions and fee settings actually submitted.

Some swaps also need account setup, such as creating an associated token account to receive a token. That can require SOL to be placed as a rent-exempt balance. It is not the same as a network fee: the balance is held in the account rather than paid to validators as a transaction charge, and it may be recoverable if the account is later closed under the relevant rules. A wallet’s “SOL needed” figure can therefore include more than the fee itself.

  • Token output: the amount the quote says you should receive after the route and its trading costs.
  • Price impact: the change in effective exchange rate caused by trade size against available liquidity.
  • Network fee: the SOL cost to process the transaction, including any priority fee.
  • Account funding: SOL set aside for required token-account setup, where applicable.

How can I check the cost before swapping?

Read the quote and wallet review as two related but separate records. The quote tells you the input, estimated output, route, and any stated price impact or slippage setting. The wallet review tells you the transaction’s SOL fee estimate and whether it needs to create or fund an account. After execution, the transaction record can show the actual fee and token movements.

For a quick check, compare the token amount leaving your wallet and the amount arriving with the change in SOL. If SOL falls by more than the displayed transaction fee, look for account funding or another transaction instruction in the review. If the received token amount is lower than the quote, consider execution movement and the configured slippage limit; that difference is not automatically a Solana fee.

The practical takeaway is to judge the trade by its expected output and judge network cost by the SOL debit. Before signing, check both, along with any account setup. What can change next is the quote as liquidity or market prices move, and the fee estimate if the transaction settings change.