SunSwap Swap & Liquidity Calculator

Choose a SUN.io pool and see what a swap really costs, or how much providing liquidity earns after fees, impermanent loss and the TRX network costs, with live pool data and the Energy measured on real transactions.

💧 Pool 251 pools with liquidity or volume

You receive (estimate)

–

Pool fee

–

Price impact

–

Network cost (rent)

–

Total cost

–

Rent Energy before you swap or add liquidity and save on every transaction →

Pools from SUN.io, updated every hour (last 2026-11-23 14:42 UTC). Energy per operation = median of real SunSwap router transactions (last 30 days); "estimate" = not enough measured transactions yet. Burn: 100 SUN per Energy, 1,000 SUN per bandwidth byte. Rent: 26 SUN per Energy (TronRental). TRX = $0.3075.

How the calculator works

Every operation on SunSwap has two costs: the pool fee (0.01%–1% of the amount, paid in the token and earned by liquidity providers) and the network cost (Energy and Bandwidth, paid in TRX by burning or with staked or rented Energy).

  • Swap cost = pool fee + price impact + network cost. Price impact is estimated for V1/V2 constant-product pools; for V3/V4 it depends on the liquidity in the current price range.
  • Fees earned = liquidity × APR × months ÷ 12, with the APR from the 7-day average or the last 24 hours of volume, plus farming rewards when the pool has them.
  • Impermanent loss = 2√r ÷ (1 + r) − 1, where r is the price change between the two tokens: what you lose compared to simply holding them.
  • Transaction costs: approve of each TRC-20 token (first time), add liquidity, collect fees (V3/V4), remove liquidity, each with the Energy it really uses.

V3 and V4: concentrated liquidity

In V3 and V4 pools you choose a price range. Inside the range your liquidity earns more fees than in a V2 pool; outside it earns nothing and the impermanent loss is larger. The calculator uses the pool APR and the full-range formula: treat it as a reference, not as the result of a narrow range.

Pay less for every swap

Most SunSwap contracts (sun.io UniversalRouter, V2 router, V4 positions, USDD PSM) use energy sharing: the contract pays about 99% of the Energy, so a swap costs you little Energy but around 1,000 bytes of bandwidth, about 1 TRX if you have no free or staked bandwidth. V3 contracts do not share: there you pay the full Energy, and renting it makes a big difference. Compare live prices on our Energy marketplace and see the cost of every SUN.io operation in our TRON fee guide.

Frequently asked questions

How much does a swap on SunSwap cost?
The pool fee (0.01% to 1% of the amount) plus the network cost. On sun.io the swap contract pays about 99% of the Energy (energy sharing), so you mostly pay bandwidth: about 1 TRX if burned, nothing with free or staked bandwidth. Swaps made inside a wallet such as TronLink can add a routing fee (0.85% observed). The first swap of a TRC-20 token also needs an approve.

How much can I earn providing liquidity on SUN.io?
It depends on the trading volume of the pool compared to its liquidity: the APR shown for each pool is the fee income of the last 24 hours or the 7-day average, annualized. Farming rewards are added when the pool has them.

What is impermanent loss?
When the price of one token changes against the other, the pool rebalances your position: at withdrawal you have less value than if you had just held the two tokens. With a 2× price change the loss is about 5.7%, with 5× about 25%. It disappears if the price returns to the starting point.

Why is the swap network cost so high compared to a small swap?
The Energy and bandwidth of a swap do not depend on the amount. With energy sharing the network cost is small (about 1 TRX of bandwidth), but on V3 contracts you pay the full Energy: for small amounts it can exceed the pool fee, so renting Energy or swapping larger amounts less often makes a difference.

Are the results guaranteed?
No. Volumes and APR change every day, token prices move and farming rewards can end. The calculator uses current data for the whole period: treat it as an estimate.

Related

SUN.io fees per operation · JustLend Investment Simulator · All calculators

This simulator is for information only and is not financial advice.