Capital Gains Calculator

Instant browser capital gains math with interactive charts, exportable schedules & side-by-side scenario saving.

Calculator Inputs

Presets
$
$
%
— —

Capital Gains

How to Use

  1. Adjust your baseline inputs on the left or pick a conservative, baseline, or aggressive preset.
  2. Review the real-time capital gains KPI breakdown using the IRS §1(h) Long-Term 0/15/20% + IRC §1411 3.8% NIIT standard formula shown below.
  3. Inspect live interactive charts, export CSV amortization or tax schedules, and save scenarios locally.

Mathematical Formula & Reference Standard

Gain = Sale − CostBasis; Tax = Stacked LTCG Bracket Rate + NIIT(if MAGI > Threshold)
IRS §1(h) Long-Term 0/15/20% + IRC §1411 3.8% NIIT
Educational estimates only — not personalized financial, tax, or legal advice. Verify final figures with a licensed advisor or lender.

Frequently Asked Questions

How is capital gains calculated on SalaryCalcs?

This calculator evaluates Gain = Sale − CostBasis; Tax = Stacked LTCG Bracket Rate + NIIT(if MAGI > Threshold) locally in your browser using exact floating-point routines aligned with IRS §1(h) Long-Term 0/15/20% + IRC §1411 3.8% NIIT. Zero personal inputs leave your device.

Can I export or compare multiple capital gains scenarios?

Yes. Click Save Scenario to store cases in local IndexedDB storage for instant side-by-side delta comparison, download full CSV tables, or print a clean PDF report.

— —