> For the complete documentation index, see [llms.txt](https://docs.ln.exchange/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ln.exchange/perpetual/fees-calculation.md).

# Fees Calculation

## **How Perpetual Trading Fees are Calculated**

Fee = \
`"Number of contracts * contract value * transaction price * initial fee rate * VIP tier discount * fee discount`

* The initial fee rate depends on whether the user is a taker or a maker after the transaction.\
  The fee rates for takers and makers will vary.
* During the testing period, the VIP tier is not implemented; all users are treated as the same tier.
* Once the official launch occurs, VIP tiers will be introduced based on users' historical trading volume, with corresponding fee discounts.
* Fee discount refers to a 5% discount on fees if the user is invited via an LN Exchange invite link from another user."

## Fees

{% hint style="info" %}
\*The fees may be adjusted.
{% endhint %}

### Spot Trading

| Fees  | %       |
| ----- | ------- |
| Maker | 0.04%\* |
| Taker | 0.05%\* |

### Perpetual Trading

#### USDT-M

<table><thead><tr><th>Fees</th><th>%</th><th data-hidden>BTC-USDT</th></tr></thead><tbody><tr><td>Maker</td><td>0.02%*</td><td></td></tr><tr><td>Taker</td><td>0.05%*</td><td></td></tr></tbody></table>

#### ALTCOIN-M

| Fees  | %       |
| ----- | ------- |
| Maker | 0.04%\* |
| Taker | 0.1%\*  |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.ln.exchange/perpetual/fees-calculation.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
