How does capital gains tax on sale of stock actually work?
Sold some shares this year for the first time and trying to understand how capital gains tax on sale of stock gets calculated before I file. I bought shares at different times — some I held for over a year, some for only a few months. My broker sent a 1099-B and I see proceeds and cost basis listed, but I'm not sure how the holding period changes what I owe or which forms I actually fill out. I tried reading through the IRS topic page on capital gains but got lost when it started talking about Schedule D vs. Form 8949 and which parts go where. Do I need both forms? Does every sale get listed separately? And does the holding period really make that big a difference in terms of the rate?