Tax is considered on the capital gains in a given year. The length of the investment is not relevant. California has some tricky state tax laws so consult a professional.
California's capital gains tax rate is the same as the tax rate for ordinary income, for both short- and long-term capital gains. This tax rate presently peaks at 9. 55 percent.