The Texation Calculator

Selling investments in California: federal and state capital gains

Published · 2 min read

How federal and California state taxes apply to capital gains, with a worked example.

Key facts

PlaceCalifornia
Sales taxState sales tax
Standard rate on file7.25%
Multiply net price by1.0725
Tax share of a gross price6.76%
CurrencyUSD

Federal treatment

Long-term gains on assets held more than a year are taxed at 0%, 15% or 20% federally depending on income, plus a possible 3.8% net investment income tax. Short-term gains are taxed as ordinary income.

Worked example

Here is the calculation with sample figures. Change any number in the California Capital Gains Tax Calculator to run your own.

Worked example: California Capital Gains Tax Calculator
Purchase price$15,000.00
Sale price$22,500.00
Costs and fees$300.00
Tax rate (%)20%
Taxable gain$7,200.00
Tax$1,440.00
Net amount$20,760.00

State treatment

Most states tax capital gains as regular income. Check whether California offers any exclusion; the calculator lets you combine federal and state rates into one figure.

Quick reference at 7.25%

Common amounts in California, worked both ways: adding tax to a net price, and extracting it from a price that already includes tax.

AmountTax on net amountGross (net + tax)Net if amount includes tax
$10.00$0.72$10.72$9.32
$50.00$3.62$53.62$46.62
$100.00$7.25$107.25$93.24
$250.00$18.12$268.12$233.10
$500.00$36.25$536.25$466.20
$1,000.00$72.50$1,072.50$932.40
$5,000.00$362.50$5,362.50$4,662.00

How California compares

Standard rates on file for other states. A difference of a few points matters most on high-value purchases and on cross-border sales.

PlaceRate on fileCompared with 7.25%
Alaska0%lower
Arizona5.6%lower
Arkansas6.5%lower
Colorado2.9%lower
Connecticut6.35%lower
Delaware0%lower

Using the calculator step by step

  1. Open the California Capital Gains Tax Calculator.
  2. Type your figures into the numbered lines. Results update as you type.
  3. Check the rate field. It starts at 7.25%; change it if a reduced rate, local surcharge or exemption applies to you.
  4. Read the result on the receipt panel, and use the formula shown under it if you need to explain the figure to a client or colleague.

Key terms

Zero rate
A rate of 0% on a taxable supply. Unlike an exemption, the seller can usually still reclaim tax on costs.
Tax credit
An amount subtracted directly from the tax bill, worth its full face value.
Standard rate
The rate that applies to most goods and services unless a specific reduced rate, zero rate or exemption applies.
Effective rate
Total tax divided by total income, the average rate you actually pay.
Net amount
The amount before tax is added. On an invoice it is the figure the tax is calculated on.

Common mistakes to avoid

Run your own numbers. The California Capital Gains Tax Calculator updates as you type and shows the formula it uses.

Frequently asked questions

What is the federal long-term capital gains rate?

0%, 15% or 20% depending on taxable income, plus possibly 3.8% NIIT.

Does California tax capital gains?

Many states do as ordinary income; confirm current California rules.

This article is general information for planning, not tax advice. Rates and rules change; confirm with your tax authority or a qualified adviser.

Calculators for this topic

Related reading