Skip to main content
    Education only. Not financial, tax or legal advice. We never ask for wallet keys or seed phrases.Canadian rules dated October 2026
    Costs & feesRuns in your browser

    Price impact and slippage exposure calculator

    When you swap in a constant-product pool, your own trade moves the price, and your slippage tolerance sets how much worse a price you will accept. This calculator shows the expected output, the price impact, and the most that a sandwich attack or an adverse price move could take within your tolerance, so you can set limits that protect you.

    Mitey the yeti pointing, holding a clipboard, with a shield
    Mitey: Your slippage setting is the most a bad fill can cost you. Set it on purpose.

    Swap

    Total value in the pool you trade against.
    Most a bad fill could cost beyond the quote
    $48.64

    Expected output $4,863.77 after 2.43% price impact and the pool fee. Your tolerance lets the trade execute as low as $4,815.13.

    Exposure at other tolerance settings
    ToleranceMinimum acceptedRoom for a worse fill
    0.10%$4,858.91$4.86
    0.25%$4,851.61$12.16
    0.50%$4,839.45$24.32
    1.00%$4,815.13$48.64
    2.00%$4,766.50$97.28
    3.00%$4,717.86$145.91
    5.00%$4,620.58$243.19
    Price impact by trade size in this pool−0.08%9.98%20.03%$0.5k$3k$10k$50k
    Price impact

    Estimates from the inputs you enter, calculated in your browser; nothing is sent anywhere unless you choose to email results below. Example values are illustrative, not quotes or forecasts. Not financial advice, and not a recommendation of any protocol, token or platform. Formulas checked 2026-10-30.

    How to use it

    1. Enter your trade size in CAD.
    2. Enter the pool's total depth in CAD (both sides combined).
    3. Enter the pool's swap fee.
    4. Enter your slippage tolerance, as a percentage.
    5. Read the price impact and the maximum extra loss your tolerance allows, then try a lower tolerance or a smaller trade.

    Price impact in a constant-product pool

    A constant-product pool keeps the product of its two reserves fixed. Selling an amount into it returns R_out × Δx′ ÷ (R_in + Δx′), where Δx′ is your input after the fee. The larger your trade relative to the pool, the further the price moves during your own trade. The calculator assumes a pool split evenly by value with a starting price of one unit per CAD, and measures impact against what you would receive after the fee alone.

    In percentage terms, impact grows roughly in line with trade size for small trades, but its CAD cost grows much faster: in a pool with $1,000,000 of total depth and a 0.3% fee, impact costs about $194.92 on a $10,000 trade and about $4,519.46 on a $50,000 trade.

    Illustrative pool: $1,000,000 total depth, 0.3% fee.
    Trade sizePrice impact
    $1,0000.199%
    $10,0001.955%
    $50,0009.066%
    $100,00016.625%

    Slippage tolerance is the most others can take

    Your slippage tolerance sets the minimum output your transaction will accept. Everything between the expected output and that minimum is room that someone else can use. In a sandwich attack, a bot sees your pending swap in the public queue, trades just before it to worsen the price, lets your trade fill at that worse price and then trades back. What it can take is limited by the gap your tolerance allows. The same gap also absorbs ordinary price moves between signing and execution.

    Illustrative example: a $10,000 swap into the pool above. The expected output is $9,775.08 against $9,970.00 with no impact, a price impact of 1.955%. A 1% tolerance sets the minimum at $9,677.33, leaving up to $97.75 exposed.

    Same illustrative $10,000 swap at four tolerance settings.
    Slippage toleranceMinimum receivedMaximum extra loss
    0.1%$9,765.31$9.78
    0.5%$9,726.21$48.88
    1%$9,677.33$97.75
    3%$9,481.83$293.25

    How to limit your exposure

    A wider tolerance is sometimes needed for volatile or thinly traded tokens, but it is a decision to accept a worse price, and the calculator shows how much that decision could cost. These habits keep the exposure small:

    • Set the lowest slippage tolerance that still lets your trade go through, and avoid automatic settings that pick a wide tolerance for you.
    • Split large trades so each has less price impact, keeping in mind that each trade pays its own gas.
    • Prefer deeper pools for the same pair, since impact falls as depth rises.
    • Where your wallet offers it, consider private transaction submission that keeps swaps out of the public queue; it changes whom you are trusting.
    • Check the minimum received shown before you sign, not just the expected output.
    Failed is better than filled badlyA transaction that fails because the price moved beyond your tolerance costs only gas. A wide tolerance that always fills can cost far more across many trades.

    What the model leaves out

    Real pools may use concentrated liquidity, several fee tiers or routing through more than one pool, all of which change the impact curve. The calculator does not estimate how likely a sandwich is, which depends on the network, the trade size and how the transaction is submitted. The exposure figure is a ceiling set by your tolerance, not a predicted loss.

    See smart contract risk for the risks of the pool itself and wallet security for safe signing habits.

    Canadian context

    Under CRA's general crypto-asset guidance, each swap of one crypto-asset for another is a disposition. The CAD value you record is what you actually received, so price impact and any value lost to sandwiching are already reflected in your proceeds. Keep the records CRA asks for, including the date, CAD value and wallet addresses.

    Swaps on decentralized exchanges happen outside the registered-platform framework that Canadian securities regulators apply to crypto trading platforms, so there is usually no one to complain to if a trade goes badly; see regulation.

    Questions people ask

    What slippage tolerance should I use?

    The lowest that lets your trade go through. The calculator shows that each extra percentage point of tolerance on the illustrative $10,000 swap leaves about $98 more exposed.

    Does a sandwich always take the full tolerance?

    No. The figure is a ceiling. How much is taken depends on competition, costs and how your transaction is submitted.

    Why does a bigger trade cost so much more?

    Price impact rises with trade size, and its CAD cost rises faster still: about $195 on $10,000 versus about $4,519 on $50,000 in the illustrative pool.

    Does a private submission remove the risk?

    It can reduce exposure to public-queue bots, but it means trusting the service that handles your transaction. A tight tolerance remains the main protection.

    How do I report a swap in Canada?

    Record the CAD value of what you gave up and what you received. CRA treats trading one crypto-asset for another as a disposition.

    Save Your Results

    Email yourself these calculations or get notified about updates to this calculator.

    We respect your privacy. View our privacy policy.

    Sources and dates

    1. Canada Revenue Agency — Reporting income from crypto-asset transactionsDate modified 2025-12-02; checked 2026-10-30
    2. Canada Revenue Agency — Keeping books and records of crypto-assets for tax filingDate modified 2025-11-10; checked 2026-10-30
    3. Canadian Securities Administrators — Crypto Platforms: Regulation and Enforcement ActionsDate modified 2025-10-22; checked 2026-10-30