PPolySim OS

Efficient Frontier

The idea that won Markowitz a Nobel Prize: mixing imperfectly correlated assets can cut risk without cutting return. Trace the frontier and find the sweet spot.

Efficient FrontierLive

Controls

Presets

Combining two assets traces a curved frontier of risk versus return. Because they are not perfectly correlated, some mixes have lower risk than either asset alone — the power of diversification. The pink point is the minimum-variance portfolio. Educational tool, not investment advice.

▶ Run in Python

Data Inspector

Min-var weight A0%
Min-var return0.0%
Min-var volatility0.0%

Governing equation

Reading this result: The assets differ sharply in volatility, so the minimum-variance blend leans heavily toward the calmer one to hold total risk down.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →
★ Sign in to save this setup
Save your tuned setup, or drop this simulation into your own site, docs, or course page.

How it works

Modern Portfolio Theory plots portfolios in risk-return space. As you vary the weights of two assets, their combinations sweep out a curved frontier; because the assets are not perfectly correlated, some mixes carry less risk than either asset alone. The leftmost point is the minimum-variance portfolio. Educational tool, not investment advice.

Ask the AI about this model

The math, the assumptions, real-world uses, or a code translation — explained for this exact simulation.

More Finance simulations

Frequently asked questions

Is this efficient frontier portfolio tool really free?
Yes. Efficient Frontier runs entirely in your browser using your device's own compute, so local use is free forever. You only pay Compute Tokens if you scale a job to the cloud.
Do I need to install anything?
No. Everything runs client-side in a modern browser — no downloads, no license, no account required to start.
Can I save or share my simulation?
Create a free account to save projects, and use a shareable embed or minted DOI to publish a live, interactive version anywhere.
How accurate are the results?
The solver uses established numerical methods, but results are for research and educational purposes and should be validated against experiment or professional review before you rely on them.