After you file

the cap gains push other income into a higher tax bracket. there is a capital gain and qualified dividend worksheet that you can review,