A long-term capital gain tax calculator computes capital gains on the sale of long-term investments like stocks, property, etc., or other assets locked for more than 12, 24, or 36 months.