Stacked-Contributions Visualisation
A stacked-contributions chart layers contributions, gains, and compound growth vertically, creating a visual breakdown of where wealth actually comes from. Unlike a simple curve that shows total portfolio value, a stacked chart reveals the mechanics: how much of your wealth is your own money, how much is first-level gains, and how much is compounding on those gains. This separation transforms abstract numbers into concrete visual stories and exposes the compounding miracle at work.
Quick definition
A stacked-contributions chart (also called a stacked-area chart) divides portfolio value into horizontal bands: principal contributions, first-year gains, compound gains, and gains-on-gains. The total height of the stack is the final portfolio value; the width of each band shows that component's size at each point in time. It makes the composition of wealth visible.
Key takeaways
- Stacked charts reveal that the majority of long-term wealth comes from compounding, not contributions, especially beyond the 20-year mark
- The widening gap between contributions (linear growth) and total portfolio value (exponential growth) is the visual signature of compound growth's power
- Different investment rates produce different stacking patterns; higher rates cause the "compound gains" band to expand faster and wider
- Stacked charts are exceptionally useful for teaching: they show beginner investors that their contributions matter less than they assume, and time matters more
- The chart exposes the psychological difference between "wealth I created" (contributions) and "wealth markets created" (gains and compounding), which is important for investor psychology
The anatomy of a stacked chart
Imagine a portfolio starting at zero with $5,000 contributed annually for 30 years, earning 8% annually. A stacked chart would show:
-
Bottom band (Principal): The $5,000 contributions accumulate linearly. At year 30, this band represents $150,000 (30 × $5,000).
-
First-year gains band: The first returns earned on the initial contributions, before those gains begin compounding.
-
Compound gains band: Gains earned on previous gains, the exponential layer that accelerates over time.
-
Gains-on-gains band: Higher-order compounding, where returns compound on returns on returns.
The total height at year 30 is the final portfolio value, which would be approximately $680,000 (using a financial calculator or spreadsheet). The bottom band (principal) is $150,000; the remaining $530,000 is distributed among the gain bands.
The visual impact is profound: the contribution band remains a constant 22% of total wealth, while the gain bands collectively expand to 78%. The compounding bands grow exponentially; the contribution band grows linearly. This single chart answers the question "Where does my wealth come from?" with perfect clarity.
Building a stacked chart
To create a stacked chart, you need:
-
Time periods (x-axis): Years 0 through 30 (or whatever your timeline is).
-
Contribution accumulation: Total contributions to date. This is linear: year 1 = $5,000, year 2 = $10,000, year 3 = $15,000, etc.
-
Portfolio value: Total portfolio worth at each point. This is exponential: calculated by adding contributions plus all gains earned.
-
Gaps: The difference between contributions and portfolio value at each point. This gap is further subdivided into gain components (though this subdivision is analytical rather than visually precise on most charts).
The chart stacks the contribution line at the bottom, then stacks the portfolio value line on top. The visual "gap" between them is the cumulative gains from all sources.
The power of the visual gap
The visual gap between the contribution line and the portfolio value line is the magic of compounding made visible. In year 1, the gap is tiny (one year's returns). In year 10, the gap is substantial. In year 30, the gap dwarfs the contribution line.
Consider:
- Year 1: Portfolio $5,400 (contribution $5,000 + gain $400). Gap: $400.
- Year 10: Portfolio $69,550 (contribution $50,000 + gains $19,550). Gap: $19,550.
- Year 20: Portfolio $248,848 (contribution $100,000 + gains $148,848). Gap: $148,848.
- Year 30: Portfolio $680,000 (contribution $150,000 + gains $530,000). Gap: $530,000.
The gap grows faster than the contributions. By year 30, the gap ($530,000) is 3.5 times the total contributions ($150,000). The chart makes this visually obvious: the "gains band" dominates the visual space, while the "contributions band" occupies only a small portion of the bottom.
This is the visual argument for compounding's power: most of your wealth isn't your money; it's money your money made.
Stacked charts with varying contribution rates
A stacked chart becomes even more revealing when comparing scenarios with different contribution rates. Imagine three investors:
- Alice contributes $500 per month ($6,000 annually) for 30 years at 8% returns.
- Bob contributes $250 per month ($3,000 annually) for 30 years at 8% returns.
- Charlie contributes $100 per month ($1,200 annually) for 30 years at 8% returns.
Stacked charts for all three would show:
- Alice's final portfolio: approximately $848,000. Contribution band: $180,000. Gains band: $668,000.
- Bob's final portfolio: approximately $424,000. Contribution band: $90,000. Gains band: $334,000.
- Charlie's final portfolio: approximately $169,600. Contribution band: $36,000. Gains band: $133,600.
Comparing the stacked charts reveals:
- All three have similar proportions of contributions to gains (roughly 20% contributions, 80% gains).
- Doubling contributions roughly doubles final portfolio value.
- The gains bands are proportional to the contribution bands because the same rate applies.
The charts show that contribution rate matters, but less than many assume. The ratio of contributions to gains is relatively stable across different contribution rates, because the compounding rate is the same. If anything, this comparison reveals that the absolute size of contributions matters less than the time they have to compound.
Stacked charts with varying growth rates
Comparing stacked charts across different growth rates is particularly illuminating. Imagine the same $5,000 annual contribution for 30 years at different rates:
- 4% return: Final portfolio $622,000. Contribution $150,000 (24%). Gains $472,000 (76%).
- 6% return: Final portfolio $835,000. Contribution $150,000 (18%). Gains $685,000 (82%).
- 8% return: Final portfolio $1,091,000. Contribution $150,000 (14%). Gains $941,000 (86%).
- 10% return: Final portfolio $1,394,000. Contribution $150,000 (11%). Gains $1,244,000 (89%).
The stacked charts show that higher return rates don't proportionally increase the contribution band (it's always $150,000, regardless of rate). Instead, they dramatically expand the gains band. The contribution band becomes a smaller and smaller proportion of the total as the return rate increases.
This is the visual lesson: the return rate determines the gains band's size, not the contribution rate. A 1% increase in returns (from 8% to 9%) produces more gains dollars than a 50% increase in contributions. Over 30 years, the compounding difference is exponential.
Real-world examples
According to data from the Bureau of Labor Statistics (BLS) and analysis from FRED (Federal Reserve Economic Data), understanding how contributions and market gains separate is critical to retirement planning.
Example 1: A typical retirement account
A 35-year-old invests $7,000 annually in a 401(k) (or equivalent) earning 7% annually until age 65 (30 years). The stacked chart shows:
- Contribution band: $210,000 (30 × $7,000).
- Portfolio value: approximately $735,000.
- Gains band: $525,000.
The visual proportion is striking: the investor's own money (contributions) represents 28% of the final portfolio, while market gains represent 72%. The retirement account wasn't built primarily by hard-earned contributions; it was built by time and compounding. This insight is motivational (your future is secure because markets compound) and cautionary (delaying the start costs you years of gain-building).
Example 2: Comparing early vs. late career investing
Person A invests $5,000 annually from age 25 to 35 (10 years), then stops. Person B invests the same $5,000 annually from age 35 to 65 (30 years). Both earn 8% on their investments.
Person A's portfolio by age 65:
- Contributions: $50,000.
- Growth from age 25-35 (principal phase): Initial growth accumulates and continues compounding from age 35-65.
- Final value: approximately $920,000.
Person B's portfolio by age 65:
- Contributions: $150,000.
- Growth from age 35-65 (30-year phase): $530,000.
- Final value: approximately $680,000.
Stacked charts for both show:
- Person A: Contribution band $50,000. Gains band $870,000.
- Person B: Contribution band $150,000. Gains band $530,000.
Person A contributed only one-third as much as Person B but ended with more wealth because those early contributions had more time to compound. The stacked chart makes this visual: Person A's smaller contribution band is more than compensated by a larger gains band, because the time multiplier is so powerful.
Example 3: The S&P 500 from 1980 to 2024
If an investor had contributed $10,000 annually to an S&P 500 index fund from 1980 to 2024 (44 years), earning an average 10% annually, their portfolio would contain:
- Contributions: $440,000.
- Gains and compounding: approximately $5,000,000+.
- Total: approximately $5,440,000.
The stacked chart would show a contribution band representing less than 10% of the total value and a gains band representing more than 90%. The visual dominance of the gains band over 44 years is overwhelming, making clear that the investor's wealth was created primarily by markets, not by personal savings.
Common mistakes
Mistake 1: Misinterpreting the contribution band as "wasted money." The contribution band represents money deployed into the market, not wasted. Every dollar contributed is then compounded. The fact that the gains band dominates doesn't mean contributions were inefficient; it means they were extraordinarily efficient in generating returns.
Mistake 2: Trying to "optimize" contributions by reducing them. Some investors look at a stacked chart and think, "Since gains dominate, I can reduce contributions." This is backwards reasoning. The gains band is large because contributions were compounded for decades. Reducing contributions shrinks both the contribution band and the gains band. The chart argues for increasing contributions, not decreasing them.
Mistake 3: Assuming the stacked chart proportions are universal. The ratio of contributions to gains depends on the time horizon, the contribution rate, and the return rate. A 10-year stacked chart looks different from a 30-year chart; the contribution band is a larger proportion of the total. Stacked charts are comparative; a single chart without context is misleading.
Mistake 4: Confusing a stacked chart with a pie chart. Stacked charts show how composition changes over time; pie charts show composition at a single point. A stacked chart's bands change width as you move across the x-axis because the contribution and gains accumulate differently. A pie chart freezes one moment in time.
Mistake 5: Ignoring inflation in the stacked chart. If the stacked chart shows nominal values (not adjusted for inflation), the gains band appears larger than it actually is in real terms. A $530,000 gains band over 30 years, with 3% average inflation, represents less real purchasing power. Always clarify whether stacked charts are nominal or inflation-adjusted.
FAQ
Can I create a stacked chart for my own portfolio?
Yes. Use a spreadsheet with columns for year, contributions (cumulative), and portfolio value (from your brokerage statements). Plot both as stacked areas. This gives you a visual representation of your specific wealth composition and helps you see whether your contributions are on track and how much compounding has done for you.
How do I subdivide the gains band into "first-level gains" and "compounding gains"?
This is analytically complex because different amounts of principal earn gains at different times. A simplified approach: first-level gains are returns on the original principal; compounding gains are everything else. For a more precise breakdown, you'd need to track each contribution's growth separately. Most stacked charts simplify by showing contributions vs. total gains, without further subdivision.
Does a stacked chart account for taxes and fees?
Standard stacked charts show nominal, pre-tax, pre-fee values. If you want a true picture of wealth, adjust for your effective tax rate and annual fees before creating the chart. After-tax, after-fee stacked charts tell a more realistic story of actual wealth accumulation.
What if I made irregular contributions?
Stacked charts still work; you'd plot your actual cumulative contributions at each point (using actual contribution history), then plot portfolio value. Irregular contributions create a more jagged contribution band, but the stacked chart still reveals the composition of wealth.
Can I use a stacked chart to compare investments?
Yes, comparing stacked charts from two different investments reveals the impact of different return rates. The investment with a larger gains band relative to the contribution band is compounding more effectively. However, ensure both charts use the same contribution schedule and time period for fair comparison.
How do I account for withdrawals in a stacked chart?
Withdrawals reduce portfolio value, which shrinks the total height of the stacked chart. The contribution band remains unchanged (it's cumulative), but the gap between contributions and portfolio value shrinks because withdrawals reduce the gains and compounding bands. This is visually revealing: you can see the impact of withdrawals on long-term wealth accumulation.
Is the stacked chart better than a simple growth chart?
Not universally; it's better for different purposes. A simple growth chart shows final outcome; a stacked chart shows composition and reveals the power of compounding. For communication, teaching, and motivation, stacked charts excel. For tracking absolute performance, a simple growth chart may be clearer.
Related concepts
Waterfall charts — Waterfall charts show how a metric moves from one value to another, with intermediate contributions visible. They're similar to stacked charts but emphasize sequential changes rather than cumulative totals.
Pie charts and composition analysis — While stacked charts show composition over time, pie charts show composition at a single point. Both are useful; stacked charts reveal how composition changes as wealth accumulates.
Contribution margin and profit growth — In business, stacked charts separate fixed costs, variable costs, and profit. The concept parallels stacking contributions and gains in investment charts.
Portfolio rebalancing and weight changes — Advanced stacked charts can show not just contributions and gains, but also how portfolio weights change (e.g., percentage in stocks vs. bonds). This reveals composition dynamically.
Cohort analysis — In business, cohort analysis tracks how customer groups progress over time, similar to stacking investor contributions and tracking how they grow. The visual concepts overlap.
Summary
A stacked-contributions chart visualizes the composition of wealth at every point in time, revealing how much comes from contributions and how much from compounding gains. The chart shows that the contribution band remains relatively small and linear, while the gains band grows exponentially, eventually dominating the total portfolio value.
This visualization is extraordinarily powerful for teaching and motivation. It demonstrates that long-term wealth is built primarily by compounding, not by heroic saving. It also reveals that the return rate and time horizon matter far more than the contribution rate. A higher return rate doesn't proportionally increase contributions; it exponentially increases gains. More years don't linearly increase gains; they exponentially increase them.
The stacked chart also exposes the importance of starting early. Person A, who contributed only in the first 10 years, ended with more wealth than Person B, who contributed for 30 years, because those early contributions had decades to compound. The chart makes this advantage visual: Person A's smaller contribution band is dominated by a larger gains band because the gains had more time to grow.
Stacked-contributions charts are practical tools for personal financial planning and communication. They help investors understand whether they're on track, visualize the power of consistency, and appreciate the market's role in wealth creation. They're also pedagogically powerful: showing someone a stacked chart of 30-year compounding is often more convincing than explaining the mathematics verbally.
Next
Continue to Side-by-Side Investor Comparison Charts to see how comparing investors reveals the impact of timing, rates, and discipline on long-term outcomes.