Price impact affects the original quote for your trade, slippage describes the deviation from that quote at execution, and tolerance sets the permitted boundary for an adverse change. Tolerance is not a fee: setting it to 0.5% does not mean 0.5% will necessarily be deducted. It does not cap every swap expense either. Start with the expected token amount and the displayed minimum received, then identify the fees. Uniswap: price impact, slippage tolerance.
This article considers an exact-input swap: you specify what you spend and evaluate the output. An exact-output swap instead limits the input needed to obtain a specified output; the minimum-output calculation below does not apply to it.
Four quantities you cannot automatically add together
| Quantity | What it means | When to read it |
|---|---|---|
| Price impact | The effect of your own trade's size on price relative to available liquidity | In the quote for the chosen amount and route |
| Realized slippage | The deviation of the executed result from the selected quote | After execution, comparing equivalent quantities |
| Slippage tolerance | The permitted boundary for an adverse deviation | Before signing, alongside the minimum output |
| Fees | Explicit charges for the swap, interface or network processing | In the quote details and confirmation; establish which are already included in output |
Price impact depends on trade size and the liquidity along its route. A protocol's total TVL or a token's daily volume does not tell you how much a specific swap will return. You need a quote for that amount and route. Uniswap's explanation.
If the initial output is already unacceptable, raising tolerance does not add liquidity or improve that price. You can request a fresh quote for a smaller amount or another available route and compare the result with its costs. Splitting a swap is not guaranteed to save money: it adds operations, and market conditions can change.
What to expand before confirming
Record the network, exact tokens, input amount and expected output. Then expand the route details, impact, fees and minimum. Uniswap's web-app documentation lists separate Fee, Network cost, Order routing, Price impact and Max slippage fields. The information beside Max slippage reveals the minimum output. Other interfaces can use different labels and definitions. The Swap screen fields.
One more distinction matters: is an output amount before or after fee deductions? Jupiter's documentation, for example, distinguishes the route's output before fees from the final tokens received by the wallet after fees. Comparing those without adjustment would produce misleading “slippage.” It also separates receiving a quote from having a transaction ready to submit: a displayed number alone does not establish that the swap can execute. Jupiter: Order & Execute.
The useful outcome is a concrete condition, not a collection of percentages: “I spend this amount, expect that amount, sign for this minimum, and pay these additional costs.”
Example swap: 1,000 USDC for an expected 490 TOKEN
These are hypothetical inputs, not a current Uniswap or Jupiter quote. Assume:
- The fixed input is 1,000 USDC. Expected output Q = 490 TOKEN already incorporates price impact and all deducted trading and interface fees.
- Tolerance s = 0.5% = 0.005, or 50 basis points, specifically means the maximum reduction in output quantity relative to Q.
- The network cost is paid separately and equals 3 USDC at the assumed conversion rate. No additional approval, account creation or bridge operation is required, and the token has no special transfer charge.
Under that definition of tolerance, minimum output is:
Q × (1 − s) = 490 × 0.995 = 487.55 TOKEN.
This is a boundary, not a prediction:
| Possible result | Comparison with the minimum | Interpretation |
|---|---|---|
| 489 TOKEN | Above 487.55 | This threshold permits the result; other transaction conditions must still be met |
| 487 TOKEN | Below 487.55 | If this threshold is enforced, the swap should not complete with that output |
Suppose the swap succeeds and you receive 489 TOKEN. The adverse deviation in output quantity is:
(490 − 489) ÷ 490 × 100% ≈ 0.20408%.
Tolerance was 0.5%, while realized deterioration was about 0.20408%. The full tolerance is not automatically charged.
If Q stays unchanged and you widen this output-based tolerance to 2%, the calculation becomes:
490 × (1 − 0.02) = 480.20 TOKEN.
You are allowing a smaller output. This is neither a new fee nor a promise that the transaction will succeed. In an actual interface, changing a setting can alter the quote or route, so read them again.
This formula is not universal. Services can define the percentage differently and apply token rounding. For example, the published Uniswap v3 SDK code uses Q divided by (1 + s), rather than Q multiplied by (1 − s), for the relevant exact-input calculation. That demonstrates different conventions; it is not a description of the current Uniswap screen. For an actual swap, use the minimum received in the final confirmation and the terms of the transaction you sign. Official minimumAmountOut code.
What did each TOKEN cost?
The quote's average price, excluding the separate network cost, was:
1,000 ÷ 490 ≈ 2.04082 USDC per TOKEN.
With 489 TOKEN received and a network cost equivalent to 3 USDC, average expenditure per received token becomes:
(1,000 + 3) ÷ 489 ≈ 2.05112 USDC per TOKEN.
At the minimum output of 487.55 TOKEN and the same network cost, it would be 1,003 ÷ 487.55 ≈ 2.05722 USDC per TOKEN. A 0.5% tolerance therefore does not limit all costs relative to a reference price to 0.5%.
Do not deduct trading fees or price impact again: the example explicitly includes them in the 490 TOKEN quote. In a real swap, add only expenses not already accounted for in the amounts you use. If an approval, account creation, bridge transfer or token charge is required, this example's assumptions are incomplete; include the actual costs of those operations. Network processing is separate from the token amount in an ordinary swap quote. Uniswap: network cost.
There is another attribution trap. Suppose a reference screen shows 2 USDC per TOKEN, implying 500 TOKEN for 1,000 USDC. The difference between 500 and the quoted 490 is 2% in output quantity. You cannot label all 2% as pure price impact: this quote already includes fees, and the reference price may come from a different source or time. First establish what the comparison measures.
If the swap fails
Before trying again, check the previous attempt's status: not submitted, pending, successful or failed. Failure alone does not identify its cause. Jupiter's documentation distinguishes tolerance failures, insufficient funds and route problems; numerical error codes depend on the version and interface. Jupiter's error guide.
| Observed symptom | What to check | Next action |
|---|---|---|
| Slippage exceeded / too little received | The attempt's status, a fresh quote, its minimum and route | Refresh the quote. If the new minimum is unacceptable, do not confirm |
| Insufficient funds | The input-token balance and funds for network costs and required additional operations | Address the specific shortage or reduce the amount; increasing tolerance does not fix it |
| Expired quote, no route or no prepared transaction | Quote validity, selected network, pair and route availability | Request a new quote; if a transaction still cannot be prepared, stop |
A low tolerance can indeed cause failure, while a high one permits fewer tokens. That does not establish a universal setting for every swap. After changing a setting, check the updated terms instead of signing again without understanding the previous result. Uniswap: slippage settings.
If a transaction reaches the network and fails during execution, gas can still be spent. A wallet rejection or a failed check before submission is different: not every unsuccessful attempt is a paid on-chain transaction. Uniswap: network costs.
Where Yieldo's monitor helps
Yieldo's arbitrage monitor helps compare exchange quotes and identify depth and route limitations. Its available-volume estimate in USDT uses the smaller amount at the best buy and sell prices; missing required sizes mean the value is unknown. This is not the whole A list of buy and sell orders with their prices and sizes. A trade occurs when compatible orders from two sides are matched., a maximum “safe” trade size or a DEX quote for your chosen amount. The snapshot can also lag the market. Your swap's minimum received requires its own quote, not the monitor's spread.
After a successful swap, open the confirmed transaction and compare the tokens actually received with the last accepted quote. Compare pre-fee output with pre-fee output, or the wallet's final receipt with an equivalent net amount, and account separately for external costs. That shows what changed between expectation and execution without mixing fees, the effect of trade size and the tolerance you authorized.