How to calculate California cost basis for HSA capital gains
Moved to California a few years ago and finally realized the state doesn't treat HSAs like the federal government does. I've been investing inside my HSA — mostly index funds and some individual stocks — and now I'm trying to figure out how to calculate California cost basis for HSA capital gains on my CA state return. Federally everything is sheltered, but California taxes HSA earnings as regular income and the gains as capital gains. My broker's 1099-B shows the federal cost basis for covered securities, but I'm not sure if I can just use that same number for the state return or if I need to track something separately. I've never filed a CA Schedule D before. Do I just use the same purchase price as my federal basis, or does California require a different starting point?