@mantooth It largely depends on the country. AFAIK most use FIFO (first in, first out: you sell first your oldest shares), but others use LIFO (last in, first out: you sell first your newest shares), weighted average (purchase price is the average cost) or even low or high first (you sell first...