For a fixed-input swap, compare the quote, minimum output and total cost. Tolerance is neither a certain fee nor a security guarantee. Do not increase it without understanding why execution failed.

Floor for fixed input

Cap for fixed output

Validity limit
Read the asset and route
Check network, both token contract addresses, route and amount. Identical symbols do not establish identical assets. Multiple pools can add costs and dependencies; the quote should cover the whole route.
Calculate an explicit limit
Hypothetical example: a quote of 1,000 units and 0.5% tolerance gives a simplified minimum of 995 units. Wallet rounding and router rules can differ. Always check the actual signed value rather than the displayed percentage alone.
Separate quote, threshold and fees
Your order’s price impact may already be included in the quote. Tolerance permits additional movement without always being consumed. Network fees, preliminary approvals and token charges differ; a failed transaction may still use gas.
Handle failure or delay
Check whether price, deadline, balance, permission or contract caused the problem. Refreshing the quote may suffice. A wide tolerance permits unfavorable execution and some MEV scenarios. Inspect status before submitting another swap.
Check the limit for your type of swap
If you fix the amount spent, compare the quoted output and the minimum output the router must satisfy. If you fix the amount received, check the maximum input the swap can spend. This guide’s calculator models the first case. In either case, also check the token, recipient and any deadline in the signature request.
Check parameters
| Parameter | Purpose | Limit |
|---|---|---|
| Minimum output | Floor for fixed input | Not a guaranteed price |
| Maximum input | Cap for fixed output | Different from minimum output |
| Deadline | Validity limit | Not an inclusion time |
| Network fees | Processing cost | Possible even on failure |
From displayed price to execution price
The last traded price does not tell you how many tokens are available at that price. Explore a fictional three-level order book: each level has limited supply before a purchase moves to the next price.
Frozen fictional book · CU = accounting unit · best bid: 99 CU · best ask: 100 CU · spread: 1 CU.
Enter a quantity from 0.01 to 1,000,000 and, for a limit order, a price from 0.01 to 1,000,000. Use a decimal point or comma without thousands separators.
| Ask price (CU) | Available quantity | Filled quantity |
|---|---|---|
| 100 | 5 | 5 |
| 102 | 10 | 7 |
| 105 | 20 | 0 |
- Filled quantity
- 12
- Unfilled quantity
- 0
- Cost before fees (CU)
- 1,214.00
- Average price (CU/token)
- 101.1667
- Difference from best ask
- 1.17 %
This fictional book covers the full requested quantity.
Example: buying 12 tokens uses 5 × 100, then 7 × 102, costing 1,214 CU. The average price is 101.1667 CU, approximately 1.17% above the best ask. With a 100 CU limit, only 5 tokens fill and 7 remain unfilled in this snapshot.
Three checks before interpreting a price
- Which market?
- Compare the same pair and venue. A USD, EUR or stablecoin quote may use a different accounting unit.
- How much depth?
- Look at quantities close to your price and the size of your order. Past 24-hour volume does not guarantee available liquidity now.
- Which limit?
- Compare total cost, fees and execution conditions. Raising swap tolerance allows a worse result; it does not create liquidity.
Average price = sum of (price × filled quantity) ÷ filled quantity. Difference = (average price ÷ 100 − 1) × 100. Spread is separate: it is the difference between the best ask and best bid.
This model excludes fees, market rounding, latency, hidden orders and new offers. It does not model an AMM pool. A limit order may remain open or be cancelled depending on time-in-force; here, the remainder is simply displayed. No transaction is sent.
References on how orders work : Coinbase: Slippage · Coinbase: Order book
Calculate minimum output
Frequently asked questions
Does 1% tolerance mean losing 1%?
No. It permits unfavorable movement up to the defined limit; execution can be better.
Can tolerance be zero?
A very strict limit may cause failure as the quote changes. No universal setting fits every asset.
Does minimum output protect against malicious tokens?
No. Check contracts, permissions, restrictions and the entire route separately.
Verifiable sources
- Uniswap: Swap execution and protection parameters
Ethereum.org: Gas and fees
Ethereum.org: MEV- Coinbase: Slippage and order execution
Independent educational content reviewed against primary documentation. No personalized recommendation or promise of returns. Updated November 15, 2026
Prepare and continue reading

Useful background
- Liquidity and volatility: understand the price you can execute
Liquidity is the ability to buy or sell without moving the price sharply. Review spread, depth at several distances, credible volume, fragmentation, order size and withdrawal conditions. Historical volatility does not cap the next move.
- Understand crypto fees and the amount actually received
Total cost can combine a price spread, service commission, payment, withdrawal and network fees. Always compare the amount debited with the net amount received in the same asset or currency at approximately the same time.

Continue to the next step
- MEV: how transaction order changes execution
Compare price impact, liquidity and slippage tolerance. Private routing may reduce some exposure but introduces its own intermediaries and guarantees.
- Liquidity pools: net returns and divergence
Liquidity provision exposes you to asset prices, rebalancing and protocol risk. Displayed fees alone are not a net return.




