Cost basis is the original price of an investment or asset used to calculate capital gains taxes. For US securities, the cost basis is calculated following the FIFO (First-In-First-Out) methodology. This methodology dictates that when selling of shares, the cost basis is determined based on the earliest acquired shares in a way that aligns with the sequence of acquisition.