Yes, selling costs are deducted from capital gains when you sell an asset. Specifically, the IRS allows you to reduce your capital gain by certain expenses directly related to the sale, such as real estate commissions, legal fees, and transfer taxes. This article explains exactly which costs qualify, how the deduction works, and what to watch out for.
Formula
The capital gain is calculated as:
Capital Gain = Sale Price − Original Cost Basis − Selling Expenses
- Sale Price: The total amount you receive from the buyer (in dollars).
- Original Cost Basis: What you originally paid for the asset, plus any improvements (in dollars).
- Selling Expenses: Costs directly incurred to sell the asset (in dollars).
The result is the taxable capital gain before any applicable exclusions or deductions (like the home sale exclusion).
Worked Example
Using the default values from the calculator:
- Start with the sale price: $350,000.
- Subtract the original cost basis: $350,000 − $200,000 = $150,000 (this is your preliminary gain).
- Subtract selling expenses: $150,000 − $15,000 = $135,000.
The calculator shows $135,000 as the capital gain, matching this step-by-step calculation.
Assumptions
- This calculation assumes the asset is sold in a single transaction.
- It does not include any capital gains tax rate or exclusions; it only computes the gain.
- Selling expenses must be directly related to the sale; general expenses like home repairs before listing are not deductible as selling costs (they may adjust basis).
- The result is an estimate for educational purposes; the exact figures on your tax return may vary based on IRS rules and your specific situation.
What Counts as a Selling Cost?
The IRS defines selling expenses as costs that are directly related to the sale of the asset. For real estate, common examples include:
- Real estate agent commissions
- Legal fees for the sale contract
- Title insurance and escrow fees
- Transfer taxes and recording fees
- Advertising costs to market the property
- Inspection fees required by the buyer
For stocks or other securities, selling costs might include brokerage commissions (though many brokers now charge $0) or transfer fees. For personal property like a car or boat, selling costs could include advertising or auction fees.
It’s important to note that these costs must be directly tied to the sale. Costs incurred to improve the asset before selling (like a new roof) are not selling expenses; instead, they increase your cost basis, which also reduces your gain, but in a different way.
How Selling Costs Reduce Your Gain
When you sell an asset, your capital gain is the difference between what you sold it for and what you originally paid (adjusted for improvements and other basis adjustments). Selling costs are subtracted from the sale price, effectively lowering your gain. This is beneficial because you only pay tax on the net gain, not the gross proceeds.
For example, if you buy a house for $200,000, sell it for $350,000, and pay $15,000 in commissions and fees, your gain is $135,000, not $150,000. This reduces your taxable income and, consequently, your capital gains tax.
Common Mistakes and Misconceptions
One common mistake is confusing selling costs with home improvements. Improvements (like adding a room) increase your cost basis, while selling costs (like commissions) are subtracted from the sale price. Both reduce your gain, but they are treated differently on tax forms.
Another misconception is that all closing costs are deductible. Some closing costs, like prepaid property taxes or homeowner’s insurance, are not selling expenses; they are personal expenses or adjustments between buyer and seller. Only costs directly associated with the sale itself qualify.
Also, be careful not to double-count. If you’ve already deducted selling costs as business expenses (e.g., for a rental property), you cannot also deduct them from capital gains. The IRS requires you to choose one treatment.
When Selling Costs Don’t Apply
There are situations where selling costs are not deducted from capital gains:
- If you sell an asset at a loss, selling costs can increase the loss, but you may not be able to deduct the full loss depending on the asset type (e.g., personal-use property losses are not deductible).
- If you use the home sale exclusion (up to $250,000 for single filers, $500,000 for married filing jointly), you may not need to calculate selling costs because your gain is already below the exclusion threshold.
- For inherited assets, the cost basis is usually the fair market value at the date of death, which may reduce the impact of selling costs.
In these cases, it’s still wise to track selling costs, as they might be needed for state tax returns or if your gain exceeds the exclusion.
How to Track and Report Selling Costs
To ensure you get the full benefit, keep detailed records of all expenses related to the sale. This includes:
- Closing statements (for real estate)
- Commission agreements and receipts
- Invoices for legal, advertising, or inspection services
- Bank statements showing payment of these costs
When filing your taxes, you’ll report these on Schedule D (Capital Gains and Losses) and Form 8949 (Sales and Other Dispositions of Capital Assets). For real estate, you’ll also use Form 1099-S if the sale is reported to the IRS. The selling costs are entered as an adjustment to the sale price on Form 8949.
If you’re using tax software, it will typically ask for selling expenses separately. Be precise and include all qualifying costs, but avoid including non-qualifying ones.
Frequently Asked Questions
Can I deduct closing costs when selling my home?
Yes, but only certain closing costs. Deductible selling costs include real estate commissions, title insurance, legal fees, and transfer taxes. Non-deductible costs include prepaid property taxes, homeowner’s insurance, and costs for repairs made to prepare the home for sale (those may be added to your basis instead).
Do selling costs reduce capital gains tax on stocks?
Yes, if you pay a commission or fee to sell stocks, that fee reduces your capital gain. For example, if you sell shares for $10,000 and pay a $50 commission, your gain is based on $9,950, not $10,000. Many brokers now offer commission-free trades, so this may not apply to you.
What if I don’t have receipts for selling costs?
Without documentation, you cannot deduct them. The IRS requires proof of expenses. If you lost receipts, try to obtain copies from the service providers (e.g., the title company or real estate agent). If you can’t, you may have to forgo the deduction.
Are selling costs the same as capital improvements?
No. Selling costs are expenses to sell the asset, while capital improvements are expenses to improve the asset. Improvements increase your cost basis, which also lowers your gain, but they are reported differently. For example, a new roof is an improvement; a real estate commission is a selling cost.
Can I deduct selling costs on a rental property?
Yes, but you have a choice. You can deduct selling costs as an expense in the year of sale, or you can add them to the cost basis of the property, which reduces the gain on the sale. The IRS generally allows either method, but you must be consistent and follow the rules for rental property sales.
Remember, this article is for educational purposes and does not constitute tax advice. The result from the calculator is an estimate; consult a tax professional or the IRS publications for your specific situation.
Related
Formula used
in p | Sale price | $ | 350000 | 1 | 10000000 in cost | Original cost basis | $ | 200000 | 0 | 10000000 in sell | Selling expenses | $ | 15000 | 0 | 1000000 out gain | Capital gain | $ | p - cost - sell | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard loan formula for this calculation, fixed rate and monthly compounding unless stated, rounded as each result states. Not financial advice; no lender, rate or product is recommended. See formulas and assumptions, the disclaimer or report an error.
More in this section
- Jet Fuel Cost per Gallon? Prices and What Affects Them
- High Amount Personal Loan Interest Rate Calculator$405.53
- Fuel Costs and Home Loans: How They Connect$405.53
- Fuel Costs Perth: Prices, Factors and Savings
- Car Quote for a Used-Car Trade-In: What It Means
- Cost of Fuel: Calculate Your Trip’s Fuel Expense$42.00