Capital Gains Tax for Freelancers and Creators | CalcFalcon
How capital gains tax applies to freelancers and creators — short-term vs long-term rates, NIIT, bracket stacking, and strategies to minimize what you owe.
Freelancers and creators who invest their income face a tax layer that salaried employees rarely think about: capital gains tax interacting with variable self-employment income. When your ordinary income swings between $50,000 and $120,000 year to year, the tax rate on your investment gains swings with it — sometimes dramatically. A stock sale that would be taxed at 0% in a slow year might hit 15% or trigger the Net Investment Income Tax in a strong one.
This guide covers how capital gains tax works, why it hits freelancers differently than W-2 employees, and the strategies that actually reduce what you owe. Run your specific scenario through the Capital Gains Tax Calculator to see exact numbers for your situation.
Short-Term vs Long-Term: The Holding Period That Changes Everything
The IRS splits capital gains into two categories based on how long you held the asset before selling.
Short-Term Capital Gains
Assets held for one year or less are taxed as ordinary income. If you buy stock in March and sell it in November, the gain is added directly to your taxable income and taxed at your marginal rate. For a freelancer in the 24% bracket, a $10,000 short-term gain costs $2,400 in federal tax — the same as if you had earned an additional $10,000 in freelance income.
Short-term rates in 2026 follow the standard income tax brackets: 10%, 12%, 22%, 24%, 32%, 35%, and 37%.
Long-Term Capital Gains
Assets held for more than one year qualify for preferential rates: 0%, 15%, or 20%. The rate depends on your taxable income after deductions.
For single filers in 2026, the brackets are approximately:
- 0% on gains if taxable income is below $48,350
- 15% on gains if taxable income is between $48,350 and $533,400
- 20% on gains if taxable income exceeds $533,400
The difference is substantial. A $30,000 long-term gain for someone in the 24% ordinary income bracket is taxed at 15% instead of 24% — saving $2,700.
The One-Day Difference
An asset sold on day 365 is short-term. Sold on day 366, it is long-term. That single day can change the tax rate from 24% to 15% on the same gain. For any asset approaching the one-year mark, the tax savings from waiting almost always outweigh one extra day of market risk.
Bracket Stacking: Why Freelance Income Matters
Capital gains do not exist in a tax vacuum. Long-term gains stack on top of your ordinary income to determine which capital gains bracket applies. This is where freelancers face a unique challenge.
How Stacking Works
Consider a freelancer with $85,000 in net self-employment income. After the SE tax deduction and standard deduction, taxable ordinary income is approximately $62,000. Now add a $30,000 long-term capital gain.
The first $0 of the gain is taxed at 0% (the 0% bracket was already filled by ordinary income). The entire $30,000 gain falls in the 15% bracket, costing $4,500 in federal capital gains tax.
Now consider the same freelancer after a slow year — $40,000 in net income. After deductions, taxable ordinary income is roughly $20,000. Adding the same $30,000 gain: the first $28,350 of the gain fills the 0% bracket ($48,350 threshold minus $20,000 ordinary income), and the remaining $1,650 is taxed at 15%. Total capital gains tax: $247.50 instead of $4,500.
Same investment, same gain, same person. The difference is $4,252 in tax — entirely driven by how much freelance income you earned that year.
Variable Income Creates Tax Uncertainty
A salaried employee at $85,000 can predict their capital gains tax rate with certainty. A freelancer earning somewhere between $50,000 and $120,000 cannot. This uncertainty complicates decisions about when to sell investments, when to harvest losses, and how much to set aside for taxes.
The practical response: model multiple scenarios. Run your best-case, expected, and worst-case income through the Capital Gains Tax Calculator to see how each scenario affects your tax on planned sales. For a broader view of how self-employment income interacts with the tax system, see our side hustle tax guide.
Net Investment Income Tax: The Extra 3.8%
The Net Investment Income Tax (NIIT) adds 3.8% to capital gains, dividends, interest, rental income, and other investment income for high earners. It applies when your modified adjusted gross income (MAGI) exceeds:
- $200,000 for single filers
- $250,000 for married filing jointly
- $125,000 for married filing separately
The 3.8% applies to the lesser of your net investment income or the amount by which your MAGI exceeds the threshold.
Freelancer-Specific Risk
Freelancers who have a breakout year — a large project, a viral product launch, a windfall contract — can unexpectedly cross the NIIT threshold. A creator who normally earns $120,000 but lands a $100,000 brand deal suddenly has $220,000 in MAGI. Any investment income they realize that year is subject to the additional 3.8%.
On $30,000 in long-term gains, the NIIT adds $1,140 on top of the regular 15% capital gains tax. The total federal tax on those gains jumps from $4,500 to $5,640 — a 25% increase that would not have applied in a normal income year.
This is one of the strongest arguments for timing investment sales around income fluctuations, which freelancers have more ability to do than salaried employees.
Capital Loss Harvesting
When investments lose value, selling them generates capital losses that offset gains — dollar for dollar. This is one of the few tax strategies where you can actively create a deduction.
The Basic Mechanics
If you have $20,000 in long-term gains and $8,000 in long-term losses, your net gain is $12,000. You pay capital gains tax on $12,000 instead of $20,000.
Short-term losses offset short-term gains first, and long-term losses offset long-term gains first. After that, any excess losses cross over to offset the other type.
The $3,000 Limit
If your capital losses exceed your capital gains, you can deduct up to $3,000 of the excess against ordinary income per year ($1,500 for married filing separately). Any remaining losses carry forward to future years indefinitely.
A freelancer with $15,000 in capital losses and $5,000 in capital gains has $10,000 in net losses. They deduct $3,000 against ordinary income this year and carry $7,000 forward. At a 24% marginal rate, that $3,000 deduction saves $720 in income tax.
The Wash Sale Rule
You cannot sell a stock at a loss and buy the same or “substantially identical” security within 30 days before or after the sale. If you do, the loss is disallowed. You can buy a similar but not identical investment — selling one S&P 500 index fund and buying a total market fund is generally acceptable, but selling and rebuying the exact same fund within 30 days is not.
Strategic Harvesting for Variable Income
Freelancers can combine loss harvesting with income timing. In a high-income year when gains would be taxed at 15% or higher, harvest losses to offset them. In a low-income year when gains fall in the 0% bracket, let the gains flow through tax-free and save your harvestable losses for a year when they provide more value.
Asset Types Freelancers Encounter
Stocks and Index Funds
The most common capital gains scenario. Freelancers investing in taxable brokerage accounts will realize gains when selling positions. Tax-advantaged accounts (Traditional IRA, Roth IRA, Solo 401k) are not subject to capital gains tax on sales within the account.
If you are building toward financial independence, understanding how capital gains interact with your FIRE timeline is important — our FIRE calculator guide covers the withdrawal and tax considerations for early retirees.
Cryptocurrency
Crypto is treated as property by the IRS. Every sale, swap, or use of crypto to purchase goods triggers a taxable event. This includes converting Bitcoin to Ethereum, spending crypto on a purchase, and receiving crypto as payment for freelance work (taxed as ordinary income at receipt, then subject to capital gains on any price change between receipt and disposal).
The record-keeping burden is significant. Every transaction needs a cost basis, holding period, and sale price documented. Crypto tax software (CoinTracker, Koinly, TaxBit) is effectively required for anyone with more than a handful of transactions.
Business Assets and Equipment
Selling business equipment (camera gear, computers, vehicles) can trigger capital gains, but depreciation recapture complicates the calculation. If you depreciated a $3,000 camera over three years and sell it for $1,500, the gain may be partially taxed as ordinary income (depreciation recapture at up to 25%) rather than at capital gains rates.
Selling a Business or Client List
If a freelancer or creator sells their business — a blog, a YouTube channel, a client roster — the sale price minus their basis (original investment plus improvements) is a capital gain. The holding period determines short-term vs long-term treatment. Structuring the sale correctly (asset sale vs entity sale, installment payments vs lump sum) can significantly affect the tax outcome. Professional advice is essential here.
State Capital Gains Taxes
Federal capital gains tax is not the whole picture. Most states tax capital gains as ordinary income, adding 3% to 13% depending on your state. California tops out at 13.3%. New York City residents face state plus city taxes that can add over 12%.
Nine states have no income tax (and therefore no state capital gains tax): Alaska, Florida, Nevada, New Hampshire (on earned income), South Dakota, Tennessee, Texas, Washington, and Wyoming.
For a freelancer with location flexibility, the state you are domiciled in during the year you realize significant gains can meaningfully change the total tax bill. A $100,000 long-term gain taxed at 15% federal plus 9.3% California state costs $24,300. The same gain realized while domiciled in Texas costs $15,000. That $9,300 difference compounds across multiple years of investment sales.
Timing Strategies
Control When You Sell
Unlike a W-2 employee who has limited control over income timing, freelancers can (to some degree) accelerate or defer income by adjusting when they send invoices, when they take on projects, or when they collect payments. This creates an opportunity to coordinate investment sales with low-income periods.
If you know Q4 will be slow, that may be the quarter to realize gains. If you just closed a massive project that pushed your income up, defer planned investment sales to the next tax year.
Bunch Gains in Low-Income Years
Freelancers who experience significant income swings can deliberately concentrate investment sales in years when self-employment income is lower. The capital gains stacking effect means the same $50,000 in gains might be taxed at 0% to 15% in a slow year but 15% plus 3.8% NIIT in a boom year.
Use Tax-Advantaged Accounts First
Maximize contributions to Solo 401(k), SEP-IRA, or Traditional IRA before investing in taxable accounts. Gains inside these accounts grow tax-deferred (Traditional) or tax-free (Roth). Every dollar invested in a tax-advantaged account is a dollar that never generates a capital gains tax event.
Gift Appreciated Assets
Donating appreciated stock to a qualified charity lets you deduct the full market value without paying capital gains tax on the appreciation. A freelancer in the 24% bracket who donates $10,000 of stock with a $4,000 basis avoids $900 in capital gains tax and gets a $10,000 charitable deduction worth $2,400 in tax savings — a total benefit of $3,300 compared to selling the stock and donating cash.
Calculate Your Capital Gains Tax
Every variable — your ordinary income, filing status, holding period, state of residence, and whether NIIT applies — changes the result. Plug your numbers into the Capital Gains Tax Calculator to see the exact federal tax on your gains, including bracket stacking, NIIT, and the comparison between short-term and long-term rates. If you are planning a significant sale, model it at different income levels to find the optimal timing for your situation.
Try the Calculator
Put what you've learned into practice with our free Capital Gains Tax Calculator.
Open CalculatorGet Free Tax Tips
Join thousands of freelancers getting actionable tax and finance tips delivered to their inbox.