Capital Gains Tax Calculator
Calculate tax on investment gains based on holding period and income level.
Scratchpad (not saved)
Save to create a persistent, shareable workspace.
What This Calculator Does
Estimate tax impact from asset sales by modeling gain amount and holding period classification.
It combines Purchase Price (Cost Basis), Sale Price, Holding Period, Other Taxable Income to estimate Capital Loss, Gain/Loss, Tax Type.
Formula & Method
Notation used in the formulas: R = Capital Loss; x_{1} = Purchase Price (Cost Basis); x_{2} = Sale Price; x_{3} = Holding Period; x_{4} = Other Taxable Income; x_{5} = Filing Status.
Method summary: inputs are normalized to consistent units, core equations are evaluated, then secondary values are derived and rounded for display.
Use this before selling investments to compare after-tax proceeds across timing scenarios.
Inputs Used
- Purchase Price (Cost Basis): Original cost of the investment
- Sale Price: Price at which you sold (or plan to sell)
- Holding Period: How long you held the asset
- Other Taxable Income: Your other taxable income (for determining tax rate)
- Filing Status: Used directly in the calculation.
Related Calculators
- Mortgage Payment Calculator — Calculate monthly mortgage payments including principal, interest, taxes, insurance, PMI, and HOA. View full amortization schedule.
- Compound Interest Calculator — Calculate how your savings or investments grow over time with compound interest. See the effect of different compounding frequencies.
- Mortgage Affordability Calculator — How much house you can afford based on income, debts, down payment, and interest rate.
- Refinance Break-Even Calculator — Calculate when refinancing pays off given new loan terms and closing costs.
- ARM vs Fixed Calculator — Compare adjustable-rate vs fixed-rate mortgages over the life of the loan.
- Rent vs Buy Calculator — Compare the total cost of renting vs buying a home over a given time period.
- Auto Loan Calculator — Calculate car payments with down payment, trade-in value, and loan terms.
- Personal Loan Calculator — Calculate unsecured personal loan payments including origination fees.