Free calculator · No signup · Method shown

Portfolio allocation calculator

See an example split between stocks, bonds and cash for your age, risk setting and timeline, and why each choice shifts it.

StockEducation Editorial Team · Updated · 14 min read · How we check our tools
Academic reviewer: Associate Professor Charles Lo, CPA, PhD · Last updated

The calculator

See an example asset mix

Output Calculated from your inputs

Try an example
↓ Portfolio Allocation Calculator ↓

Your Example Assumptions

Enter hypothetical assumptions to explore an illustrative asset mix. Do not use the result as a personal recommendation.

Fixed-rule illustration. Stocks start at 100 − example age, then add the risk, horizon and goal point changes; the share is clamped to 10%–90%. Bonds receive a rounded 50%, 60% or 70% of the remainder according to age/risk; cash receives the rest. Dollars multiply the example amount by each percentage. This does not assess suitability, actual holdings, returns or loss risk. Full rule table and limits.

Moderate Risk

Illustrative Allocation

An illustrative stocks, bonds and cash mix will appear here.

Portfolio $50K
Stocks and Equities
—
Bonds and Fixed Income
—
Cash and Alternatives
—

Educational Notes

  • Enter hypothetical assumptions above to view educational notes.

Strategy Explanation

An explanation of the illustrative scenario will appear here.

Educational allocation example: fixed rules and limits

This applies fixed age, risk, horizon and goal adjustments to three broad categories. Percentages always total 100%; an entered example amount supplies the dollar illustration. These rules are educational heuristics, not a regulated standard or a personal recommendation.

The model does not read holdings or assess your income, debts, liquidity needs, loss capacity, tax, fees, correlations, asset quality or other accounts. It does not forecast returns or guarantee capital protection. Similar inputs do not establish that a mix is suitable for two different people.

Educational content only. Allocations are simplified suggestions based on rules and inputs. They do not constitute personalized financial advice. Always consult a qualified financial adviser before making investment decisions.

How to use it (three steps)

Choose an example age, risk setting, time horizon, goal and portfolio size, then press View Example Allocation. The result follows a simple fixed rule to show how the inputs interact. It is not a recommendation for you. Not sure where to start? Load an example.

  1. 1Choose an age, risk setting, time horizon, goal and portfolio size
  2. 2Press View Example Allocation and read the stock, bond and cash split
  3. 3Change the time horizon and watch the stock share move

Your result in words

Example mix

