What is Capital Gains Tax?
Capital gains tax applies when you sell assets for more than you paid. Learn how capital gains work, current tax rates, and strategies freelancers and small business owners use to minimize their capital gains tax.
**Capital gains tax is the tax levied on the profit earned from the sale of a capital asset -- such as stocks, real estate, a business, or other investments -- where the selling price exceeds the original purchase price (the cost basis).** The gain is the difference between what you paid for the asset and what you sold it for. Capital gains tax applies only to that profit, not to the entire sale proceeds. For freelancers and small business owners, capital gains tax becomes relevant in several situations: selling business equipment, selling a business you have built, selling investment assets held outside of tax-advantaged retirement accounts, selling appreciated real estate, or in some cases, selling intellectual property or digital assets that have increased in value. The United States taxes capital gains at different rates depending on how long you held the asset before selling: **Short-term capital gains** apply to assets held for one year or less. These gains are taxed as ordinary income -- at the same rates as your regular federal income tax brackets (10 percent to 37 percent). **Long-term capital gains** apply to assets held for more than one year. These are taxed at preferential rates: 0 percent for taxpayers in the 10 to 12 percent income brackets, 15 percent for those in the 22 to 35 percent brackets, and 20 percent for those in the 37 percent bracket. Higher-income taxpayers may also owe the 3.8 percent Net Investment Income Tax (NIIT) on some or all of their capital gains. The distinction between short-term and long-term holding periods is one of the most important tax planning considerations for investors and business owners, because the difference in tax rates can be 10 to 15 percentage points on the same gain.
Freelancers encounter capital gains in several contexts that are worth understanding even if investing is not their primary focus. **Business equipment sales.** When you sell business equipment at a profit -- a computer, camera, or other asset -- the gain may be subject to capital gains tax (or ordinary income tax if the equipment was fully depreciated). The calculation compares your adjusted basis (original cost minus depreciation taken) to the sale price. **Investment account gains.** Many freelancers invest excess income or retirement savings in taxable brokerage accounts. When they sell appreciated stocks, ETFs, or mutual funds, they owe capital gains tax on the profit. **Business sale.** If you build a freelance practice into a sellable business -- a content agency, a development firm, a consulting company -- and eventually sell it, the proceeds will likely involve capital gains. The structure of the sale (asset sale vs. stock sale) significantly affects the tax treatment. **Real estate.** Freelancers who sell a primary residence may exclude up to $250,000 in capital gains ($500,000 for married couples) if they lived in the home for at least 2 of the last 5 years. Gains on investment properties do not qualify for this exclusion. For most working freelancers focused on service income, capital gains tax is a secondary consideration compared to self-employment tax and income tax. However, as a freelance business matures and investment assets accumulate, understanding capital gains tax becomes increasingly important for financial planning -- particularly in deciding when to sell assets and how to structure a business sale.
Self-employed individuals who are also building investment portfolios face a combined tax picture that requires coordination between business income tax, self-employment tax, and capital gains tax. One important interaction: capital gains can push your total taxable income into a higher bracket, which affects which capital gains rate applies and whether you owe the 3.8 percent Net Investment Income Tax. For example, a freelancer with $150,000 in ordinary business income who also realizes $50,000 in long-term capital gains in the same year will have their total income assessed against capital gains thresholds. The NIIT applies to the lesser of net investment income or the amount by which modified AGI exceeds $200,000 for single filers. Tax-loss harvesting is a strategy where self-employed investors sell underperforming assets to realize losses that offset capital gains from other sales. A $10,000 capital loss can offset $10,000 in capital gains in the same year, and up to $3,000 of excess losses can be deducted against ordinary income per year. This strategy is particularly valuable for freelancers in higher income brackets where capital gains rates are elevated. Retirement accounts are capital-gains-free growth vehicles. Gains inside a SEP-IRA, solo 401(k), or traditional IRA are not taxed annually -- they are only taxed when withdrawn, and at that point as ordinary income. By maximizing retirement contributions, freelancers shield substantial investment growth from current-year capital gains taxes entirely. This is one of the most powerful tax benefits available to self-employed individuals.
Understanding the difference between capital gains tax rates and ordinary income tax rates is essential for tax planning, especially as freelancer income and investment assets grow. **Ordinary income tax** applies to wages, salaries, and self-employment income. It is calculated at progressive federal rates: 10 percent, 12 percent, 22 percent, 24 percent, 32 percent, 35 percent, and 37 percent, applied in brackets as income rises. **Long-term capital gains tax** applies to profits from selling assets held more than one year. Federal rates are 0 percent, 15 percent, or 20 percent depending on total taxable income levels. These rates are deliberately set below ordinary income rates to encourage long-term investment. **Short-term capital gains** are taxed as ordinary income -- there is no preferential rate for assets held one year or less. The practical implication: if you are planning to sell an appreciated asset, holding it for at least one year and one day before selling can reduce the tax on the gain significantly. A freelancer in the 22 percent ordinary income bracket who sells stock would owe 22 percent on a short-term gain but only 15 percent on a long-term gain -- a 7 percentage point difference that adds up to $700 per $10,000 of gain. For freelancers who sell business assets, the distinction is more complex. Some business asset sales trigger ordinary income recapture rules (Section 1245 and 1250 recapture) that tax depreciation deductions taken in prior years at ordinary income rates, even if the overall gain is classified as long-term capital gain. This makes business asset sales a situation where consulting a CPA or tax attorney before completing the transaction is particularly valuable.
Calculating capital gains tax requires three key numbers: the selling price, the cost basis, and the holding period. **Step 1: Determine the selling price.** This is the amount you received from selling the asset, net of selling expenses (brokerage commissions, legal fees for a business sale). **Step 2: Determine the cost basis.** For most assets, the basis is what you paid for it. For business assets, the basis is adjusted by depreciation taken. For inherited assets, the basis is the fair market value at the date of inheritance (stepped-up basis). For gifted assets, the basis is generally the donor's original cost. **Step 3: Calculate the gain (or loss).** Selling price minus cost basis = capital gain (positive) or capital loss (negative). **Step 4: Determine the holding period.** Count from the purchase date to the sale date. More than one year = long-term. One year or less = short-term. **Step 5: Apply the appropriate tax rate.** Short-term gains are taxed at your ordinary income rate. Long-term gains are taxed at 0 percent, 15 percent, or 20 percent based on your total taxable income. **Step 6: Check for NIIT.** If your modified AGI exceeds $200,000 (single) or $250,000 (married), the 3.8 percent Net Investment Income Tax may apply to some or all of your capital gains. **Step 7: Report on Schedule D.** Capital gains and losses are reported on Schedule D of Form 1040, with supporting detail on Form 8949.
While Eonebill.ai is focused on invoicing rather than investment management, there is a meaningful connection: building a successful, profitable freelance business creates the excess income that can be invested and eventually generates capital gains. The professional invoicing system that Eonebill provides -- starting with the free invoice generator at /free-tools/invoice-generator -- is the foundation of getting paid consistently and building the cash flow that supports investing. Freelancers who get paid faster accumulate investable surplus sooner, and time in the market is a key driver of long-term capital gains. For freelancers who eventually build their business to a point where a sale is possible, having organized records of all revenue and business transactions -- which Eonebill helps create -- becomes part of the business valuation documentation. Clean financial records increase a business's perceived value and reduce risk for buyers, supporting a higher sale price and therefore potentially larger capital gains. Visit /pricing to see how Eonebill can support your growing business. The discipline of professional business management that Eonebill enables -- organized billing, consistent invoicing, clear payment records -- is the same discipline that leads to organized financial management overall, including the investment and asset management decisions that eventually create capital gains situations.
1. **Selling appreciated assets too early.** Selling an investment within one year of purchase triggers short-term capital gains rates as high as 37 percent. Waiting just past the one-year mark to access the 0 to 20 percent long-term rate can be worth thousands of dollars in tax savings on the same asset. 2. **Ignoring cost basis records.** Without accurate cost basis records, you cannot correctly calculate your gain. Brokerage accounts track cost basis for most securities, but for older assets, business equipment, or real estate, you may need to reconstruct purchase costs. Keep records of all asset purchases. 3. **Forgetting about depreciation recapture.** If you deducted depreciation on business equipment and then sell the asset at a gain, the depreciation deductions previously taken are recaptured and taxed at ordinary income rates up to 25 percent, separate from the general capital gain treatment. This surprises many small business owners. 4. **Missing the primary residence exclusion.** Homeowners who qualify (living in the home for at least 2 of the last 5 years) can exclude $250,000 (single) or $500,000 (married) of capital gains on a home sale. Missing this exclusion through misunderstanding the requirements can result in a large unnecessary tax bill. 5. **Not planning for a business sale.** Business sales involve multiple types of income -- capital gains, ordinary income, depreciation recapture -- that require advance tax planning. Waiting until the sale is complete to think about taxes often results in significantly higher taxes than a pre-sale planning conversation with a CPA would have produced.
Capital gains tax connects to the broader tax picture for freelancers and self-employed investors: **Income Tax** -- The ordinary income tax rates that apply to short-term capital gains and business income. See /glossary/income-tax. **Tax Bracket** -- Your marginal income tax bracket determines which long-term capital gains rate applies (0 percent, 15 percent, or 20 percent). See /glossary/tax-bracket. **S Corporation** -- A business structure that can affect how gains from a business sale are taxed. See /glossary/s-corporation. **Deduction** -- Tax deductions reduce ordinary income, potentially lowering your bracket and therefore your capital gains rate. See /glossary/deduction. **Self-Employed Person** -- The tax classification relevant to how business income interacts with investment gains. See /glossary/self-employed-person.