Finance

House Sale Calculator

Calculate your profit from selling a house. Includes closing costs, agent commissions, mortgage payoff, and capital gains tax estimation.

$
$
$
$

Selling costs

%
%

For tax calculation

years
Filing status

Tax-free capital gains exclusion for primary residence (if owned 2+ years)

%
Cash at Closing
$226,000
Sale price
$550,000
Agent commission
-$33,000
Other closing costs
-$11,000
Mortgage payoff
-$280,000
Cash at closing
$226,000

Sale proceeds breakdown

Profit analysis

Sale price
$550,000
Original purchase price
-$400,000
Capital improvements
-$25,000
Selling costs
-$44,000
Capital gain
$81,000

Capital gains tax estimate

Capital gain
$81,000
Primary residence exclusion
-$81,000
Taxable gain
$0
Estimated federal tax (15%)
$0

No capital gains tax owed

Your gain of $81,000 is fully covered by the $500,000 primary residence exclusion.

Return on investment

After-tax profit
$81,000
Annualized return
12.1%

Tax calculations are estimates only. Capital gains rates vary by income (0%, 15%, or 20%). State taxes may also apply. Consult a tax professional for accurate figures.

Understanding your home sale proceeds

When you sell a house, the amount you actually walk away with can be surprisingly different from the sale price. Between real estate commissions, closing costs, mortgage payoffs, and potential capital gains taxes, sellers typically net between 91-94% of their sale price. Understanding these costs before you list your home helps you set realistic expectations and plan your next move with confidence.

Many first-time sellers are caught off guard by the gap between their sale price and their actual proceeds. For example, on a $500,000 home sale, you might expect to pocket close to that amount after paying off your mortgage. But after accounting for a 6% agent commission (30,000),230,000), 2% in other closing costs (10,000), and your remaining mortgage balance, you could be looking at significantly less than you anticipated.

This guide breaks down every cost you'll encounter when selling your home, explains how capital gains taxes work, and helps you understand exactly how much money you'll have available for your next chapter.

The basic calculation

The formula for calculating your net proceeds from a home sale is straightforward:

Net Proceeds=Sale PriceMortgage BalanceSelling Costs\text{Net Proceeds} = \text{Sale Price} - \text{Mortgage Balance} - \text{Selling Costs}

However, the devil is in the details. Selling costs encompass a wide range of fees, from agent commissions to title insurance to transfer taxes. And if you have significant equity gains, you may also need to factor in capital gains taxes, which can take another bite out of your proceeds.

Let's say you're selling a home for $600,000. You still owe $250,000 on your mortgage, and your total selling costs come to $48,000 (8% of the sale price). Your net proceeds would be:

$600,000 - $250,000 - $48,000 = $302,000

That $302,000 is what you'll actually receive at closing. If you have capital gains that exceed your exemption limits, you'll owe taxes on those when you file your return, further reducing your effective proceeds.

Typical selling costs

Selling a home involves numerous fees and expenses that collectively reduce your take-home amount. Here's a comprehensive breakdown of what to expect.

Agent commissions

Real estate agent commissions represent the largest selling cost for most homeowners. Traditionally, the seller pays both the listing agent's commission and the buyer's agent's commission, though recent legal changes have started to shift this practice in some markets.

Commission typeTypical rate
Traditional (total)5-6%
Listing agent2.5-3%
Buyer's agent2.5-3%
Discount broker1-4%
FSBO0-3%

On a $500,000 home, a 6% commission equals $30,000. This is a significant expense, but it's important to understand what you're paying for. A skilled listing agent will price your home correctly, market it effectively, negotiate on your behalf, and guide you through the complex legal and logistical aspects of the sale.

Studies have shown that homes sold with agents typically sell for 5-10% more than comparable FSBO (For Sale By Owner) properties, which can offset much or all of the commission cost. However, this varies greatly by market, property type, and the seller's own experience and available time.

Some sellers opt for discount brokers or flat-fee listing services to reduce costs. These services typically offer reduced support compared to full-service agents, so you'll need to weigh the savings against the additional work you'll need to do yourself.

Closing costs

Beyond agent commissions, sellers face a variety of closing costs that typically add up to 1-3% of the sale price. These costs vary significantly by location and the specifics of your transaction.

CostTypical amount
Title insurance$1,000-$3,000
Escrow fees$500-$2,000
Transfer taxes0.1-2%
Attorney fees$500-$1,500
Recording fees$50-$250
Prorated taxesVaries

Title insurance protects the buyer (and their lender) against claims on the property's title. In most states, the seller pays for the owner's title policy, while the buyer pays for the lender's policy.

Escrow fees cover the services of a neutral third party who holds funds and documents during the transaction. Escrow ensures that money and property change hands only when all conditions of the sale have been met.

