# Fees

### Swap Fees

Swap fees are distributed pro-rata to all [active liquidity positions](/price-ranges/price-moves-in-ranges.md#active-liquidity) at the time of the swap. If the spot price moves out of a position’s range, that liquidity becomes inactive and stops generating fees. When the spot price reenters the position’s range, the liquidity becomes active again and generates fees.

Swap fees are not automatically reinvested. Instead, they are collected separately from the pool and must be manually redeemed by the owner of [LP NFT](/concentrated-liquidity/nft-lp-tokens.md) to collect their fees.

### Custom Fees

TONCO allows pool creators to set the pool fee with three options available during pool creation:

* **0.05% fee** with tick spacing of 10\
  Best for stable pairs, as the price risk for liquidity providers holding these assets is very low
* **0.3% fee** with tick spacing of 60\
  The most balanced option for the majority of pairs
* **1% fee** with tick spacing of 200\
  Can be used only if you have a highly volatile token (during updates or a launch) and you expect significant trading activity where traders won’t be concerned about the fee

Tick spacing sets the intervals between price points (or “ticks”) in a liquidity pool. For example, with a tick spacing of 60, each tick is 0.6% apart from the next price level.

<figure><img src="/files/cQpjfVUTOILT2csH5dil" alt=""><figcaption></figcaption></figure>

**TONCO retains 20% of fees generated, with the remaining 80% going to liquidity providers.**

If you need to set a different fee, TONCO team can create a pool with any fee or change the fee in your created pool. To do so, please contact us at [TONCO Support](https://t.me/pea_tonco).

## The tick to price formula

On TONCO, liquidity positions are [represented as NFTs](/concentrated-liquidity/nft-lp-tokens.md), and each NFT contains metadata specifying **the** [**price range**](https://github.com/cryptoalgebra/tonco-gitbook/blob/main/concentrated-liquidity/broken-reference/README.md) selected by the liquidity provider:

<figure><img src="/files/RnzszvBtUKwgzCPVCyVj" alt="" width="563"><figcaption><p>LP NFT on TONCO DEX</p></figcaption></figure>

📌 **Example:**

Take a look at this position: [View on TonViewer](https://tonviewer.com/EQAy5YMXX7e3916Io3Mi9DG3Xf7UAz2bKMMioYCOeYlDm7Ry?section=nft)

Its tick range: \[-62160 → -56100]

***

We use **the following formula** to convert ticks to price:

<figure><img src="/files/yUcFksjzHkr9zjIonemE" alt="" width="263"><figcaption><p>Tick to price formula on TONCO DEX</p></figcaption></figure>

Where:

• **tick** = tick value from the NFT

• **decimals\_S0** = decimal places of token 0 (base asset)

• **decimals\_S1** = decimal places of token 1 (quote asset)

#### Finding Token Decimals

You need to check the decimal places of **Token 0** and **Token 1**.

For example, in the **TON/USDT** pair:

• **TON** has **9 decimals**

• **USDT** has **6 decimals**

{% hint style="info" %}
*You can find these values in a blockchain explorer **under the metadata section** of the token*
{% endhint %}

<figure><img src="/files/Oqoo6uSyvxDYvtDMaS6l" alt="" width="563"><figcaption><p>USDT jetton metadata</p></figcaption></figure>

#### Applying the Formula

Let’s calculate the prices for tick -62160 and -56100:

<figure><img src="/files/8pY3JDoszsNvYgMz9Mnl" alt="" width="190"><figcaption><p>Tick -62160</p></figcaption></figure>

**Price = 1.9978 USDT per TON**

<figure><img src="/files/VO0rsQNvEcCdESoOoahl" alt="" width="195"><figcaption><p>Tick -56100</p></figcaption></figure>

**Price = 3.6621 USDT per TON**

When you look at your position in the [**TONCO UI**](https://app.tonco.io/#/pools), the selected range appears like this:

<figure><img src="/files/3r838UOT9gmgFaFKFbT1" alt="" width="563"><figcaption><p>TON/USDT pool on TONCO DEX</p></figcaption></figure>

### <mark style="background-color:yellow;">The dynamic fee system is expected to launch in 2025</mark>

TONCO brings a dynamic fee structure that automatically adjusts in response to market volatility, significantly improving efficiency. The platform dynamically modifies fees for each liquidity pool based on the current level of volatility, enhancing both fee generation and trading activity.

There will be the ability to set different volatility-based fee ranges for both buying and selling. This allows each liquidity pool to implement a customized fee structure that aligns with specific market conditions. As a result, fees become more reflective of the market’s risk profile, leading to increased trading volume and higher fee generation.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tonco.io/concentrated-liquidity/fees.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
