The cost basis is how much money you spent to get an asset and is used to calculate your taxes. It includes the purchase price, transaction fees, brokerage commissions, and any other relevant costs.