If you have a long term capital gain, this article has information and a calculator:
2018 Capital Gains Tax Rates — and How to Avoid a Big Bill