> For the complete documentation index, see [llms.txt](https://docs.ternoa.network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ternoa.network/getting-started/networks/substrate-layer-1/chain-fees/fees-calculation.md).

# Fees calculation

Here’s how the fees are calculated:&#x20;

*WEIGHT + BYTES\_LENGTH\_FEE*

### Example for a 100K CAPS balance transfer

The signed transaction is 152 bytes:

> `0x590284001a40e806c28a32dbac60f2b088c77a9ac3d3702011ac0e13579402ddcc21430801065848e44986dfdd3c82c45915650d2ea8b29a934c3578069a1f19ec3c1d530452c04bc8b3a4c4b02f831ee743cf1d696660ab3ea4fe82aea23a3c25c3f31a8a6502e50a00040000cc8c895b436901396bd1d43adb8fdd33e29da56765fe460eac9d9c7f027bff021b000080f64ae1c7022d15`

{% hint style="success" %}
*BYTES\_LENGTH\_FEE is calculated as 152 \* PER\_BYTES\_FEE (where PER\_BYTES\_FEE is fixed by the chain at 10^14).*&#x20;
{% endhint %}

BYTES\_LENGTH\_FEE = 152\*10^14 and a WEIGHT of 223,375,000.&#x20;

The total fees are therefore 152,000,000,223,375,000. (*Approximately **0.152 CAPS***)
