Portfolio Volatility Formula

How to calculate portfolio volatility and convert between daily, monthly, and annualized values. Standard deviation formula, square-root-of-time rule, and realized vs implied volatility explained.

Formula & Definition Annualization Rule Realized vs Implied Worked Example

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.

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 that only trade on business days, use 252. For instruments that price 24/7 (crypto, FX), 365 is more appropriate. Mixing the two leads to incorrect comparisons. Most professional risk systems standardize on 252 for equities-and-equivalents, then convert crypto and FX explicitly when comparing.

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%+

How Guardfolio Calculates Portfolio Volatility Automatically

Guardfolio connects to your brokerage accounts (read-only) and continuously calculates portfolio volatility from daily returns, automatically annualized using the square-root-of-time rule. The same calculation runs across multiple windows so you can see how volatility has shifted over time.

The free portfolio risk report takes about 2 minutes, requires no account, and includes:

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.
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?
There are approximately 252 trading days in a year (365 days minus weekends and US market holidays). Markets are closed on weekends, so price changes do not occur on those days. Using 252 (trading days) rather than 365 (calendar days) gives a more accurate annualization for daily-return data. For 24/7 markets like crypto, 365 is more appropriate.
What is a good portfolio volatility?
"Good" depends on the investor's risk tolerance. Common targets: conservative portfolios at 6-8% annualized, moderate at 10-12%, aggressive at 15-18%, very aggressive at 20%+. The S&P 500 averages around 15-16% annualized vol. A portfolio with volatility significantly above the broad market suggests concentration or leverage.

See Your Portfolio's Volatility Automatically

Guardfolio computes annualized volatility across multiple windows and shows which holdings drive your total portfolio vol.

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.