根据IRS:
A capital gains rate of 15% applies if your taxable income is:
more than $47,025 but less than or equal to $518,900 for single;
more than $47,025 but less than or equal to $291,850 for married filing separately;
more than $94,050 but less than or equal to $583,750 for married filing jointly and qualifying surviving spouse; and
more than $63,000 but less than or equal to $551,350 for head of household.
However, a capital gains rate of 20% applies to the extent that your taxable income exceeds the thresholds set for the 15% capital gain rate.