<< Home | Money
Calculated $15.5k in unrealized capital gains
| Area | Money |
| AI used | Any |
| Source | r/tax |
| Posted | 2026-05-17 |
The move
Use an AI to verify your tax basis calculation methodology for non-conforming state HSA rules.Steps
- Export your full investment transaction history from your HSA provider.
- Calculate your total basis by summing all purchase costs and reinvested dividends.
- Input your methodology into an AI to verify if you are correctly accounting for state-specific tax rules.
- Subtract your total basis from the current market value to determine your unrealized gain.
Prompt for your AI
I am calculating capital gains for a [State Name] HSA account. My approach is to include all purchases and reinvested dividends in my basis, while ensuring I do not double-count transactions that appear as both a dividend and a buy. Does this methodology align with [State Name] tax rules for HSA investment gains?
What happened
The user needed to calculate capital gains for a California HSA, which is taxed differently than federal rules. They struggled to interpret tax articles and Reddit threads on their own. They used AI to confirm their logic for calculating basis and avoiding double-counting reinvested dividends.Watch out
AI can hallucinate tax laws; always verify the final calculation against official state tax forms or a professional accountant.Give it to your agent
Read https://howtheyuse.ai/p/calculated-15-5k-in-unrealized-capital-gains.md and help me do this.