Realized Gain/Loss
Realized gain/loss is the cumulative amount of realized gains and losses resulting from the sale of securities. It's calculated by subtracting the initial cost from net proceeds.
Calculations for realized gain/loss do not take into account tax efficiencies, individual tax brackets, etc. We assume FIFO for sale of securities. Dividend is separated from any gain/loss.