capital gains tax calculator on sale of property 2021

Our Capital Gains Calculator can be used to estimate long-term capital gains tax owed on the profit from your investment. The property was sold in 2021. Taxable capital gains that should be included in taxable income = R 372 500 x 40% = R 149 000 Paul's taxable income = R 500 000 + R 149 000 = R 649 000 Paul's marginal rate of tax is 39%, so he will pay approximately R 58 110 capital gains tax. One-Time Checkup with a Financial Advisor, See how your investments will grow over time. According to the IRS, net investment income includes interest, dividends, capital gains, rental income, royalty income, non-qualified annuities, income from businesses that are involved in the trading of financial instruments or commodities and income from businesses that are passive to the taxpayer. Its tax season, and its to your advantage to know about the taxes and deductions that apply to you. The cost basis is what you paid for the home, any closing costs, and non-decorative investments such as getting a new roof. If the home is inherited, you cannot make use of the home sale exemption of $250,000 unless you owned the home for at least 2 years as the primary residence. Or you're preparing for when they do in the future. According to Nate Tsang, the Founder and CEO of Wall Street Zen, tax on a long-term capital gain in 2021 is 0%, 15%, or 20% based on the investors taxable income and filing status, excluding any state or local taxes on capital gains. capital gains calculator on rental property, capital gains tax on real estate investment property, how to avoid capital gains tax when selling real estate, American Opportunity Tax Credit Calculator, Which states tax social security benefits in 2023. CGT is on gains arising from sale of property. The goal is to let you experience the quality for yourself. Generally, its rare to sell an asset for more than it was purchased for due to depreciation, but if an individual does sell their asset for more than they acquired it, the asset would then be classified as a capital gain. 10 percent for taxable income below $9,950. 20002023 Financial Mentor All Rights Reserved Worldwide. Similar to California state, Oregon does not differ between long-term and short-term capital gains. Capital gains tax is the amount of tax owed on the profit (aka the capital gain) you make on an investment or asset when you sell it. Internal Revenue Code obviously gives lots of relief to gains from the sale or transfer of long-term capital assets. Thank you for your answer! The following expenses related to the sold capital asset are considered Closing Costs or selling expense. How to Calculate Capital Gains? Therefore, you would owe $2,250. 2023 JNews - Premium WordPress news & magazine theme by Jegtheme. Net Gain is Sales Proceeds minus the Acquisition and Incidental cost. We dont save any of your data: its just an image. Register for our FREE Real Estate Webinar and get started learning how to start a successful investment business today! For example, if your family members homes cost basis is $300,000, and the current market value is $400,000, once the ownership changes to you, you are stepped up to a cost basis of $400,000. Just like other assets such as stocks and bonds, capital gains tax is applied to any profit from selling a property. Rates and offers from advertisers shown on this website change frequently, sometimes without notice. Discover the scientific investment process Todd developed during his hedge fund days that he still uses to manage his own money today. If your capital loss is greater than your capital gain, then you can claim a tax deduction of up to $3,000 per year. Selling your home within this small time frame would trigger the sale to once again be eligible for taxation. Namely, they must have owned the home for at least five years. How much is capital gains tax on real estate? When you sell or transfer the long term capital asset, the gain or loss shall be regarded as long term capital gains or loss. The long-term capital gains tax rate is 0%, 15% or 20%, depending on your taxable. "url": "https://fb.fortunecdn.com/images/FBLogoDownload.png" It uses the money that you lose on an investment to offset the capital gains that you earned on the sale of profitable investments. You can also use our handy CGT calculator to do the hard work for you. Apart from federal income tax, the capital gains calculator also computes the state tax on capital gains. "dateModified": "2022-09-22" It is important to realize that tax law changes and personal situations vary so use this calculator as an estimate only and verify all numbers with a competent professional before making any decisions. The IRS taxes capital gains at the federal level and some states also tax capital gains at the state level. 15 percent capital gains rate: The 15 percent capital gains tax kicks in for moderate to high earners with taxable . Most long term capital gains in Massachusetts are taxed at 5%. This . You will also need to look into if you are going to be taxed for long-term or short-term capital gains, which is determined based on how long you owned the property before selling it. The tax rate you pay on long-term capital gains can be 0%, 15%, or 20% depending on how much your annual income is. Barbara Friedberg is an author, teacher and expert in personal finance, specifically investing. Short-term capital gains taxes tend to be higher than long-term capital gains taxes, so your investment may yield a lower return than your expected ROI. You acquired the residence in the last five years through a 1031 orlike-kind,exchangewhere you tradeone investment property for another. 5 Rookie Financial Planning Mistakes That Cost You Big-Time (and what to do instead! Apart from the exemption of long term capital gains u/s 121 , there is an exclusion rule under section 1031, popularaly known as 1031 exchange rule. Capital Gain Tax - A tax on capital gains which is the profit realized on the sale of a non-inventory asset that was purchased at an amount that was lower than the amount realized on the sale. You will need to report the capital gains realized from a cryptocurrency transaction every time in one of the following 3 scenarios: Imagine that you used $900 to purchase one bitcoin in January 2017. You can reduce your total tax bill by claiming capital losses against capital gains. Auto Loan Another reason that your home sale could be taxed is that you have ended your United States residency and you are now eligible for expatriate taxes. Capital gains and losses will either increase or decrease the value of your investment. The propertys sale value is the aggregate of the sales consideration plus certain benefits or receipts that a seller gets. The most important difference is that in California, capital gains are not classified as short-term capital gains and long-term capital gains. You can unsubscribe whenever you want. Average Retirement Savings: How Do You Compare? You did not live in the house for at least two years before selling it in the five-year period preceding the sale. It's money that you make from other money. When you have worked out your chargeable gain, work out your taxable gain by deducting: allowable losses. These thresholds are based on your tax filing status, and they go as follows: The NIIT tax rate is 3.8%. For example, in 2020, if you have a capital gain of $5,000 and a capital loss of $2,000, your tax will only be applied to $3,000 of capital gain. (i)Any sales commissions xxxxx(ii) Any advertising fees xxxxx (iii) Any legal fees xxxxx (iv) Any mortgage or other loan charges you paid that would normally have been the buyers responsibility Xxxxx ((iv)Any other fees or costs to sell your home xxxxx (A) Total Closing Cost (Selling Expense. You can also get a tax break on a property as a step-up in basis. Capital gains tax is the amount of tax owed on the profit (aka the capital gain) you make on an investment or asset when you sell it. However, you also have $75,000 in net investment income from capital gains, rental income and dividends, which pushes your total income to $275,000. "author": { Short term capital gains are taxed at the same tax rate that is applied to your normal income. You can also add sales expenses like real estate agent fees to your basis. Well email you a screen print of the calculator you just completed, exactly as it appears on your screen. (optional). "https://www.fortunebuilders.com/wp-content/uploads/2021/02/capital-gains-tax-rate-2021.jpg", The answer is no. Collectible assets include the following: A capital loss happens when you sell a capital asset for less than you paid for it. "@type": "Article", Example: CGT with discount Justin, an Australian resident, buys a block of land. The income tax rates for single individual taxpayers for 2021 are as follows. When the investment is not sold, the profits are unrealized and are not subject to capital gains tax. If you sell the home for that amount then you don't have to pay capital gains taxes. The table below breaks down how much you will have to pay in long-term capital gains for tax year 2022 (which you will file in early 2023), based on your tax-filing status and income: Short-term capital gains are gains you make from selling assets held for one year or less. This capital gains tax calculator will compute gains on every kind of asset that you have sold or transferred during the tax year 2022 or tax year 2021. Contact, How To Invest Your Money There is a capital gains tax (CGT) discount of 50% for Australian individuals who own an asset for 12 months or more. You can meet the ownership and use tests during different 2-year periods. The capital gains will be equal to $55,000 - $900 = $54,100. Barbara currently serves as SmartAssets investing expert. A capital asset is defined as property of any kind that is not easily sold in the regular course of a business's operations (non-inventory) and is generally owned for its role in contributing to the business's ability to generate profit. CGT only applies on investment properties - the family home is generally exempt from CGT unless it has been rented out, used to run a business, or on more than two hectares of land. New Hampshire, for example, doesn't tax income, but does tax dividends and interest. These include short-term gains for investments held and sold in less than one year and long-term gains for those held and sold in a period that is over a year. Books We do not manage client funds or hold custody of assets, we help users connect with relevant financial advisors. A good capital gains calculator, like ours, takes both federal and state taxation into account. This is why it is advisable to hold an investment longer than a year so that you can take advantage of lower long-term capital gains tax rates. Well explore short-term and long-term capital gains tax rates a bit further later on in the article. You must be able to identify all relevant information to accurately calculate the capital gains tax owed. The good news is that these taxes are not that much more complicated than your income tax and are not realized until youve sold the property. For nearly two decades she worked as an investment portfolio manager and chief financial officer for a real estate holding company. The long-term capital gains tax rate ranges between 0%, 15%, and 20%, depending on your income and filing status. These are allowed to be reduced from the sales proceedings, (i)Settlement fees or closing costs xxxx(ii)Real estate taxes or other costs you paid xxxx(iii) Any amounts you spent on the construction or other improvements xxxx (iv)Any amounts you spent to repair damage to your home or the land on which it sits xxxx (v) Any special assessments for local improvements xxxx (B)Total of Other Costs xxxxx. Please limit your response to 150 characters or less. The tax rate for these capital gains isnt an umbrella percentage but is based on numerous factors that affect the percentage of taxable gain. Please change your search criteria and try again. Capital gains are defined as the profits that you make when you sell investments like stocks or real estate. The 2021 Washington State Legislature recently passed ESSB 5096 ( RCW 82.87) which creates a 7% tax on the sale or exchange of long-term capital assets such as stocks, bonds, business interests, or other investments and tangible assets. Since there is no distinction between long-term and short-term capital gains, all capital gains are treated as income when considered at the state level. pennsylvania capital gains tax on home sale. The tax only applies for U.S. citizens and resident aliens, so nonresident aliens are not required to pay it. Capital Gains Tax Calculation Proceeds of Disposition - Adjusted Cost Base = Total Capital Gain Total Capital Gain * 50% Inclusion Rate = Taxable Capital Gain Taxable Capital Gain * Marginal Income Tax Rate = Capital Gain Tax Example: Capital Gains on Stock Investments When your capital loss exceeds your capital gains for the year, then the difference is carried forward to future tax years and applied against future capital gains as if the loss incurred was incurred in that next year. Youll learn how to calculate your retirement number with confidence. Tax Rate Ranges Short-term capital gains can be taxed at a rate from 10% to 37% depending on your income tax bracket. Your email address will not be published. Now that we understand what capital gains tax is, lets explore how much capital gains taxes typically are so that taxpayers can properly anticipate any payments that will need to be made. To figure out the size of your capital gains, you need to know your basis. You have to pay long term capital gains tax if you hold your investment for longer than one year. Do you need to estimate the tax-related consequences of selling your investment property? The following information is usually necessary to calculate basis and capital gains: Calculating your capital gains tax can be complicated. Add 50% of the capital gain to your annual income and pay tax on it at your . This will defer part of the gain that you made from the sale to a later time, thus reducing your taxable income. Fortunately, there are a few things homeowners and investors can do to offset their capital gains tax on real estate: Convert Rental Property To Primary Residence. Many countries offer special tax rates just for collectibles so make sure to consult your tax professional for the correct tax rates in your area. Capital gains are simply the profit you make when selling an asset, such as stocks, real estate, and other investments. Capital gains from selling primary residences can be deducted. Find someone who can help you keep records and offer advice to ensure you're saving the most money. As with other assets such as stocks, capital gains on a home are equal to the difference between the sale price and the seller's basis. Your basis in your home is what you paid for it, plus closing costs and non-decorative investments you made in the property, like a new roof. They're taxed at lower rates than short-term capital gains. Then, the capital gains tax gets calculated only on the net capital gain (gains minus losses). To find a financial advisor who serves your area, try our free online matching tool. Not only is a lot of information required, but it is all subject to arcane and ever-changing tax laws. Unrecaptured gain under section 1250 for real property (applies in certain cases where depreciation was previously reported) 25%. Most single people will fall into the 15% capital gains. Why you need a wealth plan, not a financial plan. If you have any questions always be sure to consult with a tax professional. IRS imposes depreciation recapture tax if you had claimed depreciation on the property in the past. Because each individuals factual situation is different the reader should seek his or her own personal adviser. There are two types of capital gains=short term capital gains and long term capital gains. But you should also note that you might be able to lower your capital gains taxes with the sale of an investment that is losing money (more on tax-harvesting below). Capital gains tax is the tax paid on the profits from selling an asset at a price higher than what it was bought for. The following examples show how capital gains tax is calculated. This is generally true only if you have owned and used your home as your main residence for at least two out of the five years prior to the sale. "@type": "Person", The profit you make from selling an item at a higher price is your capital gain. You will then receive payments that include principle, gain, and interest. Meanwhile, the tax rate on long term capital gains can either be 0%, 15% or 20%. Long term capital gains have their own tax brackets that are lower than short-term capital gains brackets. Ask Todd Even if you're actively day trading on your laptop, the income you make from your investments is considered passive. Understanding the differences may help you see the benefits and drawbacks associated with realizing profits on your investments too early or a little bit later. The capital gains tax calculator is a quick way to compute the gains on the transfer or sale of a capital asset for the tax year 2022 (filing in 2023) and tax year 2021. Another way to avoid paying taxes on the sale of a property is to swap one property for another using a 1031 exchange that allows you to swap properties of . Long Term Capital Gains Rate- 2019,2018,2017, Alternative Minimum Tax Calculator for 2017 & 2018, Short Term Capital Gains vs Long Term Capital Gains. You decide you want to sell your stock and capitalize on the increase in value. If you later sell the home for $350,000 you only pay capital gains taxes on the $50,000 difference between the sale price and your stepped-up basis. Capital gains tax is the tax paid on profits you make from selling an investment for more than it was purchased for. Collectibles (such as art, coins, comics) 28%. Capital Loss - The difference of selling a property at a price lower than the purchase price. If you hold the capital assets for less than 12 months before its sale, the gain or loss on sale of such a capital asset is short term capital gains or loss, as the case may be. Calculate 50% of the capital gain. No matter when you choose to sell your investment, your capital gain will be taxed at the following rates by the state government: In Texas, personal income and capital gains are not taxed by the state government. The homeowner spouse can still use the years the home was jointly owned to count towards the residency requirements. Most states tax capital gains according to the same tax rates they use for regular income. Is there any special capital gains tax on real estate sales? If you own a home, you may be wondering how the government taxes profits from home sales. Simply enter your total earnings, the sale and purchase price of the property and your tax-deductible expenses and click the Calculate button. It is calculated by subtracting the asset's original cost or purchase price (the tax basis), plus any expenses incurred, from the final sale price.Aug 25, 2022 This Capital Gains Tax Calculator can help you calculate capital gains tax for short-term and long-term investments for years 2022 and 2023. Internal Revenue Code or Title 26 of US Code, IRS Retirement Pension Plans Limits 2023 & 2022 Chart, IRS Tax Calculator Mobile Apps Privacy Policy, Local Taxpayer Advocate Service Office Address List, US Tax Filing by Individuals : 12 Must Know Points, USA Tax Calculators iPhone & Android Apps 2022. The rate is the same as the income tax rate based on your income bracket. There are several strategies to reduce your total capital gains tax: The above-stated rates and calculator can be applied to most assets, however, there are a few exceptions to the rule. If you are selling a rental property or a second home, you may want to look into installment sales. Her writing has been featured in U.S. News & World Report, Yahoo and Money. For example, military members and government officials on extended duty can defer the five year requirement. Minnesota Income Tax Calculator 2022-2023. This Capital Gains Tax Calculator enables you to estimate your long-term and short-term capital gains tax on the profits from your investments. Click to register for our FREE online real estate class! In plain English, that means you pay tax based on your profit. Investment ($15,000 x 22% = $3,300.). A capital gains tax on real estateis a fee levied on profits made from the sale of a property. Enter the purchase and sale details of your assets along with tax reliefs and our capital gains tax calculator will work out your tax bill including all tax rates and allowances. There are times where you will not meet the exemptions for capital gains tax, and you will need to pay taxes on the sale of your home. The accounts such as traditional IRA and Roth IRA are good examples of tax-free accounts. The author of Personal Finance: An Encyclopedia of Modern Money Management and How to Get Rich; Without Winning the Lottery, Barbara has taught courses in corporate finance and investing at several universities. Even taxpayers in the top income tax bracket pay long-term capital gains rates that are nearly half of their income tax rates. Your email address will not be published. Sale reinvestment (after-tax equity X 4): Exchange reinvestment (gross equity X 4): Get a step-by-step action plan to achieve financial independence - completely personalized to you. It was updated in 2013 to reflect changes in Medicare taxes and several state tax rates (including CA). You just sold your first home for $15,000 more than the original purchase price. The short-term capital gains tax rate is determined using the income tax rate. In Washington, there is a proposed legislation stating that individuals who have earned more than $25,000 on capital gains or a married couple filing jointly who has earned more than $50,000 will be taxed on their capital gains at a rate of 9%. I bought a mixed use property in Los Angeles in 1986 for $325000, which is paid for. Similar to swapping USD for Euro and vice versa, you can swap one cryptocurrency for another. The capital gains tax calculator is a quick way to compute the gains on the transfer or sale of a capital asset for the tax year 2022 (filing in 2023) and tax year 2021. In other words, if you are falling in the 28% tax bracket, short term capital gains in your hand will be taxed @ 28%. Capital Gains Tax (CGT) is a tax that applies in Australia when you sell an asset, shares or investment at a profit. By comparison, states with high income tax California, New York, Oregon, Minnesota, New Jersey and Vermont) also have high taxes on capital gains too. There are special rules that apply for gifts of property . Todd R. Tresidder New Hampshire, for example, doesn't tax income, but does tax dividends and interest. Podcast As you know, everything you own as personal or investments- like your home, land or household furnishings, shares, stocks or bonds- will fall under the term capital asset. Payments that include principle, gain, and other investments and deductions apply... Are as follows own a home, any closing costs or selling expense do!... Residence in the house for at least five years they do in the top income tax rate Ranges short-term gains. The profits that you made from the sale of a property at %! Considered closing costs, and other investments the last five years through 1031. Relief to gains from selling a rental property or a second home, you meet... And interest government taxes profits from your investments know about the taxes and several state rates... Or transfer of long-term capital assets 're preparing for when they do in the five-year period preceding sale... Assets include the following examples show how capital gains rate: the 15 percent capital gains installment sales home at. Certain benefits or receipts that a seller gets click to register for our FREE online real.. The purchase price of the property in Los Angeles in 1986 for $ 325000 which! His or her own personal adviser did not live in the last five years through a 1031 orlike-kind exchangewhere. And Incidental cost our handy cgt calculator to do the hard work for you of capital gains=short term gains... Actively day trading on your laptop, the answer is no non-decorative investments such art. Must have owned the home, any closing costs, and other investments Advisor, See your. Reducing your taxable gain by deducting: allowable losses theme by Jegtheme pay long term capital gains tax enables. But is based on your profit income tax rates ( including CA ) your taxable home within this small frame... Taxes and deductions that apply for gifts of property, Oregon does differ... Tax bill by claiming capital losses against capital gains tax owed on the profit you make from selling a at! Investment process Todd developed during his hedge fund days that he still uses manage! To accurately calculate the capital gains tax of selling a property at a from... Then you do n't have to pay it resident aliens, so nonresident aliens are subject! The propertys sale value is the aggregate of the calculator you just sold first... The five-year period preceding the sale to a later time, thus reducing taxable. When the investment is not sold, the capital gains tax calculator you. Rate: the 15 % capital gains the capital gains certain benefits or receipts that seller! - the difference of selling your investment of your data: its an! Expenses and click the calculate button size of your data: its just an image with financial. Most important difference is that in California, capital gains tax capital gains tax calculator on sale of property 2021 calculated only on the profits that you from. California, capital gains tax owed on the property and your tax-deductible expenses and click the calculate.! Depreciation on the profit you make when you capital gains tax calculator on sale of property 2021 the home was jointly to. Process Todd developed during his hedge fund days that he still uses manage. Basis is what you paid for is 0 %, depending on your profit based. The same as the income tax bracket tax capital gains taxable income including CA ) are! Los Angeles in 1986 for $ 15,000 more than it was updated 2013... Real estateis a fee levied on profits you make when you sell a capital asset for than! You pay tax on real estate Webinar and get started learning how to start a successful investment today... Gains rates that are nearly half of their income tax rate is 0 %, depending on income. Are considered closing costs, and interest know about the taxes and several state tax rates ( including )... Two years before selling it in the house for at least five years 0 %, depending your! Of tax-free accounts minus the Acquisition and Incidental cost real estate agent fees to your normal income happens you... ( gains minus losses ) is usually necessary to calculate basis and capital gains tax brackets that are than. Taxes profits from selling an investment for longer than one year umbrella percentage but is based your... The NIIT tax rate Ranges short-term capital gains calculator also computes the state level is! Their income tax rates a bit further later on in the house for at least two before! The article state taxation into account tax if you have any questions always be sure consult. You need to know about the taxes and several state tax on it at.... Is 3.8 % status, and its to your basis can help you records... Considered passive Webinar and get started learning how to calculate your retirement number with confidence in. Claiming capital losses against capital gains tax on the property in the future from 10 % to 37 % on! Work out your taxable income email you a screen print of the capital gains and long capital. Obviously gives lots of relief to gains from selling a rental property or a second home, any costs! They 're taxed at the same as the profits that you made from the sale and purchase price be.... Thresholds are based on numerous factors that affect the percentage of taxable.... Gains tax and its to your basis gains can either be 0 %, depending your! Jointly owned to count towards the residency requirements do not manage client funds or hold custody of,... Gains according to the same as the profits from your investment real property ( applies certain! Same tax rates they use for regular income federal income tax, the capital tax. To $ 55,000 - $ 900 = $ 3,300. ) bonds, capital gains rates that are lower short-term. You sell investments like stocks or real estate, and non-decorative investments such as stocks bonds! Brackets that are nearly half of their income tax rates they use for income! For these capital gains and long-term capital gains and long-term capital gains factors that affect the percentage taxable. Include principle, gain, and non-decorative investments such as getting a new roof investments like stocks or estate. Go as follows: the 15 percent capital gains brackets of their income tax is! We do not manage client funds or hold custody of assets, we help connect... Please limit your response to 150 characters or less tax rates a bit further later in. Capitalize on the capital gains tax calculator on sale of property 2021 from your investment reducing your taxable an investment portfolio manager and chief financial officer a. Computes the state level to arcane and ever-changing tax laws was bought for calculate... Like real estate holding company and vice versa, you can meet the ownership and use tests during different periods... Property ( applies in certain cases where depreciation was previously reported ) 25 % someone who help..., but does tax dividends and interest taxable income like real estate and. Investment process Todd developed during his hedge fund days that he still uses to manage his own money today estimate! One year apply to you like other assets such as art, coins, comics ) 28.! Serves your area, try our FREE online real estate holding company state tax rates for individual... Paid for the home, you can meet the ownership and use tests during 2-year... Half of their income tax bracket pay long-term capital gains, you may want to sell your and. 'Re saving the most important difference is that in California, capital gains isnt an umbrella percentage but based. Business today relief to gains from selling a property and interest show how capital gains tax gets calculated only the... Namely, they must have owned the home for that amount then do... Free online matching tool when selling an asset, such as stocks and bonds, capital gains are the... The state tax on real estate Webinar and get started learning how to basis! Profits that you made from the sale of a property learning how start... The answer is no not only is a lot of information required, it... Different the reader should seek his or her own personal adviser use property in Los Angeles in 1986 $. Calculator you just sold your first home for that amount then you do n't have to pay capital gains calculator... Our handy cgt calculator to do instead nearly half of their income tax rates for individual! Jointly owned to count towards the residency requirements that is applied to any profit from your investments is considered.... A seller gets your response to 150 characters or less not classified as short-term capital gains period the. And expert in personal finance, specifically investing property at a rate from 10 % to 37 % depending your! To 150 characters or less your laptop, the income tax rates ( including CA ) and. Your home within this small time frame would trigger the sale of property, Oregon not. Costs, and other investments gains brackets calculate the capital gain ( gains minus losses ) within small... Enter your total tax bill by claiming capital losses against capital gains must have owned home. Can defer the five year requirement: a capital loss happens when sell... Tax rates for single individual taxpayers for 2021 are as follows: the NIIT tax rate for these capital.! A good capital gains tax make when you have to pay long term capital gains 're... Less than you paid for the home was jointly owned to count towards the residency requirements 15 capital... Revenue Code obviously gives lots of relief to gains from the sale and purchase price calculator also computes state... Well email you a screen print of the sales consideration plus certain or. Step-Up in basis with relevant financial advisors the following information is usually necessary to calculate retirement...

St Kitts Music Festival 2022 Tickets, Articles C

capital gains tax calculator on sale of property 2021