Stock Return Calculator
Calculate total and annualized stock returns including capital gains, dividends, and trading fees with visual breakdown charts.
Return Composition
Value Breakdown
Year-by-Year Growth (Assuming Constant Annual Return)
| Year | Start Value | Growth | End Value | Cumulative Return |
|---|
Investment Summary
Benchmark Comparison
How your investment compares to common benchmarks (annualized).
| Benchmark | Avg. Annual Return | Your Return | Difference |
|---|
Understanding Stock Returns
Stock returns measure how much money you made or lost on an investment over a given period. The two primary components of stock returns are capital gains (the change in share price) and dividend income (cash distributions from the company). Together, they form the total return, which is the most complete measure of investment performance.
I built this calculator because many investors focus only on price appreciation when evaluating their investments, overlooking the significant contribution of dividends. Historically, dividends have contributed roughly 40% of the S&P 500's total return since 1930. Ignoring them paints an incomplete picture. This tool accounts for both components, along with fees and optional tax and inflation adjustments, to give you a thorough understanding of how your investment actually performed.
Capital Gains and Losses
Capital gains occur when you sell a stock for more than you paid. If you bought 100 shares at $50 each and sold them at $72 each, your capital gain is $22 per share, or $2,200 total. Capital losses occur when the sell price is lower than the buy price. The distinction between short-term and long-term gains matters for tax purposes in most jurisdictions. In the United States, investments held for more than one year qualify for long-term capital gains tax rates, which are lower than short-term rates for most taxpayers.
Unrealized capital gains (where you still hold the stock and the price has increased) are sometimes called "paper gains." They become realized gains only when you sell. This distinction affects your tax liability because unrealized gains are not taxed until the position is closed. Some investors hold winning positions specifically to defer tax payments, allowing the unrealized gains to continue compounding.
Dividend Income
Dividends are regular cash payments that companies distribute to shareholders from their earnings. Not all companies pay dividends. Growth companies often reinvest all earnings back into the business rather than distributing them. Mature companies in sectors like utilities, real estate (REITs), consumer staples, and financials tend to pay regular dividends.
Dividend payments are typically made quarterly in the United States, though some international companies pay semi-annually or annually. The dividend yield is calculated as annual dividends per share divided by the current share price. A stock trading at $100 that pays $3 in annual dividends has a 3% yield. This yield changes as the stock price moves, even if the dividend remains constant.
Companies that have increased their dividend payment every year for 25 or more consecutive years are called "Dividend Aristocrats." As of 2026, the S&P 500 Dividend Aristocrats index includes companies like Procter & Gamble (67+ years), Coca-Cola (60+ years), and Johnson & Johnson (60+ years). These companies demonstrate a long-term commitment to returning capital to shareholders.
Dividend Reinvestment (DRIP)
Dividend reinvestment plans (DRIPs) automatically use dividend payments to purchase additional shares of the same stock. This approach uses the compounding effect because each reinvested dividend generates its own future dividends. Over long holding periods, the difference between reinvesting and taking cash dividends is substantial.
Consider an investment of $10,000 in a stock yielding 3% with 5% annual price appreciation. After 20 years without dividend reinvestment, the investment would be worth approximately $26,533 (price appreciation) plus $6,000 in cash dividends received, totaling $32,533. With DRIP, the compounding effect would increase the total value to approximately $41,000 because reinvested dividends also appreciated and generated their own dividends.
Total Return vs Price Return
Price return measures only the change in stock price, while total return includes both price change and dividends received. Most financial websites display price charts by default, which can mislead investors about actual performance. For example, AT&T's stock price was roughly the same in 2016 and 2026, suggesting zero return. But AT&T paid approximately $2 per share in annual dividends during that period, meaning the total return was significantly positive despite flat price performance.
Index returns are similarly affected. The S&P 500 "price return" index and the S&P 500 "total return" index diverge substantially over time. Over 30 years, the total return index (which assumes reinvested dividends) grows to roughly double the price return index. When evaluating any investment, always ask whether the quoted return includes dividends.
The Annualized Return Formula
Annualized return (also called CAGR, Compound Annual Growth Rate) converts a total return earned over any period into an equivalent yearly rate. This makes it possible to compare investments held for different durations on equal terms.
The formula is: Annualized Return = ((Ending Value / Beginning Value) ^ (1 / Years)) - 1. For example, if you invested $5,000 and after 3 years it was worth $7,200 (including dividends received and minus fees), the annualized return would be ((7,200 / 5,000) ^ (1/3)) - 1 = 0.129 = 12.9% per year.
Annualized return assumes compound growth at a constant rate, which rarely happens in practice. Actual year-by-year returns fluctuate. A stock might return +30% in year one, -10% in year two, and +20% in year three. The annualized return smooths these fluctuations into a single equivalent rate. This makes annualized return useful for benchmarking but potentially misleading about the volatility experienced along the way.
Geometric vs Arithmetic Mean Returns
The annualized return is a geometric mean, which accounts for compounding. The arithmetic mean simply averages each year's return. For volatile investments, the geometric mean is always lower than the arithmetic mean. Consider a stock that gains 50% in year one and loses 50% in year two. The arithmetic mean return is 0% ((50% + -50%) / 2), suggesting you broke even. But you actually lost money: $100 becomes $150 after year one, then $75 after year two. The geometric mean correctly reflects this loss at -13.4% per year.
This discrepancy, sometimes called "volatility drag," is why risk matters even when average returns look attractive. Two investments with the same arithmetic average return will produce different outcomes if one is more volatile. The less volatile investment will have a higher geometric mean and deliver more wealth over time.
Taxes and Their Impact on Returns
Taxes reduce investment returns significantly, and understanding their impact helps with planning. In the United States, capital gains tax rates depend on how long you held the investment and your income bracket.
Short-Term vs Long-Term Capital Gains
Short-term capital gains (assets held one year or less) are taxed as ordinary income, with rates ranging from 10% to 37% depending on your income bracket. Long-term capital gains (assets held longer than one year) receive preferential rates of 0%, 15%, or 20% based on income. For a taxpayer in the 22% income bracket, selling a winning position one day before the one-year mark costs 7 percentage points more in taxes than waiting one extra day.
Dividend Tax Treatment
Qualified dividends (most dividends from U.S. companies held for at least 60 days around the ex-dividend date) are taxed at the same preferential rates as long-term capital gains. Non-qualified dividends (including many REIT distributions and some foreign company dividends) are taxed as ordinary income. The dividend tax treatment can significantly affect after-tax returns, especially for high-income investors who might pay 20% on qualified dividends vs 37% on non-qualified dividends.
Tax-Loss Harvesting
Tax-loss harvesting is the practice of selling losing positions to realize capital losses, which can offset capital gains in the same tax year. If you have $5,000 in realized capital gains and $3,000 in realized capital losses, you only owe taxes on the net $2,000 gain. If losses exceed gains, you can deduct up to $3,000 of net losses against ordinary income per year, with excess losses carried forward to future years. This strategy does not eliminate taxes but defers them, which has real value given the time value of money.
Inflation and Real Returns
Inflation erodes the purchasing power of investment returns. A 10% nominal return during a year with 3% inflation provides only about 6.8% in real (inflation-adjusted) purchasing power. The approximate real return formula is: Real Return = ((1 + Nominal Return) / (1 + Inflation Rate)) - 1. For small values, subtracting inflation from the nominal return gives a reasonable approximation, but the exact formula is more precise for larger values.
Over long periods, inflation's impact compounds just like investment returns. A dollar in 1990 had the purchasing power of roughly $2.40 in 2025, meaning prices approximately doubled. An investment that grew from $10,000 to $25,000 over that period sounds impressive, but in real terms the purchasing power only increased from $10,000 to about $10,400 after adjusting for inflation. Always consider real returns when evaluating long-term investment performance.
Historical Inflation Context
U.S. inflation has averaged approximately 3% per year since 1926. However, the rate varies significantly by decade. The 1970s saw inflation exceeding 10% annually, devastating real returns. The 2010s saw inflation below 2%, boosting real returns. The post-2020 period brought a return of higher inflation (peaking above 9% in 2022) before moderating. Central bank targets typically aim for 2% annual inflation, which is considered consistent with price stability and healthy economic growth.
Risk and Return Relationship
Higher expected returns generally come with higher risk. Understanding this tradeoff helps set realistic expectations for different investment types.
Historical Return Ranges by Asset Class
Large-cap U.S. stocks (S&P 500) have returned approximately 10% annually since 1926, with a standard deviation of about 20%. This means in any given year, returns typically fell between -10% and +30% (one standard deviation from the mean). Small-cap stocks have returned approximately 12% with a standard deviation of 32%. International developed market stocks have returned approximately 8% with similar volatility. Government bonds have returned approximately 5% with a standard deviation of about 6%. The higher returns of stocks come with significantly more volatility.
Maximum Drawdowns
Maximum drawdown measures the largest peak-to-trough decline in an investment's value. The S&P 500's worst drawdown since 1926 was approximately -86% during the Great Depression (1929-1932). More recently, the 2008-2009 financial crisis produced a drawdown of approximately -57%, and the 2020 COVID crash produced a drawdown of approximately -34% (which recovered in less than 6 months). Individual stocks can and do lose 100% of their value through bankruptcy. Understanding drawdown risk helps investors assess whether their portfolio can withstand worst-case scenarios.
Time Diversification
While stocks are volatile in any single year, the range of annualized returns narrows as the holding period lengthens. For the S&P 500, the worst 1-year return since 1926 was approximately -43% (2008). The worst 5-year annualized return was approximately -12%. The worst 10-year annualized return was approximately -1%. The worst 20-year annualized return was approximately +1%. No 20-year period in the S&P 500's history has produced a negative total return. This pattern suggests that long holding periods reduce the risk of permanent loss, though they do not eliminate it.
Common Investment Performance Metrics
Total return and annualized return are the most important metrics, but professional investors use several additional measures to evaluate performance in context.
Sharpe Ratio
The Sharpe Ratio measures risk-adjusted return by comparing the excess return (return above the risk-free rate) to the volatility of those returns. A Sharpe Ratio of 1.0 is considered good, 2.0 is very good, and 3.0 or higher is rare over extended periods. The formula is: Sharpe Ratio = (Portfolio Return - Risk-Free Rate) / Standard Deviation of Returns. An investment returning 12% with 10% volatility and a 4% risk-free rate has a Sharpe Ratio of (12 - 4) / 10 = 0.8.
Alpha and Beta
Beta measures how sensitive a stock's returns are to overall market movements. A beta of 1.0 means the stock moves in line with the market. A beta of 1.5 means the stock tends to move 50% more than the market (both up and down). A beta of 0.5 means the stock moves half as much as the market. Alpha measures the excess return above what the stock's beta would predict. Positive alpha suggests the stock outperformed its risk level, while negative alpha suggests underperformance.
Sortino Ratio
The Sortino Ratio is similar to the Sharpe Ratio but only penalizes downside volatility. This distinction matters because investors generally do not mind upside volatility (unexpectedly large gains). The Sortino Ratio replaces standard deviation in the denominator with downside deviation. A stock that is very volatile on the upside but stable on the downside will have a better Sortino Ratio than Sharpe Ratio, which more accurately reflects the investor experience.
Information Ratio
The Information Ratio measures a portfolio manager's ability to generate excess returns relative to a benchmark, adjusted for the consistency of that outperformance. It is calculated as the portfolio's active return (portfolio return minus benchmark return) divided by the tracking error (standard deviation of active returns). An Information Ratio above 0.5 is considered good, and above 1.0 is exceptional. Most active managers fail to sustain positive Information Ratios over long periods.
Dollar-Cost Averaging vs Lump-Sum Investing
Many investors do not buy and sell in single transactions. Dollar-cost averaging (DCA) involves investing fixed dollar amounts at regular intervals, purchasing more shares when prices are low and fewer shares when prices are high. This approach smooths the average purchase price over time.
Research consistently shows that lump-sum investing outperforms dollar-cost averaging approximately two-thirds of the time, because markets tend to rise more often than they fall. However, DCA reduces the risk of investing a large sum right before a market decline, which can be psychologically devastating even if the long-term impact is small. For investors who would otherwise keep money in cash out of fear, DCA provides a structured way to get invested.
When calculating returns for DCA investments, the calculation becomes more complex because you have multiple purchase dates at different prices. The internal rate of return (IRR) method handles this correctly by weighting each cash flow by its timing. Simple average purchase price divided by current price understates actual returns for DCA investments because it does not account for the time value of money.
Portfolio Context and Position Sizing
An individual stock's return tells only part of the story. Its impact on your overall portfolio depends on position sizing (what percentage of your portfolio it represents).
Concentration Risk
Holding a large percentage of your portfolio in a single stock magnifies both potential gains and potential losses. If a stock representing 5% of your portfolio doubles, your portfolio gains 5%. If it loses 50%, your portfolio loses 2.5%. If that same stock represents 50% of your portfolio and loses 50%, your portfolio loses 25%, which requires a 33% gain just to break even.
Professional portfolio managers typically limit individual stock positions to 2-5% of total assets. Concentrated positions often arise when company stock options vest and appreciate, when an inherited stock grows in value, or when a speculative pick performs well. The challenge is that selling to diversify triggers capital gains taxes, creating a tradeoff between tax deferral and diversification benefit.
Correlation and Diversification
Diversification works because different investments do not move in perfect lockstep. The correlation coefficient measures the degree to which two investments move together, ranging from -1 (perfectly inverse) to +1 (perfectly correlated). Combining assets with low or negative correlations reduces overall portfolio volatility without proportionally reducing expected returns. A portfolio of 20-30 uncorrelated stocks captures most of the diversification benefit. Adding more stocks beyond that point has diminishing returns.
Common Mistakes in Calculating Returns
Investors frequently make errors when evaluating their investment performance. Awareness of these pitfalls leads to more precise assessments.
Ignoring Fees and Commissions
Trading fees, fund expense ratios, advisory fees, and account maintenance charges all reduce returns. A 1% annual advisory fee on a $500,000 portfolio costs $5,000 per year. Over 30 years with 8% market returns, that 1% fee reduces the final portfolio value by approximately 25%. Many investors do not track cumulative fees and therefore overestimate their net returns.
Survivorship Bias
When reviewing past performance, investors often look at stocks and funds that still exist today, ignoring those that failed, merged, or closed. This creates an upward bias in perceived average returns. Mutual fund databases, for example, show higher average returns than investors actually experienced because poorly performing funds that closed are excluded from the data. Studies suggest survivorship bias inflates average fund returns by 1-2% per year.
Cherry-Picking Time Periods
Return calculations are highly sensitive to the start and end dates chosen. Starting the measurement right after a market crash and ending right before one can make mediocre investments look spectacular. An honest assessment uses multiple time periods (1-year, 3-year, 5-year, 10-year) and includes at least one full market cycle (peak to peak or trough to trough). The 10-year annualized return is generally considered the minimum period for meaningful long-term performance evaluation.
Confusing Nominal and Real Returns
Investors who earned 8% annual returns during a period of 3% inflation actually grew their purchasing power by only about 4.9% per year. Over 30 years, the difference between nominal and real wealth is dramatic. $100,000 growing at 8% nominal reaches $1,006,266. Adjusted for 3% inflation, the real purchasing power of that sum is approximately $412,000 in today's dollars. Retirement planning that uses nominal returns without adjusting for inflation leads to overly optimistic projections.
Investment Return Benchmarks and Context
Individual stock returns gain meaning when placed in context against relevant benchmarks and historical norms.
Major Index Performance
The S&P 500 has been the primary benchmark for U.S. large-cap stock performance since its creation in 1957 (though data has been back-calculated to 1926). Its long-term annualized total return of approximately 10% (including dividends) serves as the most commonly cited benchmark for stock returns. The Dow Jones Industrial Average (30 large-cap stocks) and the Nasdaq Composite (technology-heavy) are also widely referenced. International benchmarks include the MSCI EAFE (developed markets excluding U.S. and Canada) and the MSCI Emerging Markets index.
Sector-Specific Returns
Different market sectors produce different return profiles. Technology stocks have historically delivered higher growth but with greater volatility. Utilities and consumer staples have delivered lower but more stable returns with higher dividend yields. Healthcare and industrials fall in between. Comparing a utility stock's 6% annual return to the S&P 500's 10% is misleading without considering that utility stocks carry roughly half the risk. Sector-appropriate benchmarks provide fairer comparisons.
Risk-Free Rate as Baseline
The risk-free rate (typically the yield on U.S. Treasury bills) represents the return available with zero default risk. Any investment should be expected to return more than the risk-free rate to compensate for additional risk taken. When Treasury yields are 5%, a stock returning 6% provides only 1% excess return (risk premium), which may not justify the volatility. When Treasury yields are 1%, that same 6% stock return provides a 5% risk premium, making the stock relatively more attractive. Always evaluate stock returns relative to what you could earn risk-free.
Record-Keeping for Tax Reporting
precise return calculations require good records, which also serve tax reporting needs.
Cost Basis Methods
When you buy shares at different times and prices, the cost basis method you choose affects your reported capital gains. FIFO (First In, First Out) sells the oldest shares first, which during a rising market means the lowest-cost shares, maximizing reported gains. LIFO (Last In, First Out) sells the newest shares first. Specific identification lets you choose which lots to sell, giving you the most control over tax outcomes. Average cost basis averages all purchase prices and is commonly used for mutual fund shares.
Wash Sale Rules
The wash sale rule prevents investors from claiming a tax loss if they repurchase a substantially identical security within 30 days before or after the sale. If you sell a stock at a loss and buy it back within this 61-day window, the loss is disallowed for tax purposes and added to the cost basis of the new shares. This rule applies across all accounts (including IRAs in some interpretations) and to substantially identical securities (such as selling one S&P 500 index fund and immediately buying another).
Behavioral Finance and Return Perception
How investors perceive returns is often at odds with mathematical reality. Understanding these psychological biases helps make better investment decisions.
Loss Aversion
Psychological research by Daniel Kahneman and Amos Tversky demonstrated that losses feel approximately twice as painful as equivalent gains feel pleasurable. A $1,000 loss causes more distress than a $1,000 gain causes satisfaction. This asymmetry causes investors to hold losing positions too long (hoping to avoid realizing the loss) and sell winning positions too quickly (locking in gains out of fear of giving them back). Both behaviors reduce overall portfolio returns compared to a systematic approach.
Recency Bias
Investors tend to extrapolate recent performance into the future. After a period of strong returns, expectations for continued gains become inflated. After a downturn, pessimism dominates and investors become reluctant to invest, missing the recovery. The dot-com bubble (1995-2000) saw investors piling into technology stocks after years of extraordinary returns, only to suffer losses of 70-90% when the bubble burst. Similarly, many investors who sold during the 2008-2009 crisis missed the subsequent decade-long bull market.
Anchoring to Purchase Price
Investors often anchor their expectations to their purchase price, viewing a stock as "good" if it is above their cost basis and "bad" if it is below, regardless of the stock's current fundamentals or prospects. This anchor is psychologically compelling but economically irrelevant. The stock does not know what you paid for it. Future returns depend on current valuation and future earnings, not on your personal cost basis. Professional investors evaluate positions based on forward-looking metrics rather than backward-looking purchase prices.
International Investment Considerations
Investing in stocks listed on foreign exchanges introduces additional factors that affect total return calculations.
Currency Effects
Returns on foreign investments have two components: the local market return and the currency exchange rate change. A Japanese stock that gains 10% in yen terms might produce a 5% return for a U.S. investor if the yen weakened against the dollar during the holding period, or a 15% return if the yen strengthened. Currency effects can either amplify or reduce local market returns and are often the dominant factor over short periods. Over multi-decade horizons, currency effects tend to average out, but not always.
Foreign Withholding Taxes
Many countries withhold tax on dividends paid to foreign investors. Common rates include 15% (United Kingdom, Germany with treaty), 25% (Canada without treaty), and 30% (France). U.S. investors can typically claim a foreign tax credit on their U.S. tax return for withholding taxes paid, but the credit does not always fully offset the amount withheld. This foreign withholding reduces dividend returns and complicates return calculations for international investments.
Retirement Account Considerations
Returns calculated within tax-advantaged retirement accounts differ from taxable account returns because of how contributions, growth, and withdrawals are taxed.
Traditional IRA and 401(k)
Contributions to traditional retirement accounts are typically tax-deductible, and investments grow tax-deferred. No taxes are owed on capital gains, dividends, or interest until withdrawals begin. This tax deferral allows the full pre-tax amount to compound, which produces a larger account balance than an equivalent taxable account. However, withdrawals in retirement are taxed as ordinary income, regardless of whether the gains came from capital appreciation or dividends. The effective after-tax return depends on your tax bracket at the time of withdrawal compared to your bracket at the time of contribution.
Roth IRA and Roth 401(k)
Roth accounts are funded with after-tax dollars, meaning no tax deduction on contributions. However, all qualified withdrawals in retirement are completely tax-free. This includes all capital gains and dividends accumulated over decades. For investments with high growth potential, the Roth structure can produce significantly higher after-tax wealth than traditional accounts. A $10,000 Roth contribution that grows to $100,000 over 30 years produces $100,000 in tax-free retirement income, compared to approximately $75,000 after taxes in a traditional account (at a 25% withdrawal tax rate).
Required Minimum Distributions
Traditional retirement accounts require minimum withdrawals beginning at age 73 (as of 2023 SECURE Act 2.0), calculated based on account balance and life expectancy. These required minimum distributions (RMDs) are taxed as ordinary income and can push retirees into higher tax brackets. Roth accounts have no RMDs during the owner's lifetime, allowing investments to continue compounding indefinitely. This difference makes Roth conversions before age 73 a popular tax planning strategy.
Market Cycles and Return Expectations
Stock markets move in cycles of bull markets (sustained rises) and bear markets (declines of 20% or more). Understanding where you are in the cycle helps set realistic return expectations.
Bull Market Characteristics
Bull markets are defined as periods where stock prices rise 20% or more from a recent low. The average bull market since 1942 has lasted approximately 4.4 years with a cumulative return of approximately 155%. The longest bull market in U.S. history ran from March 2009 to February 2020, lasting nearly 11 years with the S&P 500 gaining over 400%. During late-stage bull markets, valuations tend to be improved and forward returns tend to be lower. Buying at peak valuations historically produces below-average returns over the subsequent 10 years.
Bear Market Characteristics
Bear markets are defined as declines of 20% or more from a recent peak. The average bear market since 1942 has lasted approximately 11.3 months with a decline of approximately 32%. Bear markets often coincide with recessions but not always. The recovery time (from bear market bottom back to the previous peak) has averaged approximately 2 years. Investors who sell during bear markets and wait for "stability" before re-entering frequently miss the sharpest recovery gains, which often occur in the first weeks after the bottom.
Valuations and Forward Returns
The cyclically adjusted price-to-earnings ratio (CAPE or Shiller P/E) divides the stock price by the average of 10 years of inflation-adjusted earnings. Historically, when the CAPE ratio is above 30, subsequent 10-year annualized returns have averaged approximately 3-4%. When the CAPE is below 15, subsequent 10-year annualized returns have averaged approximately 10-12%. While this metric has limited short-term predictive value, it provides useful context for setting long-term return expectations.
Frequently Asked Questions
How is total stock return calculated?
Total return includes both capital gains (sell price minus buy price) and dividends received, minus any trading fees. The formula is: Total Return = ((Sell Value - Buy Value + Dividends - Fees) / (Buy Value + Fees)) x 100. This provides the complete picture of investment performance, not just the price change. This calculator handles the full formula automatically and also provides annualized, after-tax, and real (inflation-adjusted) return figures.
What is annualized return and how does it differ from total return?
Annualized return converts a total return earned over any period into an equivalent yearly rate, accounting for compound growth. It uses the formula: ((1 + Total Return)^(1/Years)) - 1. A 44% total return over 3 years equals approximately 12.9% annualized. This metric allows you to compare investments held for different durations. Total return is the raw percentage gain, while annualized return normalizes it to a per-year basis.
Why should dividends be included in return calculations?
Dividends have historically contributed roughly 40% of the S&P 500 total return since 1930. Excluding dividends significantly understates actual investment performance. For high-yield stocks in sectors like utilities, REITs, and consumer staples, dividends can represent the majority of total return. This calculator lets you enter total dividends received to ensure the calculation reflects your complete investment outcome.
What is a good annual return for stocks?
The historical average annual return of the S&P 500 is roughly 10% before inflation and about 7% after inflation. Individual stocks vary widely based on sector, size, and growth profile. Returns consistently above the market average over 10 or more years are considered excellent. During bull markets, annual returns may exceed 20%, while bear markets can produce losses of 20% or more. This calculator includes a benchmark comparison table so you can see how your investment stacks up.
How do trading fees and taxes affect investment returns?
Trading fees reduce returns directly, and the lost compounding on fee amounts further erodes long-term wealth. A 1% annual fee reduces a 30-year portfolio by approximately 25%. Taxes on capital gains and dividends further reduce net returns. In the U.S., long-term capital gains are taxed at 0%, 15%, or 20% depending on income, while short-term gains are taxed as ordinary income up to 37%. Use this calculator's optional tax rate field to see after-tax returns.