Password Generator
Developers are using this tool today
Open
Audio Cutter & Trimmer
Developers are using this tool today
Open
JSON Formatter
Developers are using this tool today
Open
Barcode Generator
Developers are using this tool today
Open
Percentage Calculator
Developers are using this tool today
Open
JavaScript Beautifier
Developers are using this tool today
Open
Credit Card Interest Calculator
Developers are using this tool today
Open
HTML Minifier
Developers are using this tool today
Open
Random Number Generator
Developers are using this tool today
Open
XML Validator
Developers are using this tool today
Open
Unit Converter
Developers are using this tool today
Open
PHP Beautifier
Developers are using this tool today
Open
SQL Formatter
Developers are using this tool today
Open
CSS Beautifier
Developers are using this tool today
Open

Capital Gains Tax Calculator

Estimate short-term & long-term capital gains tax on stocks, crypto, real estate, and investments with federal, state, and NIIT breakdowns.

Asset Sale & Holding Period
Filing Status & Total Income
$10,500
Effective Rate: 15.0%

Capital Sale Proceeds Breakdown

Total Capital Gain
$0
Federal CG Tax
$0
State CG Tax
$0
Net Profit After Tax
$0

Tax Liability Summary & Surtax Breakdown

Tax Category Applicable Rate Taxable Gain Estimated Tax

Capital Gains Tax Calculator: Calculate STCG, LTCG & Tax Liability

Selling an asset like real estate, stocks, mutual funds, or crypto often results in a profit or loss. When you sell an asset for more than you paid for it, that profit is called a Capital Gain and is subject to taxation.

Our Capital Gains Tax Calculator helps you quickly estimate your Short-Term Capital Gains (STCG), Long-Term Capital Gains (LTCG), total taxable profit, applicable tax rates, and final tax liability.

Whether you are selling stock portfolio shares, real estate property, digital assets, or business equity, this tool simplifies complex tax calculations, accounting for purchase prices, sale proceeds, holding periods, and eligible deductions or indexation benefits.

Note: Capital gains rules vary significantly based on asset class and country. Always verify final figures with a tax advisor or CPA before filing returns.

Short-Term vs. Long-Term Capital Gains

The tax rate applied to your gain primarily depends on how long you held the asset before selling it (Holding Period).

Short-Term (STCG)

Held for a Short Duration

Applies when an asset is sold within a short holding timeframe (typically less than 1 to 3 years, depending on the asset class and local tax jurisdiction).

Tax Rate: Usually taxed at ordinary income tax bracket rates or a fixed short-term percentage.

Long-Term (LTCG)

Held for a Long Duration

Applies when an asset is held past the threshold time limit. Governments often incentivize long-term investments with lower tax brackets.

Tax Rate: Generally lower preferential tax rates, and in some jurisdictions, benefits like indexation/inflation adjustments.

Capital Gain Calculation Formula

Total Gain = Sale Value - (Purchase Price + Selling Costs)

Selling costs include expenses like brokerage fees, commission, legal costs, or transfer charges.

Estimated Tax Payable Formula

Tax Payable = Taxable Capital Gain × Tax Rate (%)

Taxable gain is calculated after adjusting allowable exemptions, basic tax-free thresholds, or losses carried forward.

How to Use the Capital Gains Calculator

Step 1: Select Asset Type

Choose whether you sold Real Estate, Stocks/Equity, Mutual Funds, Crypto, or Gold.

Step 2: Enter Purchase & Sale Price

Enter the original buy price and the final sale proceeds received from the asset.

Step 3: Provide Dates / Holding Period

Input purchase and sale dates to automatically determine if it is STCG or LTCG.

Step 4: Include Transfer Costs

Add transaction fees, brokerage, stamp duty, or legal transfer costs to reduce tax base.

Step 5: Select Applicable Tax Rate

Choose your income tax slab or entering custom percentage for accurate tax estimation.

Step 6: Review Breakdown

Instantly see your Net Profit/Loss, Taxable Gain, and Estimated Tax Due.

Frequently Asked Questions

What is a Capital Gains Tax?

It is a tax charged on the profit (gain) realized when you sell a capital asset (like real estate, shares, or bonds) for a higher price than what you bought it for.

What is the difference between Short-Term and Long-Term Capital Gains?

Short-Term Capital Gains apply to assets held for a brief period and are usually taxed at higher rates. Long-Term Capital Gains apply to assets held longer and usually enjoy lower tax rates or indexation benefits.

Can capital losses offset capital gains?

Yes! In most tax systems, if you sell an asset at a loss, you can use that capital loss to offset capital gains, reducing your overall tax liability.

Are transfer fees and brokerage expenses deductible?

Yes, expenses directly incurred during the acquisition or sale of the asset (like real estate agent fees, brokerage, or legal fees) can usually be deducted from your total sale proceeds.

Spread the Word!

Join Our Developer Community!

Get weekly coding tips, tool updates, and exclusive tutorials straight to your inbox.

Request a Tool
×