Transfer taxes are state or local taxes on the transfer of real property. These vary dramatically by location. In some areas, transfer taxes are minimal, while in places like New York City, they can add up to nearly 2% of the sale price.

Attorney fees are required in some states where attorneys must be involved in real estate transactions. Even in states where it's optional, having an attorney review your contracts can be money well spent.

Recording fees cover the cost of officially recording the deed transfer with the county.

Prorated taxes are your share of property taxes for the portion of the year you owned the home. If you've prepaid taxes, you may actually receive a credit at closing.

Typical total costs

Cost categoryPercent of sale
Agent commission5-6%
Other closing costs1-3%
Total6-9%

These percentages mean that on a $400,000 home sale, you should budget $24,000 to $36,000 in selling costs before even considering your mortgage payoff or capital gains taxes.

Capital gains and taxes

If you've built significant equity in your home through appreciation, you may owe capital gains taxes when you sell. Understanding how capital gains are calculated can help you minimize your tax liability and keep more of your proceeds.

The capital gain formula

Your capital gain is calculated as follows:

Capital Gain=Sale PriceCost BasisSelling Expenses\text{Capital Gain} = \text{Sale Price} - \text{Cost Basis} - \text{Selling Expenses}

The key to minimizing your capital gains tax is maximizing your cost basis and properly accounting for all eligible expenses.

What's included in cost basis

Your cost basis is more than just your original purchase price. It includes several categories of expenses:

  • Original purchase price: The amount you paid for the home
  • Closing costs when you bought: Including title insurance, attorney fees, and transfer taxes (but not prepaid interest or insurance)
  • Capital improvements: Major additions or improvements that add value, prolong the home's life, or adapt it to new uses
  • Assessments for local improvements: Such as sidewalks, sewer connections, or street paving

Every dollar you can legitimately add to your cost basis is a dollar of capital gain you won't be taxed on. This is why it's crucial to keep records of all improvements you make to your home over the years.

Capital improvements vs. repairs

