Portfolio Risk Calculator & Portfolio Optimizer

Free portfolio risk calculator and portfolio optimizer for stocks and ETFs. Measure portfolio risk, optimize allocations to your chosen risk level, and understand diversification, volatility, and expected return—all in your browser.

  • Evaluate portfolio risk and diversification
  • Optimize allocations based on your chosen risk level
  • Analyze volatility, Sharpe ratio, and quality score
  • Compare alternative allocations easily

Start by using our Portfolio Optimizer below to build your allocation. Try our Portfolio Risk Calculator to see how risky your portfolio is, or compare risk profiles (conservative vs aggressive) to choose the right level.

Try our Portfolio Risk Calculator →

Compare risk profiles →

Runs entirely in your browser • No data stored

Portfolio Optimizer interface showing risk level adjustment, live preview metrics, and portfolio allocations

Risk-Based Optimization

Select your risk level from 1 to 10. The optimizer builds portfolios that match your risk tolerance while maintaining diversification.

Real-Time Portfolio Metrics

Expected return, volatility, quality score, and Sharpe ratio update instantly as you adjust risk or weights.

Interactive Weight Adjustment

Adjust allocations manually and see portfolio metrics update instantly. The system automatically rebalances remaining positions.

Multiple Stock Universes

Choose from predefined stock universes or build custom portfolios from available tickers.

Shareable Results

Export portfolios and share via URL. Portfolio configurations are encoded in the link for easy collaboration.

No Account Required

Start building portfolios immediately. All optimization runs in your browser with no data stored on servers.

What the Tool Does

The portfolio risk calculator shows you how risky your current or proposed portfolio is—using a 1–10 risk score, volatility, and diversification metrics. The portfolio optimizer builds allocations that match your chosen risk level: you pick a risk bucket (e.g. conservative, balanced, or aggressive), and the tool suggests weights across stocks and ETFs so your portfolio fits that profile. All processing runs in your browser; no data is stored on servers.

Use the portfolio risk calculator to measure an existing portfolio, or the Portfolio Optimizer to build a new one from scratch.

Who Should Use It

Individual investors who want to see how risky their portfolio is and optimize allocations to their risk tolerance. DIY portfolio builders checking whether their diversification is working. Anyone comparing conservative vs aggressive or balanced risk levels before committing capital. The tool is free, requires no signup, and is suited to both beginners (use presets like Conservative, Balanced, Aggressive) and more experienced users (fine-tune with the 1–10 slider).

Compare risk profiles to see which level fits your goals, then try our portfolio risk calculator to build or analyze a portfolio.

Risk Calculator & Optimizer in Brief

The portfolio risk calculator takes your tickers and weights (or a sample portfolio), analyzes historical volatility and correlations, and outputs a portfolio risk score plus metrics like expected return and drawdown. The portfolio optimizer does the reverse: you set a risk level (1–10), and it suggests an allocation that targets that risk while respecting diversification and position limits. Together they let you measure risk, then build or adjust a portfolio to match your goals. For a deeper explanation, see How It Works.

Built for different needs

For Individual Investors

Build and optimize stock portfolios based on your risk preference. Understand how different allocations affect portfolio metrics.

For Financial Advisors

Create portfolio proposals for clients. Share optimized allocations via URL and demonstrate different risk-adjusted scenarios.

For Developers

Integrate portfolio optimization into your applications. All processing runs client-side with no backend dependencies.

Key features

Risk Scoring

10-level risk system from conservative to aggressive

Live Metrics

Real-time calculation of portfolio statistics

Auto Rebalancing

Automatic weight adjustment maintains valid constraints

Privacy First

All processing runs locally in your browser

Start building your portfolio

No signup required. Optimize portfolios in seconds.

Get Started

This tool is designed to help you explore and understand risk-aware portfolio construction. It is for informational purposes and does not constitute financial advice.