Irene2805
Expert Alumni

Investors & landlords

It seems that your initial assumption, that your gain is B-A is correct.  It's that 0.005 that's puzzling.  It is either:

  • still in your account; or
  • sold and used by the brokerage to pay your transfer fees.

In either situation, your gain/loss is B-A.