Explore comprehensive cost basis calculation methods for securities and investments, crucial for understanding capital gains and losses for tax purposes. Learn about FIFO, Specific Identification, and Average Cost methods, with practical examples and IRS guidelines.