This calculator works out the earnings (interest, dividends, capital gains) that have accumulated on an excess contribution to a Health Savings Account (HSA), which you must remove along with the excess amount itself to avoid a 6% excise tax. You enter the excess contribution amount, the date it was made, and the date you are removing it, and the calculator estimates the earnings using a reasonable rate of return you provide. The result is the taxable earnings figure you report on your tax return and include in the distribution.
Formula
The formula used is the simple interest approximation for earnings on an excess contribution:
Earnings = Excess Contribution × (Annual Rate of Return / 100) × (Days Held / 365)
Where:
- Excess Contribution – the amount you contributed over the annual HSA limit (in USD).
- Annual Rate of Return – the average annual return your HSA investments earned (in percent). Use the actual return if you know it, or a reasonable estimate like the HSA’s average balance growth.
- Days Held – the number of days between the date the excess contribution was made and the date you remove it.
This is a simplified method. The IRS does not prescribe a single formula; it says to use a “reasonable” method that reflects the actual earnings attributable to the excess. Many financial institutions use a daily balance method or an average balance method. This calculator uses a straight-line proportion, which is acceptable for most cases.
Worked Example
Suppose you contributed $1,000 too much to your HSA on January 1, and you discover it on December 31 (365 days later). Your HSA had an average annual return of 5%.
- Convert the annual rate to a decimal: 5% / 100 = 0.05.
- Calculate the annual earnings: $1,000 × 0.05 = $50.
- Adjust for the holding period: $50 × (365/365) = $50.
The estimated earnings are $50. You would need to withdraw $1,050 (the excess plus earnings) from the HSA by the tax filing deadline (including extensions) to avoid the 6% excise tax.
Assumptions
- Simple interest, not compounding – if earnings were reinvested, actual earnings may be slightly higher.
- The rate of return is constant over the holding period – real returns fluctuate.
- The excess contribution was made in one lump sum – if contributions were made throughout the year, a more precise calculation would weight each contribution by its time in the account.
- No fees or expenses are deducted from the earnings.
Why You Need to Calculate Earnings
When you make an excess HSA contribution, the IRS requires you to remove not only the excess amount but also the net income attributable to that excess. If you only withdraw the principal, the excess remains in the account and you are subject to a 6% excise tax each year until it is corrected. The earnings you withdraw are taxable income in the year of the withdrawal, but they are not subject to the additional 10% penalty if you withdraw them as part of the correction.
How to Use This Calculator Correctly
To get an accurate estimate, follow these steps:
- Determine the exact amount of excess contribution – check your contribution records against the annual limit (for 2025: $4,300 for self-only, $8,550 for family, plus $1,000 catch-up if 55 or older).
- Identify the date(s) the excess was contributed – if you made multiple contributions, you may need to calculate earnings separately for each, or use a weighted average.
- Estimate the rate of return – use your HSA’s actual annual return percentage if available, or a conservative estimate like the average return of your HSA’s investment options. If your HSA is in cash, the rate might be the interest rate paid on the cash balance.
- Enter the number of days from the contribution date to the removal date (the date you plan to withdraw the excess).
This calculator gives a single lump-sum estimate. For contributions made on different dates, calculate each portion separately and sum the earnings.
Common Mistakes and Misconceptions
One common mistake is ignoring earnings entirely and just withdrawing the excess principal. That leaves the excess in the account, triggering the 6% excise tax. Another is using the current account balance to estimate earnings – that includes gains on your other contributions, which are not part of the excess. Also, some people think the earnings are tax-free like normal HSA distributions – they are not; they are taxable income in the year you withdraw them.
Another misconception is that you can wait until the end of the year to correct the excess. The deadline is the tax filing deadline (usually April 15 of the following year), plus extensions. If you miss that, you must file Form 5329 and pay the 6% excise tax for each year the excess remains.
Alternatives to This Calculation
If you prefer not to calculate earnings yourself, you can ask your HSA administrator to compute the net income attributable to the excess. Many administrators have an established method and can process the withdrawal for you. However, if you do it yourself, you must keep records of your calculation method and the date you used. The IRS accepts any reasonable method, but you must be consistent.
Frequently Asked Questions
What if I don’t withdraw the earnings, only the excess?
If you withdraw only the excess principal, the earnings remain in the HSA and are treated as an excess contribution for that year. You will owe the 6% excise tax on the remaining excess (the earnings) each year until you correct it. To avoid this, you must withdraw both the excess and the earnings.
How do I report the earnings on my tax return?
The earnings you withdraw as part of the excess correction are reported as “Other income” on line 8 of Form 1040 (or Schedule 1, line 8z). You do not pay the 10% early distribution penalty on this amount because it is a correction of an excess contribution, not a regular distribution. You may also need to attach a statement explaining the correction.
What if the excess contribution was made in the previous tax year?
You can still correct it in the current year, but you must include the earnings from the date of contribution to the date of withdrawal. The 6% excise tax applies for each year the excess remained, so you may need to file Form 5329 for those years. The calculator works the same, just use the actual number of days held.
Is the rate of return the same as my HSA’s annual statement?
Not necessarily. Your annual statement shows the overall return on your entire HSA balance, which may include contributions made at different times. For the excess, you need the return attributable to that specific amount. If your HSA invests in a single fund, you can use that fund’s return. If your HSA is in cash, use the interest rate paid on cash balances.
Can I use a different method to calculate earnings?
Yes, the IRS allows any reasonable method as long as it is consistent. For example, you could use the actual investment earnings on the excess if you can trace them, or use the average balance method. This calculator uses a simple proportional method, which is acceptable for most situations. If you use a different method, keep documentation of how you calculated it.