Comprehensive Guide
Learn more in our Business & Tax Guide.
How it works
capital gains tax calculator takes your inputs and produces capital gain, federal tax, effective tax rate. Calculate federal and state capital gains tax on stock sales based on holding period and income. You provide 5 inputs: Purchase Price (currency, in dollars) (default: 50000 dollars); Sale Price (currency, in dollars) (default: 80000 dollars); Holding Period (years) (number) (default: 3); Taxable Income (currency, in dollars) (default: 100000 dollars); Filing Status — choose from Single, Married Joint (default: "single"). The calculator returns 3 outputs: Capital Gain (a secondary output); Federal Tax (a secondary output); Effective Tax Rate (the primary result). Business tax and finance calculations combine multiple moving parts — revenue, expenses, depreciation, tax brackets, and timing — in ways that make back-of-envelope estimates unreliable. This calculator handles the interaction of those variables precisely, so your business decisions rest on real arithmetic. With the default values, effective tax rate is computed from the interaction of every input field — change any one of them and the result updates immediately, so you can stress-test different scenarios without re-entering the whole form. Adjust the inputs to match your real financial situation. The defaults are realistic starting points, but every person's circumstances differ — your actual income, expenses, rates, and timelines will produce a different answer. Use the tool iteratively: start with the defaults, then change one variable at a time to see which factor has the largest impact on your outcome.Tips
- Start with the default values to see a baseline result, then change one input at a time to understand which factor matters most for your outcome.
- Replace every default with your actual number — estimates and rules of thumb produce estimates, not answers. Pull your real figures from pay stubs, statements, or account dashboards.
- Run the numbers quarterly, not annually. Tax brackets, revenue, and expenses shift throughout the year, and adjusting early is far cheaper than correcting at year-end.