Get your taxes done using TurboTax

Use the Qualified Dividends and
Capital Gain Tax Worksheet or the Schedule D
Tax Worksheet (whichever applies) to figure
your tax if you have qualified dividends or net
capital gain. You have net capital gain if Schedule
D (Form 1040), lines 15 and 16, are both
gains.

 

See IRS booklet   1040 and 1040-SR  Instructions