Source: http://fairmark.com/investment-taxation/capital-gain/stocks-and-other-securities/basis-stock-purchase/