# Maximum Service Fee

This is how the maximum service fee is calculated.

Where: SF is a service fee

BF is a base fee equal to 400,000

GF is the gas fee at a given moment

PF is a protocol fee equivalent to the sum of the basic fee and the additional 5% fee (1+0.05)

***Note: The basic fee may signiﬁcantly drop, possibly even in half.

Example: If current network gas price is 35 gwei, where gwei is,

Then the maximum service fee would be

*(Calculation was done on November 20, and the price of IDEX was equal to 0.00001122 ETH)*

As previously mentioned, this is the maximum service fee which means the user may be charged up to 50% less than that amount under certain conditions. This test was conducted on Optimism and the gas price was 0.5 gwei. That means the above number can be divided by 70 to get the service fee estimate. i.e. use 0.5 gwei instead of 35 gwei in the above equation.

Last updated