# tradingFeePPM()

{% code title="CarbonController.sol" overflow="wrap" lineNumbers="true" %}

```solidity
    function tradingFeePPM() external view returns (uint32);
```

{% endcode %}

This function returns the network default trading fee, represented in PPM (parts per million). However, every pair might have a custom fee setting for it, so it is advised to follow the process outlined in [pairTradingFeePPM()](https://docs.carbondefi.xyz/contracts-and-functions/carboncontroller-functions/read-functions/pairtradingfeeppm) function.

For example a PPM of 2,000 represents a 0.2% trading fee:&#x20;

2,000 / 1,000,000 = 0.002 = 0.2%

{% hint style="danger" %}
To operate with accurate fee values, please use the [pairTradingFeePPM()](https://docs.carbondefi.xyz/contracts-and-functions/carboncontroller-functions/read-functions/pairtradingfeeppm) function.
{% endhint %}
