First in, first out (FIFO)
FIFO assumes you sell your oldest stock first. Each sale takes the cost of the earliest batch until it runs out, then the next. When prices rise, FIFO gives a lower cost of goods sold, a higher profit and a stock value close to today's prices.