How to calculate capital gains on mutual fund sale — what actually goes on Form 8949?
Finally sold out of a mutual fund I've held for years across multiple purchases. My 1099-B came in and it's showing a bunch of different lots with different dates and cost bases. I know I need to report this but I'm confused about how the gain is actually calculated. Do I just subtract what I paid from what I received? And does it matter that some lots are short-term and some are long-term? I tried reading the Schedule D instructions but they kept pointing me back to Form 8949 and I got turned around. The fund company used average cost basis — I'm not sure if that changes anything. Any help walking through the actual math and which forms to use would be really appreciated.