Get your taxes done using TurboTax

Work the worksheet on page 40 to see how it works ... however the cap gains is capped at 15% :

  https://www.irs.gov/pub/irs-pdf/i1040gi.pdf