Formula:
Total Cost = Price per Share × Number of Shares [Invested Amount]
New Total Value = New Price per Share × Number of Shares [Return Amount]
Gain = New Total Value - Total Cost [Profit]