Markowitz efficient frontier calculator
Pick as many stocks or ETFs as you like: their historical returns, volatilities and correlations fill in, and you see diversification at work on the efficient frontier.
| Asset | Lowest volatility 🛡️ | Highest Sharpe ⚖️ |
|---|---|---|
| Stocks | 9% | 42% |
| Bonds | 85% | 44% |
| Gold | 6% | 14% |
| Return | 3.43% | 4.84% |
| Volatility | 5.73% | 8.07% |
| Sharpe | 0.25 | 0.35 |
In plain words 💡
Harry Markowitz (Nobel 1990) showed something that sounds like a free lunch 🍽️: if assets don't move perfectly together (correlation below 1), a mix of them can have lower volatility than any one of them alone. Watch the lowest-volatility point land to the left of the single assets on the chart.
The efficient frontier is the set of mixes where no higher return was available for the same risk. The highest-Sharpe point is the one that gave the most return above the risk-free rate per unit of volatility. These are textbook concepts computed on the numbers in the table — not a hint about what anyone should buy.
Where it breaks ⚠️
The output is only as good as the numbers in the table, and past returns say almost nothing about future ones — a stock that rose 70% a year for 3 years will "win" any optimisation, which doesn't mean it will keep doing so. Nudge one asset's return by 1 point and watch the weights jump — which is why Markowitz optimisers are called "error maximisers". Correlations aren't stable either: in a crisis they tend to rise together. And with many tickers, remember the math only sees their common history — one young listing shortens the window for all of them.
Read more 📚
An educational tool: it runs a formula on historical data or on the numbers you type. It is not a forecast or a recommendation, and it knows nothing about your situation.