Your result will appear here once the calculator runs.

    Compare two plans

    Keep or share this result

    Saved numbers and images stay on this device. A copied link holds only the tool inputs, nothing else.

    Next steps

    You know how a mix is built. Now learn what goes inside it.

    A free account saves your course progress and opens the $1,000,000 practice simulator, where you can watch real U.S. stocks rise and fall with virtual money before any of your own is at stake.

    Free, no card. Lessons and tools stay free to use without an account.

    Asset allocation on one card, and where to go next
    1. Step 1 · DoneHow asset allocation works
      See it on one card
      1. Three parts. Stocks for growth, bonds and cash for stability.
      2. Start point. 100 minus age in stocks, then adjust.
      3. Horizon first. Money needed within five years belongs mostly outside stocks.
      4. Example mix. 75/15/10 at 35, 55/27/18 at 55, moderate and long term.
      5. Rebalance. Sell what grew, buy what lagged, about once a year.
      6. Not advice. The rule teaches; your situation decides.
    2. 2
      Step 2 · NowTest it on history

      See how a mix would have held up in past markets.

      Open the backtesting tool Free, no signup.
    3. 3
      Step 3Follow the learning path
      The learning pathFree

      Learn the rest in the right order

      Lessons, videos, tools and quizzes, ordered so each step builds on the last, from market basics to building a portfolio.

      Start the learning path

    Want the full sequence? See the course outline →

    Quick answer

    What is a good asset allocation for my age?

    A common starting rule is to hold about 100 minus your age in stocks and the rest in bonds and cash, then adjust for how much risk you can stomach, how long until you need the money and what it is for. This calculator applies that kind of rule. At age 35 with moderate risk, a long horizon and balanced growth, its example mix is 75% stocks, 15% bonds and 10% cash. At 55 it becomes 55% stocks; at 65, 45%. Asset allocation is one of the biggest decisions an investor makes, because it sets most of a portfolio’s risk.1

    Stocks at 3575%
    Bonds15%
    Cash10%
    Stocks at 5555%

    Checked against Investor.gov · see sources

    Key takeaways
    • Three parts. Stocks for growth, bonds and cash for stability.
    • Start point. 100 minus age in stocks, then adjust.
    • Horizon first. Money needed within five years belongs mostly outside stocks.
    • Example mix. 75/15/10 at 35, 55/27/18 at 55, moderate and long term.
    • Rebalance. Sell what grew, buy what lagged, about once a year.
    • Not advice. The rule teaches; your situation decides.

    How the rule worksHow the mix changesRebalancingTest yourself

    Part 1 of 3 · How it works

    How does asset allocation work?

    Asset allocation means splitting your money between kinds of investments that behave differently. Stocks grow more over time but swing harder. Bonds and cash grow less but steady the ride.

    1

    What does each part do?

    • Stocks are for growth. Over long periods they have earned the most, but they can fall sharply in any year.
    • Bonds are loans to governments or companies. They pay interest and usually fall less than stocks.
    • Cash, such as savings and money market funds, is the most stable and the easiest to reach, but it may not keep up with inflation.
    2

    How does the calculator’s rule work?

    1. Stocks start at 100 minus the example age.
    2. The risk setting, time horizon and goal each add or take away points.
    3. The stock share is kept between 10% and 90%.
    4. The rest is split between bonds and cash, with bonds getting the larger part, and the dollar amounts follow from your portfolio size.
    The default, step by step

    Age 35 gives a starting point of 65% stocks. A long horizon and the other settings add points, landing at 75% stocks. The remaining 25% splits into 15% bonds and 10% cash. On $50,000 that is $37,500, $7,500 and $5,000.

    3

    How can bonds change a bad-year result?

    Because stocks and bonds often react differently to the same news. When assets respond differently to events, holding both can reduce the risk of a major loss.3 The math is easy to follow with a made up bad year in which stocks fall 30% and bonds gain 2%.

    • All stocks: $10,000 drops to $7,000, a 30% loss.
    • 60% stocks, 40% bonds: $6,000 in stocks falls to $4,200 and $4,000 in bonds grows to $4,080. Total $8,280, a loss of about 17%.
    • 40% stocks, 60% bonds: $4,000 falls to $2,800 and $6,000 grows to $6,120. Total $8,920, a loss of about 11%.

    If stocks outperform bonds, a mix with fewer stocks gains less. Stocks and bonds can also fall together; this example assumes positive bond returns and is not a promise of protection. Diversification also has to be real. Owning two funds that hold the same kind of stock adds little protection, so check what each fund holds before counting it as a separate part of your mix.3

    The rule

    Stocks for growth, bonds and cash for stability. The mix sets most of your risk.

    Marks Part 1 done

    Part 2 of 3 · How the mix changes

    How does the mix change with age and risk?

    The example mix shifts toward bonds and cash as age rises, the horizon shortens or the risk setting gets more cautious.

    4

    How does age change it?

    Example mix by age, moderate risk, long horizon, balanced goal

    StocksBondsCash
    Each step of 10 years moves 10 points out of stocks, following the 100 minus age starting point.
    5

    What do risk, horizon and goal do?

    One change at a time from age 35, moderate, long term, balanced
    ChangeStocksBonds and cash
    Conservative instead of moderate60%28% bonds, 12% cash
    Aggressive instead of moderate90%5% bonds, 5% cash
    Short term (1 to 5 years)50%30% bonds, 20% cash
    Capital preservation goal55%27% bonds, 18% cash
    Aggressive growth goal90%6% bonds, 4% cash

    Figures checked against the preserved calculator rule. Example outputs of a fixed rule, not recommendations.

    A short horizon cuts stocks the most, because money you need within a few years has little time to recover from a fall.

    6

    Should I use 100, 110 or 120 minus my age?

    Each version is a starting point, and the choice can move a lot of money. At age 35, 100 minus age gives 65% in stocks, 110 minus age gives 75% and 120 minus age gives 85%. On a $50,000 portfolio, that is the difference between $32,500 and $42,500 in stocks. The higher versions exist because people live longer and money in retirement may need to keep growing for decades.

    Target date funds turn the same idea into an automatic schedule called a glide path, shifting from stocks toward bonds as the target year nears. Two funds with the same target date can still hold very different mixes and charge different fees, and neither promises a set retirement income.4 Read the fund’s glide path before assuming it matches your plan.

    Whichever rule you start from, test the stock share against the worst year you could sit through without selling.

    The rule

    The sooner you need the money, the less of it belongs in stocks.

    Marks Part 2 done

    Part 3 of 3 · Keeping it on track

    What does this calculator not know about you?

    The rule is a teaching tool. A real allocation depends on things a short form cannot see.

    7

    What should I think about beyond the rule?

    • How you would react to a fall. If a 30% drop would make you sell, hold less in stocks.
    • Other income and assets. A pension or steady job can let you take more stock risk.
    • What you hold inside each part. A diversified index fund is very different from a few individual stocks.
    • Fees and taxes. Low cost funds and tax advantaged accounts keep more of the return.
    8

    What is rebalancing?

    Over time, the parts grow at different speeds and the mix drifts. Rebalancing means selling a little of what grew and buying what lagged to get back to your target, for example once a year.2 It keeps your risk where you chose it.

    Your turn

    Test a mix against history. The portfolio backtesting tool shows how a mix of investments would have behaved in past markets, including the falls.

    Open the backtesting tool Free, no signup.
    9

    How does rebalancing work with real numbers?

    Start with $100,000 at a 60% stock, 40% bond target. In a made up year, stocks rise 20% to $72,000 and bonds rise 2% to $40,800. The total is $112,800, and stocks are now about 63.8% of it. To get back to 60%, stocks should be $67,680, so you would sell about $4,320 of stocks and buy bonds with it.

    Selling has costs. In a taxable account it can trigger capital gains tax and fees.3 Two common ways around that are rebalancing inside tax advantaged accounts such as a 401(k) or IRA, and pointing new contributions at whatever is underweight. With prices unchanged, adding $7,200 to bonds would return this example to 60% stocks; at $500 a month that takes about 15 contributions. Market movements can change the amount needed.

    Many investors check once a year, or whenever a part drifts more than about 5 points from its target.

    The rule

    Pick a mix you can hold through a bad year, then rebalance back to it.

    Marks Part 3 done

    Mistakes to avoid

    Three mistakes to avoid, and what to do instead

    Treating the example as advice

    It follows a simple fixed rule to teach how inputs change the mix. Your own plan should reflect your full situation.

    Going all in on stocks because you are young

    Age is one input. If you will need the money within five years, the horizon matters more than your birthday.

    Never rebalancing

    Stocks grow faster than bonds, so a 60/40 mix drifts toward 80/20. Check it once a year.

    Quick check

    Three quick questions and one why

    0 of 3 answered

    1. Using the 100 minus age rule, about how much in stocks would a 40 year old start with?

    Answer: B, 60%.100 − 40 = 60. The calculator then adjusts for risk, horizon and goal.

    2. In the calculator, which single change cuts the stock share most from the age 35 default?

    Answer: B, a short time horizon.It drops stocks to 50%. Conservative gives 60%, preservation 55% and income 65%.

    3. Your target is 60% stocks, but after a strong year you hold 70%. What does rebalancing mean?

    Answer: B, sell some stocks and buy bonds or cash.That brings the mix back to 60% and your risk back to where you chose it.
    Why: why does a short time horizon matter more than age?

    Age is a rough stand in for how long your money has. If you need the money in a few years, a stock market fall may not have time to recover before you sell, whatever your age.

    Common questions

    Portfolio Allocation Calculator FAQ

    What is a good asset allocation for my age?

    A common starting point is 100 minus your age in stocks, with the rest in bonds and cash, so about 65% stocks at 35 and 45% at 55. Some people use 110 or 120 minus their age for more growth. Your time horizon and how you would react to a big fall matter more than the formula. Money you need within five years usually belongs mostly in bonds and cash, whatever your age.

    What is asset allocation?

    Asset allocation is how you split your money between broad types of investments, mainly stocks, bonds and cash. Stocks offer the most growth over long periods but can fall sharply in any year. Bonds pay interest and usually fall less. Cash is the most stable but may not keep up with inflation. The split sets most of a portfolio’s risk, which is why choosing it is one of the biggest decisions an investor makes.

    Is the 100 minus age rule outdated?

    It is simple rather than outdated, but it can be too cautious for many people. It was popular when retirements were shorter. Because people now often live 20 or 30 years after they stop working, some planners use 110 or 120 minus age. At 35, those versions give 75% and 85% in stocks instead of 65%. Use any version as a first draft, then adjust for your timeline, other income and comfort with losses.

    What is the 60/40 portfolio?

    It means 60% in stocks and 40% in bonds, a classic balanced mix. Stocks provide growth exposure and bonds can cushion some falls, but both can lose value together. In a made up year where stocks fall 30% and bonds gain 2%, $10,000 in a 60/40 mix drops to about $8,280, compared with $7,000 for all stocks. In strong years it gains less than an all stock portfolio. Many balanced funds and target date funds near retirement hold something close to it.

    How often should I rebalance my portfolio?

    Once a year is a common, simple schedule. Another approach is to rebalance whenever a part drifts more than about 5 percentage points from its target. Rebalancing too often adds trading costs and, in taxable accounts, can trigger capital gains tax. A cheaper way is to direct new contributions toward whatever is underweight. Ordinary investment trades inside a 401(k) or IRA generally do not create an immediate capital-gains tax bill, so many investors rebalance there first.

    Is a target date fund a good substitute for choosing my own allocation?

    It can be, because it picks the mix and rebalances it for you, shifting toward bonds as the target year nears. But funds with the same target date can hold very different amounts of stock and charge different fees, and none promises a set level of retirement income. Check the fund’s glide path and expense ratio. Holding one target date fund alongside other funds can also undo its planned mix.

    Do young investors need bonds?

    Not always, and the belief that everyone needs bonds is a common misunderstanding. A young investor saving for retirement may have more time to recover from market falls, but age alone does not establish their ability or willingness to bear losses, which is why this calculator’s example at 25 with aggressive settings holds 90% stocks. Bonds still make sense for money needed within a few years, such as a home deposit, or for anyone who would panic and sell in a 30% fall. Your emergency fund should sit in cash regardless.

    Does this portfolio allocation calculator give personal advice?

    No. It applies a fixed teaching rule: stocks start at 100 minus the example age, then the risk setting, time horizon and goal add or remove points, with stocks kept between 10% and 90%. The rest is split between bonds and cash. It does not pick funds, look at your accounts, estimate returns or judge what is suitable for you. Use it to see how each choice moves a mix, then build your own plan.

    Sources and assumptions

    1. Investor.gov (U.S. Securities and Exchange Commission): Asset allocation and diversification. Explains why the split between stocks, bonds and cash drives risk and return.
    2. Investor.gov: Beginners’ guide to asset allocation, diversification and rebalancing. Covers time horizon, risk tolerance and rebalancing.
    3. FINRA: Asset allocation and diversification. Holding assets that respond differently can reduce major losses; rebalancing can trigger taxes, and new money can be used instead.
    4. Investor.gov (SEC): Target date funds investor bulletin. How a glide path shifts the mix over time, and why funds with the same date can differ.
    5. Investor.gov (SEC): Investor bulletin on index funds. What index funds are and why their passive approach may keep costs down.
    6. FINRA: Managing your retirement portfolio. How the mix and withdrawals interact once you start living on your savings.

    Method: the stock share starts at 100 minus the example age, then adds the fixed point changes for the risk setting, time horizon and goal, and is kept between 10% and 90%. Bonds receive a rounded 50%, 60% or 70% of the remainder depending on age and risk, and cash receives the rest. Dollar amounts multiply the example portfolio size by each percentage. The default example is age 35, moderate risk, a long horizon, a balanced growth goal and $50,000. Allocation scenarios were checked against the preserved rule. Return and rebalancing examples are separate illustrative arithmetic, not forecasts or backtests. It does not assess suitability, holdings, returns or the chance of loss.

    Page history. October 24, 2026: V11 design and guide integrated while preserving the working allocation rule, validation and result controls.

    StockEducation provides general education, not personal financial, tax or legal advice. Results are illustrations based on the assumptions you enter, not forecasts or promises of any return. Investing involves risk, including the loss of money you invest.

    Up nextPart 1
    Next ↓