Portfolio Volatility Calculator and Formula

A portfolio volatility calculator combines asset weights, individual volatilities, and correlation to estimate total portfolio standard deviation. This browser tool applies the exact two-asset formula and shows the diversification effect.

Calculate two-asset portfolio volatility, see how correlation changes the result, and learn how to annualize and interpret volatility.

Free Calculator Formula & Definition Annualization Rule Correlation Effect

Calculate two-asset portfolio volatility

Enter two positive portfolio weights, each asset's annualized volatility, and their correlation. Use volatility figures measured over comparable windows.

Private by design: values stay in your browser

Portfolio volatility formula, quick answer

Portfolio volatility is the standard deviation of portfolio returns. For two assets, it depends on each asset's weight, each asset's volatility, and the correlation between the two assets.

σp = √(w12σ12 + w22σ22 + 2w1w2σ1σ2ρ1,2)

For an N-asset portfolio, use σp = √(wTΣw). To annualize daily volatility, multiply daily volatility by √252. To annualize monthly volatility, multiply by √12.

What You'll Learn

What Is Portfolio Volatility?

Portfolio volatility is the standard deviation of a portfolio's returns. It measures how widely the portfolio's value swings around its average return. Volatility is the most widely cited risk metric in finance because it is the input to the Sharpe ratio, Value at Risk, option pricing, and most other risk frameworks.

Volatility is typically expressed as an annualized percentage, even when computed from daily or weekly data. A 15 percent annualized volatility means returns typically fall within a range of plus or minus 15 percent of the average return about two-thirds of the time (under a normal-distribution assumption).

The Portfolio Volatility Formula

Two-Asset Portfolio

Volatility - 2 Assets
σp = √( w12σ12 + w22σ22 + 2w1w2σ1σ2ρ1,2 )
Includes correlation rho_{1,2} between the two assets.

Multi-Asset Portfolio (Matrix Form)

Volatility - N Assets
σp = √( wT Σ w )
Where w is the column vector of weights and Sigma is the variance-covariance matrix.
wiWeight of asset i in the portfolio (must sum to 1.0 across all assets)
σiStandard deviation of asset i's returns
ρi,jCorrelation coefficient between asset i and asset j
ΣVariance-covariance matrix (diagonal: variances; off-diagonal: covariances)
σpPortfolio volatility (standard deviation of portfolio returns)

Volatility vs total risk

Volatility and total portfolio risk are the same number under the standard definition. Both refer to the standard deviation of returns. "Volatility" is the trading and options-market term; "standard deviation" is the statistical term; "total risk" is the portfolio-theory term. They mean the same thing.

Three-Asset Portfolio (Expanded)

The matrix form is compact but hides the terms. Written out for three assets, portfolio variance has three variance terms and three covariance terms; volatility is the square root:

Portfolio Volatility - 3 Assets
σp = √( w1²σ1² + w2²σ2² + w3²σ3² + 2w1w2ρ12σ1σ2 + 2w1w3ρ13σ1σ3 + 2w2w3ρ23σ2σ3 )
Pattern: n variance terms + n(n−1)/2 covariance pairs. Three assets → 3 + 3 terms; four assets → 4 + 6 terms.

The Square-Root-of-Time Rule (Annualization)

Volatility is typically computed from daily, weekly, or monthly returns, then scaled to an annual figure. The scaling rule:

Annualization Formula
σannual = σperiod × √n
Where n is the number of periods in a year.
Period n (Periods per Year) Multiplier Example: 1% period vol → annual
Daily (trading days)252√252 ≈ 15.871% × 15.87 = 15.87%
Daily (calendar days)365√365 ≈ 19.101% × 19.10 = 19.10%
Weekly52√52 ≈ 7.211% × 7.21 = 7.21%
Monthly12√12 ≈ 3.461% × 3.46 = 3.46%
Quarterly4√4 = 2.001% × 2.00 = 2.00%

The 252 vs 365 question

For equities and other instruments observed on trading days, 252 is the common convention. For assets with one return observation for every calendar day, such as continuously priced crypto data, 365 may be appropriate. Match the annualization factor to the frequency of the return series and use a consistent convention when comparing assets.

How to Calculate Annualized Portfolio Volatility: Step-by-Step

Example: Daily Returns to Annualized Volatility

1 Compute periodic returns

For each trading day in the lookback window (say, 1 year = 252 trading days), calculate:

Rt = (Pt − Pt-1) / Pt-1

Or, for log returns: rt = ln(Pt / Pt-1). Log returns are preferred for volatility work because they are additive across periods.

2 Compute the mean return

Average return = (sum of all Rt) / n

Suppose mean daily return is 0.05% across the 252 observations.

3 Compute the daily standard deviation

For each day, compute the squared deviation: (Rt − mean)2.

Average these squared deviations (divide by n − 1 for sample standard deviation): Variance = Σ(Rt − mean)2 / (n − 1).