The IRS distinguishes between capital improvements (which add to your cost basis) and repairs (which don't). Understanding this distinction can save you thousands in taxes.

Improvement (adds to basis)Repair (does not add)
New roofRoof patch
Room additionDrywall repair
New HVAC systemHVAC tune-up
Kitchen remodelAppliance repair
New windowsBroken window fix
Deck or patio constructionDeck board replacement
Swimming pool installationPool pump repair
New flooring throughoutCarpet cleaning
Basement finishingLeak repair
Landscaping overhaulLawn mowing

A general rule of thumb: if the work adds value to your home, prolongs its useful life, or adapts it to a new use, it's likely a capital improvement. If it simply maintains the home's current condition, it's a repair.

Keep receipts and records for all major work done on your home. Even if you've owned your home for decades, you'll want documentation of capital improvements when you sell.

Primary residence exclusion

The tax code provides a generous exclusion for capital gains on the sale of your primary residence. This exclusion allows most homeowners to sell their homes without owing any federal capital gains tax.

If you've lived in the home as your primary residence for at least 2 of the last 5 years before the sale, you can exclude the following amounts from capital gains:

Filing statusExclusion amount
Single$250,000
Married filing jointly$500,000

This means a married couple could have up to $500,000 in capital gains from their home sale completely tax-free. Given that most Americans' homes don't appreciate by more than $500,000 during their ownership, the majority of primary residence sales result in no capital gains tax.

Example calculation

Let's walk through an example to see how this works in practice:

ItemAmount
Sale price$650,000
Cost basis$350,000
Selling costs$50,000
Capital gain$250,000
Exclusion (married)$250,000
Taxable gain$0

In this example, even though the homeowners made $250,000 in profit, they owe no capital gains tax because their gain falls within the $500,000 exclusion for married couples filing jointly.

Partial exclusion

If you don't meet the full 2-year requirement, you may still qualify for a partial exclusion if you sold due to:

  • Job relocation: Your new job is at least 50 miles farther from your home than your old job was
  • Health reasons: You moved to get care for an illness, injury, or medical condition
  • Unforeseen circumstances: Including death, divorce, multiple births from a single pregnancy, job loss, or a change in employment status that makes you unable to afford the home

The partial exclusion is calculated based on the percentage of the 2-year requirement you did meet. For example, if you lived in the home for 1 year (50% of the requirement), you'd be eligible for 50% of the full exclusion.

Capital gains tax rates

For gains that exceed your exclusion amount, you'll owe capital gains tax. The rate depends on your income level and how long you owned the property.

Tax bracket (single)Long-term rate
Up to $44,6250%
$44,625 - $492,30015%
Over $492,30020%

Long-term capital gains rates apply if you owned the property for more than one year. These rates are significantly lower than ordinary income tax rates, which can reach as high as 37%.

Short-term capital gains (for properties owned less than one year) are taxed as ordinary income. This means selling a property less than a year after purchase could result in a much higher tax bill.

Additionally, high-income taxpayers may owe an additional 3.8% Net Investment Income Tax (NIIT) on their capital gains, bringing the maximum federal rate to 23.8%.

State taxes on capital gains

Many states also tax capital gains, which can significantly impact your total tax liability. State rates vary widely:

StateRate
CaliforniaUp to 13.3%
New YorkUp to 8.82%
New JerseyUp to 10.75%
MinnesotaUp to 9.85%
Texas0%
Florida0%
Nevada0%
Washington7% (above $250,000)

If you live in a high-tax state and are expecting significant capital gains, you could owe a combined federal and state rate of over 30%. This makes careful tax planning essential for large home sales.

Some states also impose their own primary residence exclusions that mirror or differ from the federal exclusion. Consult with a tax professional familiar with your state's rules.

Timing your sale

When you sell can significantly impact both your sale price and your tax liability. Here are key timing considerations:

Best time to sell

FactorBest timing
Market conditionsSpring/early summer
Tax purposesAfter 2 years ownership
Capital gainsAfter 1 year (long-term rates)
School yearBefore school starts
Curb appealWhen landscaping looks best

Spring and early summer typically see the highest buyer activity. Families want to move during summer break, and homes show better when weather is pleasant and landscaping is in bloom. Historically, homes listed in April through June sell faster and for higher prices than those listed in other months.

From a tax perspective, waiting until you've owned and lived in your home for at least two years ensures you qualify for the full primary residence exclusion. If you're close to the one-year mark, waiting a few extra months to qualify for long-term capital gains rates could save you thousands.

Worst times to sell

  • December/January: Holiday slowdown reduces buyer activity significantly
  • When inventory is high: More competition means lower prices and longer time on market
  • Before 2 years ownership: You may lose the primary residence exclusion entirely
  • Before 1 year: Short-term capital gains are taxed at higher ordinary income rates
  • During economic uncertainty: Buyer confidence and lending standards may tighten

Of course, life doesn't always align with optimal selling windows. If you need to sell at a suboptimal time, focus on what you can control: competitive pricing, excellent presentation, and working with a skilled agent.

Underwater mortgages

If your mortgage balance exceeds your home's current market value, you're considered "underwater" or "upside-down" on your mortgage. This situation requires careful consideration of your options.

Your options when underwater

  1. Short sale: Sell for less than you owe with your lender's approval. The lender agrees to accept the sale proceeds as full satisfaction of your debt, even though it's less than what you owe. This will impact your credit but less severely than a foreclosure.

  2. Wait it out: If you can afford your payments and don't need to move immediately, staying put allows time for the market to recover and your equity to build through appreciation and principal paydown.

  3. Bring cash to closing: If you have savings and need to sell, you can pay the difference between your sale proceeds and your mortgage balance out of pocket at closing.

  4. Rent it out: If the property can generate positive cash flow (or at least cover costs), renting while you wait for appreciation may be viable. This converts your primary residence into an investment property, which has tax implications.

Deficiency judgments

After a short sale or foreclosure, the difference between what you owed and what the lender recovered is called a "deficiency." Some states allow lenders to pursue a deficiency judgment against you for this amount.

States vary significantly in their treatment of deficiency judgments. Some states are "non-recourse," meaning lenders generally cannot pursue deficiencies on purchase-money mortgages. Others allow aggressive collection of deficiencies.

Additionally, forgiven mortgage debt may be considered taxable income by the IRS, though exceptions exist for qualified principal residence indebtedness. Consult with a tax professional and attorney if you're considering a short sale.

Preparing for your sale

Proper preparation can significantly impact both your sale price and how quickly your home sells. Here's how to get ready:

Before listing

  • Order a pre-inspection (300300-500): Having your own inspection done before listing helps you identify and address issues before buyers find them. This prevents last-minute surprises and strengthens your negotiating position.

  • Make strategic repairs: Focus on repairs that buyers will notice during showings or that will come up in inspections. Cosmetic issues and deferred maintenance can make buyers question how well the home has been cared for.

  • Declutter and depersonalize: Remove excess furniture, personal photos, and collections. Buyers need to envision themselves in the space, which is difficult when your personality dominates every room.

  • Deep clean: A professionally cleaned home makes a strong first impression. Pay special attention to kitchens and bathrooms, which buyers scrutinize closely.

  • Stage strategically: Professional staging can help highlight your home's best features and help buyers see the potential of each space. Studies suggest staged homes sell faster and for higher prices.

  • Get a comparative market analysis: Your agent should provide a CMA showing recent sales of comparable homes in your area. This data-driven approach ensures you price competitively from the start.

Costs to budget for preparation

ItemTypical cost
Pre-inspection$300-$500
Minor repairs$500-$2,000
Staging$500-$5,000
Professional photos$200-$500
Deep cleaning$200-$400
Landscaping touch-up$200-$1,000
Interior painting$1,000-$3,000

While these costs add up, they're generally good investments that can help you sell faster and for a higher price. A home that shows well online and in person attracts more buyers and stronger offers.

Negotiating offers

When offers start coming in, remember that price is just one factor to evaluate. The terms of the offer can be equally important.

What to consider beyond price

  • Buyer's financing: Cash offers eliminate financing contingencies and often close faster. Conventional loans are generally more reliable than FHA or VA loans, which have additional requirements.

  • Contingencies: Common contingencies include inspection, financing, appraisal, and sale of buyer's home. Fewer contingencies mean a more certain close.

  • Closing timeline: Does the proposed timeline work with your plans? Can you negotiate a rent-back if you need more time to find your next home?

  • Earnest money deposit: A larger deposit shows buyer commitment and puts more at stake if they walk away.

  • Escalation clauses: Some buyers include provisions to automatically increase their offer up to a maximum if competing offers come in.

Seller credits and concessions

Buyers often request credits or concessions as part of their offer:

  • Closing cost credits (2-3% typical): Buyer asks seller to cover some of their closing costs, effectively reducing the net sale price.

  • Repair credits: After inspection, buyers may request credits for issues discovered rather than asking you to make repairs.

  • Rate buydowns: Buyers may ask for credits to buy down their mortgage interest rate.

When evaluating credits, focus on your net proceeds rather than the headline price. A $500,000 offer with $15,000 in credits nets you the same as a $485,000 clean offer, but may help the buyer afford the purchase.

After the sale

Once your sale closes, there are still some important steps to take.

Documents to keep

Maintain the following records for at least three years after the sale (longer if you have capital gains that may be audited):

  • Settlement statement (closing disclosure): Documents all costs and proceeds for tax purposes
  • Proof of improvements: Receipts and records for capital improvements you added to your cost basis
  • Original purchase documents: Including your purchase contract and closing disclosure
  • Home warranty information: If you provided a warranty to the buyer
  • Utility final bills: Proof of final readings and account closures

Tax reporting requirements

Report your home sale on:

  • Form 8949: Sales and Other Dispositions of Capital Assets
  • Schedule D: Capital Gains and Losses

Even if your gain is fully excluded under the primary residence exclusion, you may still need to report the sale if you receive Form 1099-S from the closing. The IRS requires reporting of all real estate sales, even non-taxable ones.

If you're using the exclusion, you'll report the sale and then show the exclusion on Form 8949, resulting in no taxable gain. If you have gains exceeding your exclusion, you'll calculate and pay tax on the excess.

Sell vs. rent decision

Sometimes the right choice isn't selling at all. Renting out your property may make more financial sense in certain situations.

Consider selling if...Consider renting if...
You need cash for your next homeYou have negative equity
You don't want landlord responsibilitiesMarket is temporarily down
You're moving far awayRental income covers all costs
You need the exclusion before it expiresYou want long-term appreciation
Property requires major capital improvementsProperty is in strong rental market
You have other investment opportunitiesYou have property management help

Exclusion considerations

Remember that the primary residence exclusion requires you to have lived in the home for 2 of the last 5 years. If you convert your home to a rental and wait too long to sell, you may lose part or all of your exclusion.

For example, if you move out and rent the property for 4 years before selling, you'll only have lived there for 1 of the last 5 years, disqualifying you from the exclusion entirely. Careful timing is essential if you're considering renting before an eventual sale.

Landlord realities

Before becoming a landlord, honestly assess whether you're prepared for:

  • Tenant screening and management
  • Maintenance calls and emergencies
  • Vacancy periods with no rental income
  • Potential property damage
  • Bookkeeping and tax complexity
  • Distance management if you're moving away

Many accidental landlords underestimate the time, stress, and expertise required. If you do decide to rent, consider working with a property management company, which typically charges 8-10% of monthly rent.

Working with professionals

Selling a home involves significant financial and legal complexity. The right professionals can help you navigate the process smoothly and maximize your proceeds.

Real estate agent: A skilled agent brings market knowledge, negotiation expertise, and transaction management. Interview several agents before choosing, and ask about their specific experience in your neighborhood and price range.

Real estate attorney: Required in some states and advisable in all. An attorney can review contracts, identify potential issues, and protect your interests throughout the transaction.

Tax professional: If you have capital gains concerns or complex tax situations, consult with a CPA or tax attorney before selling. Proactive tax planning can save significant money.

Home inspector: Even for sellers, a pre-listing inspection helps identify issues before they become negotiation problems.

By understanding all the costs, taxes, and considerations involved in selling your home, you can make informed decisions and maximize the proceeds from what may be your largest financial transaction.