The calculation of transaction fees in a blockchain network varies depending on the specific blockchain and its underlying protocol. However, the general concept is similar across many blockchain systems. But keep in mind that details may differ between different cryptocurrencies. Network Congestion: The transaction fee often depends on the current state of network congestion. When the demand for transactions is high, users may need to pay higher fees to incentivize miners/validators to prioritize their transactions.   Transaction Size: In most blockchain networks, the size of a transaction in terms of data (measured in bytes) plays a role in determining the fee. More significant transactions require more data storage and processing power, and thus, they may incur higher fees. Gas or Fee Unit: Some blockchains use “gas” or a similar unit to measure the computational work required to process a transaction. Ethereum, for example, uses gas, and the fee is calculated based on the gas consumed by a transaction multiplied by the current gas price. Gas Price: The gas price is the cost per unit of computational work in the network. Users set the gas price when they submit a transaction. Higher gas prices increase the likelihood of miners/validators including the transaction in a block. Priority: Some blockchains allow users to prioritize their transactions by paying a higher fee. Miners/validators are likelier to include transactions with higher fees in the blocks they mine/validate. In the CrowdSwap platform, we are calculating in the following order: DEX fee(It will vary based on the DEX found in the best price routing process.)  and CrowdSwap fee(0.1 percent of the amount in) In addition to network costs(the factors affecting it were mentioned above).