Take the square root: σdaily = √variance

Suppose daily standard deviation = 1.00%

4 Annualize with the square-root-of-time rule

σannual = σdaily × √252

σannual = 1.00% × 15.87

Annualized Volatility = 15.87%
5 Sanity check against known values

The S&P 500 has averaged about 15-16% annualized volatility over the last 50 years. A computed annual volatility of 15.87% from daily returns is in the right ballpark for a broad equity portfolio. Anything dramatically different signals either an unusual portfolio composition or an issue with the calculation.

Realized vs Implied vs EWMA Volatility

"Portfolio volatility" can be computed three common ways, each with different uses:

Type What It Measures Pros Cons
Historical (Realized) Standard deviation of past returns over a fixed window Simple, objective, easy to compute Backward-looking; treats all observations equally
EWMA Exponentially weighted moving average of squared returns Reacts faster to recent regime changes Requires a decay parameter (RiskMetrics uses 0.94 for daily data)
GARCH Models volatility as a function of prior squared returns and prior volatility Captures volatility clustering well Parameter estimation can be unstable; harder to explain
Implied Volatility inferred from current option prices (e.g. VIX) Forward-looking; reflects market expectations Only available for assets with liquid options; affected by supply/demand of options themselves

EWMA in one sentence

EWMA weights yesterday's squared return by (1 − lambda) and yesterday's variance by lambda, where lambda is typically 0.94 for daily data (the RiskMetrics standard). This means the most recent observations matter most, and the influence of older observations decays exponentially.

Typical Volatility Values by Asset Class

Asset Class Annualized Volatility (Typical Range)
Cash / T-bills0% to 1%
US Aggregate Bonds4% to 7%
60/40 Stock/Bond Portfolio9% to 12%
S&P 50014% to 18%
Long Treasury (TLT)13% to 16%
Nasdaq 10020% to 25%
Single large-cap stocks20% to 40%
Single small-cap stocks30% to 60%
Bitcoin50% to 90%
Single early-stage growth stocks60% to 100%+

From Volatility to a Broader Portfolio Risk Check

This calculator applies the exact two-asset equation to the values you provide. It does not fetch return history, estimate correlations, or model more than two assets. For a broader view, Guardfolio analyzes synchronized portfolio holdings and tracks rolling 30-day volatility against the portfolio's historical baseline.

The free portfolio risk check requires no connected account and helps examine:

Frequently Asked Questions

What is the portfolio volatility formula?
Portfolio volatility is the standard deviation of portfolio returns. For two assets: σp = √(w12σ12 + w22σ22 + 2w1w2σ1σ2ρ). For N assets, σp = √(wTΣw). To annualize a daily volatility, multiply by √252.
What is the portfolio standard deviation formula for 3 assets?
For three assets, portfolio variance is σp2 = w12σ12 + w22σ22 + w32σ32 + 2w1w2ρ12σ1σ2 + 2w1w3ρ13σ1σ3 + 2w2w3ρ23σ2σ3, and volatility (standard deviation) is the square root of that. The pattern is n variance terms plus n(n−1)/2 covariance pairs.
How do you annualize volatility?
Multiply the period volatility by the square root of the number of periods in a year. Daily: multiply by √252. Weekly: multiply by √52. Monthly: multiply by √12. For example, a 1% daily standard deviation annualizes to roughly 1% × √252 = 15.87% annualized volatility.
What is the difference between realized and implied volatility?
Realized (or historical) volatility is computed from past price returns. Implied volatility is derived from current option prices and reflects the market's expectation of future volatility. The VIX index is the most-watched implied volatility measure for US equities. The two often diverge, and the difference (variance risk premium) is itself a tradable signal.
Why use square root of time for annualization?
Volatility scales with the square root of time because the variance of a sum of independent returns equals the sum of their variances. Standard deviation is the square root of variance, so annual standard deviation equals daily standard deviation times the square root of the number of trading days. This assumes returns are independent and identically distributed, which is approximately but not perfectly true.
Why is there 252 in the formula instead of 365?
Equity return series usually contain about 252 trading-day observations per year, so multiplying daily volatility by √252 matches that observation frequency. Calendar-day series may use √365. Use the factor that matches the return data and apply the same convention when comparing assets.
What is a good portfolio volatility?
There is no universally good portfolio volatility. Interpretation depends on objectives, time horizon, liquidity needs, asset mix, and the measurement window. Compare portfolios using the same return frequency and annualization convention, and evaluate volatility alongside drawdown and concentration.

Check Volatility in a Broader Risk Context

Run a free portfolio health check for volatility, concentration, diversification, and other structural risk signals.

Get Free Risk Report →
Guardfolio is an informational monitoring tool. It does not provide personalized investment advice. Volatility values are computed from historical returns and change over time. Past performance does not guarantee future results.