Calculate capital gains tax for investments sold at a profit. This tool helps in tax planning and understanding investment returns.