In the USA, probably the best is the tax exclusion for selling a personu2019s primary home. The exclusion is up to $250,000 (or $500,000 if you are married filing jointly). Generally speaking, a person is typically eligible if the person owned the home for at least 24 months out of the last 5 years before date of the closing; and the person owned the home and used it as the personu2019s residence for at least 24 months of the previous 5 years; and the person has not claimed an exclusion from sale of a house within the previous two years. There are more important details, but those are the big ones.Another thing to remember is that a person can generally subtract any selling costs from the selling price when calculating taxes. Examples include selling costs, broker fees and commissions, and legal fees.Also remember that, when figuring the gain on the sale, the person should correctly calculate the cost of purchasing the home. These costs include charges to install utility services, legal fees, title search fees, preparation of the sales contract and deed, recording fees, survey fees, transfer taxes, and owner's title insurance, and broker fees and commissions.The person should also add costs to substantially improve the home, which may include adding a bedroom, adding a bathroom, adding a deck, adding a garage, adding a porch, adding a patio, adding landscaping, adding a driveway, adding a walkway, adding a fence, adding a retaining wall, adding a swimming pool, adding central air conditioning, adding a central humidifying system, adding a central vacuum system, adding an air or water filtration system, adding a security system, adding a lawn sprinkler system, adding storm windows or storm doors, adding a fireplace.Repairs do not usually count if the repair keeps the home in good condition and do not add to its overall value or prolong the life of the house, or if the repair is part of an extensive remodeling or restoration job.See IRS Publication 523 for more information, include important details, requirements, exceptions, and qualifications. https://www.irs.gov/pub/irs-pdf/...See a tax professional for specific advice.