How it works
Weight each purchase by quantity, including its fee in the acquisition cost. Compare the total cost with estimated proceeds after the selling fee. Use the same quote currency throughout.
Use these examples for education and planning. Actual execution and costs can change results.
Worked example
Buying one unit at 100 and two at 130 gives an average of 120 before fees. An unweighted average would give the wrong cost basis for the position.
Sources and verification
For education. Examples are illustrative, and actual costs or losses may differ. This is not personal investment or tax advice.