How are capital gains calculated selling shares bought at different times?
I've been investing in the same ETF for about four years, adding shares every few months at different prices. I sold a chunk last month and my broker's confirmation just shows one proceeds number. I tried to figure out the gain myself but I have multiple lots with different purchase dates and prices and I don't know which ones the sale is coming from. My broker defaults to something called FIFO but I don't even know if that's what they used or if I could have chosen something else. How are capital gains calculated selling shares bought at different times? Do I have to track every lot separately on Form 8949, or is there some simpler way?