Skip to the article
Crypto Today

What changed in crypto today

How to estimate the full cost of a cross-chain swap

Estimate a cross-chain swap by adding source-chain gas, bridge or route fees, destination costs and slippage, then compare the final amount received.

The Crypto Today Editors3 min read

How to estimate the full cost of a cross-chain swap

Estimate a cross-chain swap by comparing the value you spend with the value you expect to receive, including gas on both chains, route fees and slippage. The displayed fee is only one part of that total: some costs are taken from your input, while others reduce the amount delivered.

The useful number is the destination value after every charge, not the route’s headline fee.

What costs make up a cross-chain swap?

A cross-chain swap can involve a transaction on the source chain, a bridge or routing charge, and a transaction on the destination chain. Gas pays for network activity and is usually denominated in each chain’s native token, so you may need that token in both wallets even if the swap itself uses other assets.

Some routes require an approval transaction before the swap; that can mean a separate source-chain gas charge. A route may also take a fee from the input or output, or account for it in the quoted exchange rate. When comparing route mechanics, this guide to choosing a Biswap cross-chain route gives more detail on what to inspect.

Slippage is the difference between the quoted and executed output as prices or available liquidity change while a transaction is processed. Price impact is the effect the trade itself has on the price, particularly in a shallow pool. A route with several swaps can have more points where the final amount may differ from the initial quote.

How do you compare the total cost?

Start with the quoted amount you will spend and the destination amount you are expected to receive. Convert both to the same reference currency using the same valuation method, then subtract the destination value from the source value. That difference is an estimate of the total cost, though it can also reflect the assets’ relative prices.

  • Include source-chain gas and any approval transaction.
  • Include bridge, routing and swap fees, whether itemised or built into the quote.
  • Include destination-chain gas, including any amount taken from the output.
  • Allow for slippage by checking the minimum output and the route’s price impact.

For a quick comparison, record the input, quoted output, minimum output, estimated gas and any separate fees for each route. Compare the same input size and destination asset; otherwise, different price impact or token prices can make the totals misleading. The route with the lowest stated fee may not deliver the most value.

What can change the estimate before completion?

Gas prices move with network demand, while swap prices and liquidity can shift between a quote and execution. Quotes may expire, and a route with multiple steps can take longer to complete than a single-chain swap. Treat the displayed output as an estimate, and check whether the interface shows a minimum amount you will receive.

Before submitting, confirm the source and destination networks, token addresses shown by the interface, and the destination wallet. Check that you have the required native gas tokens and understand what happens if a route fails or only partly completes. The practical choice is usually the route with a clear fee breakdown and acceptable minimum output, not simply the smallest advertised fee.