Learn Math Online – StepbyStep Lessons Practice

Capital gains occur when you sell an asset—such as stocks, real estate, or collectibles—for more than you originally paid for it. The difference between the purchase price, known as the cost basis, and the selling price is your taxable gain. If you sell an asset for less than its cost basis, you realize a capital loss, which can sometimes be used to offset other gains. Understanding this basic subtraction is the first step in protecting your personal wealth from excessive taxation. The duration for which you hold an asset significantly impacts the tax rate applied to your profit. Short-term capital gains apply to assets held for one year or less and are typically taxed at your ordinary income tax rate. Long-term capital gains apply to assets held for longer than a year and generally benefit from lower, preferential tax rates. This distinction encourages long-term investment over high-frequency trading, allowing individuals to keep a larger portion of their earnings through patient capital allocation. To calculate the realized gain, you must first determine the adjusted cost basis. This includes the original purchase price plus any associated costs like commissions, legal fees, or significant improvements made to the asset. For example, if you bought a stock for $1,000 and paid a $10 commission, your cost basis is $1,010. Accurate record-keeping is essential to ensure you are not overpaying by ignoring these incremental costs that reduce your total taxable profit. Net capital gains are determined by "netting" your total gains and losses for the year. First, short-term losses are subtracted from short-term gains, and long-term losses are subtracted from long-term gains. If a loss remains in one category, it can be used to offset a gain in the other. This mathematical process is a primary tool for tax-loss harvesting, a strategy where investors sell underperforming assets specifically to reduce their total tax liability on successful investments. The math of capital gains also involves the concept of the "Step-up in Basis" upon inheritance. When an individual inherits an asset, the cost basis is often reset to the fair market value at the time of the previous owner's death. This means if the heir sells the asset immediately, the taxable gain is zero, regardless of how much the asset appreciated during the original owner's lifetime. This is a critical mathematical component of intergenerational wealth preservation. Real estate investments offer unique tax considerations, such as the Section 121 exclusion in some jurisdictions. This allows individuals to exclude a specific amount of profit from the sale of a primary residence from their taxable income, provided they met ownership and use tests. Mathematically, this functions as a "tax-free bracket" specifically for the home you live in, which can represent a massive savings compared to selling a commercial property or a secondary investment. Inflation can erode the real value of capital gains, yet most tax systems calculate gains based on nominal dollars. If you buy an asset for $100 and sell it for $120 years later, but inflation has risen 20%, your real economic gain is zero even though you owe taxes on a $20 nominal gain. Understanding the difference between nominal and real rates of return is vital for assessing whether an investment is truly growing your purchasing power after the government takes its share. Capital gains taxes are often progressive, meaning the rate increases as your total taxable income rises. In many systems, there is a 0% long-term capital gains rate for individuals below a certain income threshold. As income moves into higher brackets, the rate may jump to 15% or 20%. Calculating the "marginal" impact of selling an asset is necessary to ensure that a large gain doesn't inadvertently push your total income into a much higher tax percentage for all your gains. Wash-sale rules are a regulatory constraint on the math of losses. If you sell an investment at a loss to claim a tax deduction but buy a "substantially identical" security within 30 days before or after the sale, the loss is disallowed for current tax purposes. Instead, the loss is added to the cost basis of the new investment. This prevents investors from "gaming" the system to create artificial losses while maintaining their market position. Effective wealth management requires looking at the "After-Tax Return" rather than the "Gross Return." The formula for after-tax profit is $P_{at} = G - (G \times T)$, where $G$ is the gain and $T$ is the tax rate. By focusing on the math of what you keep, you can make more informed decisions about when to sell an asset and when to hold it, ensuring that your financial strategy serves your independence rather than the state's treasury. 1 Selling Price + Cost Basis Selling Price - Cost Basis Selling Price / Cost Basis Cost Basis - Selling Price What is the basic formula for calculating a capital gain? 2 Exactly six months Less than one year More than one year One month or less Which holding period usually qualifies an asset for lower long-term capital gains rates? 3 $6,000 $5,000 $4,950 $5,050 If you buy a stock for $5,000, pay a $50 fee, and sell it for $6,000, what is your adjusted cost basis? 0 Tax-loss harvesting Inflation indexing Step-up in basis Wash-sale What is the term for using investment losses to reduce the tax burden on investment gains? 2 It is reduced to zero It stays the same as the original owner's purchase price It is stepped up to the current fair market value It is doubled to account for inflation If an heir receives an asset through inheritance, what often happens to the cost basis? 1 Nominal includes taxes, real does not Real accounts for inflation, nominal does not Nominal applies only to real estate Real applies only to short-term trades What is the primary difference between nominal and real capital gains? 2 To avoid the wash-sale rule To pay short-term instead of long-term rates To qualify for lower long-term tax rates To increase the adjusted cost basis Why might an investor choose to hold an asset for 13 months instead of 11 months? 1 The loss is permanently deleted The loss cannot be claimed immediately for tax purposes You receive a tax credit Your tax rate is automatically lowered Under the wash-sale rule, what happens if you buy the same stock 10 days after selling it at a loss? 1 It will always stay at 0% It may move to a higher progressive bracket It will decrease to encourage more spending It becomes a flat $500 fee If your total income increases significantly, what might happen to your capital gains tax rate? 2 The total cost of inflation The gross return before fees The after-tax profit you actually keep The total value of the original investment What does the formula $P_{at} = G - (G \times T)$ represent?

Edit