The total costs associated with stock include the purchase price of the stock, any brokerage fees or commissions paid to buy or sell the stock, taxes on capital gains, and any other fees or expenses related to holding or trading the stock. Additionally, there may be costs associated with maintaining and managing the stock in a portfolio, such as account maintenance fees or investment advisory fees.