Trading & Investing
Fees
The exchange charges the rate on both sides of the trade.
Last updated
The Formula
Fees = (Cost + Proceeds) x Fee rate
The exchange charges the rate on both sides of the trade.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| C | Cost | currency | Buy price times quantity. |
| P | Proceeds | currency | Sell price times quantity. |
| r | Fee rate | rate | Exchange fee per side. |
What Each Symbol Means
Ccurrency
Cost
Buy price times quantity.
Pcurrency
Proceeds
Sell price times quantity.
rrate
Fee rate
Exchange fee per side.
See It Worked With Real Numbers
A formula on its own does not tell you which number goes where. The how to calculate crypto profit page applies this equation to a concrete case, shows every intermediate step, and names the mistakes that produce a wrong answer even when the algebra is right.
Where This Formula Appears
This equation is the working core of How To Calculate Crypto Profit, filed under Finance. Every number the guide produces comes from substituting into this one line.
Common Questions
What is the formula for Fees?
The formula for Fees is Fees = (Cost + Proceeds) x Fee rate. The exchange charges the rate on both sides of the trade.
What units should I use with Fees?
Substitute C in money (any currency, as long as every money input uses the same one), P in money (any currency, as long as every money input uses the same one), r as a rate. Convert every input to those units before you start, because the equation only returns the right answer when the units on both sides agree.
What is a common mistake when using Fees?
Ignoring the spread on the fill. The quoted price is not always the filled price. On a thin market the slippage can exceed the trading fee and quietly reduce the realised profit.