CCalclabhub

Trading & Investing

Total fees

The commission is charged on both sides of the trade.

Last updated

The Formula

Fees = (Entry x Qty + Exit x Qty) x Fee rate

The commission is charged on both sides of the trade.

SymbolMeaning
EEntry price
XExit price
QQuantity
rFee rate

What Each Symbol Means

Ecurrency

Entry price

Price the trade was opened at.

Xcurrency

Exit price

Price the trade was closed at.

Qcount

Quantity

Units traded.

rrate

Fee rate

Commission 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 trading 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 Trading Profit, filed under Finance. Every number the guide produces comes from substituting into this one line.

Common Questions

What is the formula for Total fees?

The formula for Total fees is Fees = (Entry x Qty + Exit x Qty) x Fee rate. The commission is charged on both sides of the trade.

What does each symbol in Total fees stand for?

E is entry price; X is exit price; Q is quantity; r is fee rate.

What units should I use with Total fees?

Substitute E in money (any currency, as long as every money input uses the same one), X in money (any currency, as long as every money input uses the same one), Q as a plain count, 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 Total fees?

Charging the fee on one side only. Both the entry and the exit notional are charged. Applying the rate once understates the cost and overstates the return.