LIFO stands for Last-In First-Out. When you sell shares, LIFO matches the sale with your newest available purchase lot first.
For useful LIFO results, enter each buy and sell transaction with the correct date, number of shares, and price. Stock Events uses this transaction history to determine which shares were sold and which purchase lots remain.
For example, imagine that you make these transactions without fees:
With LIFO, the 10 shares bought most recently at $200 are treated as the shares that were sold. The realized profit is $1,000: ($300 - $200) × 10 shares.
The remaining position contains the older 10 shares bought at $100, so its average purchase price is $100 per share.
Selecting LIFO can change your realized profit or loss, the cost basis and average purchase price of your remaining shares, and your unrealized profit or loss. It does not change the transactions you entered.
The Holdings view recalculates after you select LIFO. You can return to the same menu at any time to choose another P/L calculation method.