Realized vs Unrealized Gain Calculator

This calculator helps individuals and financial planners compare realized and unrealized gains on investments. It breaks down taxable vs non-taxable investment profits for better personal financial planning. Use it to track your portfolio’s performance and tax liabilities at a glance.
๐Ÿ“ˆ

Realized vs Unrealized Gain Calculator

Investment Details

How to Use This Tool

Follow these steps to calculate your realized and unrealized investment gains:

  1. Enter the purchase price per share of your investment in the first field.
  2. Input the total number of shares you originally purchased.
  3. Add the current market price per share to calculate unrealized (paper) gains.
  4. If you have sold any shares, enter the number sold and the sale price per share to calculate realized (taxable) gains.
  5. Select your applicable tax rate for realized gains from the dropdown, or choose "Custom Rate" to enter a specific percentage.
  6. Click the "Calculate Gains" button to see a detailed breakdown of your investment performance.
  7. Use the "Reset" button to clear all fields and start a new calculation.

You can copy your full results to your clipboard using the copy button in the results section for easy record-keeping.

Formula and Logic

This calculator uses standard personal finance formulas to separate taxable and non-taxable investment gains:

  • Unrealized Gain = (Current Market Price Per Share - Purchase Price Per Share) ร— (Total Shares Purchased - Shares Sold). This represents paper profit on shares you still hold, which is not taxable until sold.
  • Realized Gain = (Sale Price Per Share - Purchase Price Per Share) ร— Shares Sold. This is profit from shares you have already sold, which is subject to capital gains tax.
  • Total Combined Gain = Unrealized Gain + Realized Gain. This is your total portfolio profit across all held and sold shares.
  • After-Tax Realized Gain = Realized Gain - (Realized Gain ร— Tax Rate รท 100). This is your net profit from sold shares after paying applicable taxes.

All calculations assume no transaction fees, commissions, or dividend reinvestments for simplicity. Adjust inputs to match your specific investment scenario.

Practical Notes

Keep these finance-specific tips in mind when using this calculator:

  • Short-term realized gains (assets held for 1 year or less) are taxed as ordinary income, which often has higher rates than long-term gains. Use the 37% tax rate option for short-term sales if applicable.
  • Unrealized gains are not taxable until you sell the asset, so they do not affect your current tax liability.
  • If your realized gain is negative (a loss), you may be able to deduct up to $3,000 of net capital losses from your ordinary income per tax year in the US. This calculator does not account for loss deductions automatically.
  • Tax rates vary by country, income level, and filing status. Always consult a tax professional for personalized advice on your specific situation.
  • Recurring investments or dividend reinvestments will change your average purchase price per share, which this calculator does not factor in by default.

Why This Tool Is Useful

This calculator helps you make informed personal finance decisions by clearly separating taxable and non-taxable investment profits:

  • Financial planners can use it to model client portfolio performance and tax liabilities for annual planning.
  • Individual investors can track paper profits vs actualized gains to decide when to sell assets for retirement or other goals.
  • It simplifies tax preparation by breaking down realized gains ahead of filing season, so you can estimate what you may owe in capital gains taxes.
  • The detailed breakdown helps you understand how market fluctuations affect your total portfolio value without manual math.

Frequently Asked Questions

What is the difference between realized and unrealized gains?

Realized gains are profits from assets you have already sold, which are subject to capital gains tax. Unrealized gains are paper profits on assets you still hold, which are not taxed until you sell the asset.

Do I have to pay tax on unrealized gains?

No, unrealized gains are not taxable in most jurisdictions until you sell the asset and "realize" the profit. You only owe taxes on gains when the asset is sold, not while you hold it.

How do I calculate my tax rate for realized gains?

Long-term capital gains (assets held for more than 1 year) have lower tax rates (0%, 15%, or 20% for most US taxpayers in 2024). Short-term gains (held 1 year or less) are taxed at your ordinary income tax rate, which can be as high as 37%. Check the IRS website or your local tax authority for current rates.

Additional Guidance

For the most accurate results, cross-check your inputs with your brokerage statements to ensure purchase prices, share counts, and sale details are correct. If you have multiple batches of shares purchased at different prices, calculate each batch separately and sum the results. Remember that this tool provides estimates only, and does not replace professional tax or financial advice. Update your calculations regularly as market prices change to keep track of your portfolio's current performance.