# Dynamic Swap Fee Mechanism

* Below is an explanation of how dynamic swap fee is determined.&#x20;

<figure><img src="https://10312106-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FHTx82Zw4cbBI4IvwYBeq%2Fuploads%2FJW9CKZHs79fPupCpqg84%2F(Update)%20Akronswap%20Protocol.pptx%20(2).png?alt=media&#x26;token=4b1e8bb9-66d3-449e-86e7-3316364aac2b" alt=""><figcaption></figcaption></figure>

* The *pool's price before swap* is equal to the price before the first swap of the block. Thus, every swap uses this reference price for the *pool's price before swap*.
* Below are a few examples of dynamic swap fee for ETH/USDC pool.

<table><thead><tr><th width="187" align="center">Price before Swap</th><th width="158" align="center">Price after swap</th><th width="157" align="center">Execution price </th><th align="center">Dynamic Swap Fee</th></tr></thead><tbody><tr><td align="center">2000 USDC</td><td align="center">2200 USDC</td><td align="center">2080 USDC</td><td align="center">$120 (6%)</td></tr><tr><td align="center">2000 USDC</td><td align="center">1999 USDC</td><td align="center">1999.02 USDC</td><td align="center">$0.02 (0.0002%)</td></tr><tr><td align="center">2000 USDC</td><td align="center">1999 USDC</td><td align="center">1999.6 USDC</td><td align="center">$0.6 (0.03%)</td></tr></tbody></table>
