> For the complete documentation index, see [llms.txt](https://franky-murrey.gitbook.io/aptos-helper/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://franky-murrey.gitbook.io/aptos-helper/usage/gas-calculation.md).

# Gas calculation

Gas price and Gas limit calculation method

<div align="left"><figure><img src="https://4053290323-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIfK7rdLIiBmMN0rsB8dc%2Fuploads%2FkhNKSVpbiJ3PZhB5Ps0e%2Fgas_params_raw.png?alt=media&amp;token=04726b6b-f0f3-470e-9548-31c4fb4c654b" alt=""><figcaption><p>The Aptos Bridge transactions Gas parameters</p></figcaption></figure></div>

{% hint style="info" %}
Before every transaction is sent to the blockchain, the gas is estimated. This estimated gas amount will be used for the actual transaction,  so you can just set a high gas limit.
{% endhint %}

The best way to estimate the cost of gas for a transaction. Find the transaction of the protocol you need in the [explorer](https://explorer.aptoslabs.com/).

```
Gas fee = Gas Unit Price * Max Gas Limit
```

In the normal state of the network, the Gas Unit Price is almost always equal to 100 Octa.

```
100 Octa = 0.000001 APT
```

As a result, we get approx Gas params for transaction:

```
Gas Unit Price = 100
Max Gas Limit = 388
```
