Business & farm

Schedule D Tax Worksheet available in the Schedule D instructions starting on page 16 (PDF) - https://www.irs.gov/pub/irs-pdf/i1040sd.pdf#page=16