Free tool · one free run with a free account
Pick up to five stocks and see where every possible weighting lands on the efficient frontier, and which mix gave the best return for the risk over the last three years.
Choosing stocks is only half of building a portfolio. The other half is deciding how much of each to hold. Put 50% in one stock and 10% in another and you get a very different ride than splitting them evenly, even with the same names.
A portfolio optimizer (or optimiser, if you spell it the British way) answers that second question. It tries thousands of possible weightings of the stocks you picked, measures how each one would have performed, and returns the mix that best meets your goal. In the example above, moving from equal weights to the optimized mix lowered volatility while keeping a similar return, because it leaned towards the stocks that moved less in step with the rest.
Every dot on the chart is one possible portfolio made from your stocks. Its position shows two things: how much it moved around (volatility, on the horizontal axis) and how much it returned per year (on the vertical axis). Up and to the left is better: more return for less risk.
The line along the top edge of the cloud is the efficient frontier. Each point on it is the highest return any mix achieved for that level of risk. Portfolios below the line were beaten, in hindsight, by a mix on the line that earned more for the same risk or took less risk for the same return.
Where you sit on the frontier depends on how much risk you're comfortable with. The free run picks one specific point: the mix with the best Sharpe ratio, meaning the highest return for each unit of volatility. It's the most common place to start.
The free run uses the best risk-adjusted goal. In the full app you can choose from ten, grouped by what matters most to you. Each one is based on past prices, so real results will differ.
Hierarchical risk parity is the one to try on a thematic basket: if you hold six chip makers and two banks, it stops the chips from carrying most of the risk simply because there are more of them. Investor includes six goals, two in every direction; Portfolio Manager adds the advanced one in each (Best return for the worst crash, Highest growth within your risk limit, Smallest losses on the worst days, Balanced by theme) for all ten.
An optimizer is honest about the past and silent about the future. It finds the weights that would have worked best over the dates you gave it, which is not the same as the weights that will work next. A stock that had an unusually good three years will look irresistible, and the optimizer will lean into it.
Three habits keep it useful:
Our methodology explains how the optimizer searches and how every result is calculated. Before optimizing, it can help to analyse your current portfolio to see where the risk sits.
In the app the optimizer sits right next to your backtest. Choose a goal, set limits per stock, pick your dates, and apply the result to your index in one click. You then see the optimized weights in a full backtest with your real rebalancing rule, costs and benchmarks, and can track the index from the day you save it.
FAQ
It tests thousands of possible weightings of the stocks you choose and finds the mix that best meets a goal, such as the highest return for each unit of risk. It answers "how much of each?" rather than "which stocks?".
It is the curve of mixes that give the highest return for each level of risk. Any portfolio below the curve could, in hindsight, have earned more for the same risk, or taken less risk for the same return.
Return divided by volatility (annualised), so it measures return per unit of risk. Maximising it finds the best risk-adjusted mix. The free run uses this goal with a zero risk-free rate.
Yes. Every free account gets one optimizer run: up to five stocks, the last three years of prices and the best risk-adjusted (max Sharpe) goal. Use it here or inside the app. Investor unlocks the optimizer with six goals (two in every direction), full history and your own limits, and Portfolio Manager adds the advanced goal in each direction for all 10.
Start with what matters most to you. Grow my money: the best return for the ups and downs, for the drops, for the worst crash, or the highest growth within a risk limit. Protect my money: the smoothest ride, the smallest worst fall, or the smallest losses on the worst days. Spread my risk: an equal share of risk, balanced by theme, or most diversified. Not sure? Start with Best return for the ups and downs.
Not necessarily. The weights are fitted to past prices, so they flatter history. Use them as a starting point, cap the size of any one stock, and check the result on a different time period before relying on it.
No. Indices Lab is a research and educational tool. Results are hypothetical and are not a recommendation to buy or sell any security.
Build an index, optimize it, backtest it and track it, free to start.
Get started free →