Risk factor allocation: factor risk and exposure targeting
Risk factor allocation looks at a portfolio through the risk factors it is exposed to: how much of its variance each factor carries (loading × the factor covariance matrix times the loadings, divided by the total variance) and how much is specific to it. This free tool measures that for up to ten ETFs and finds the long-only ETF weights whose factor loadings come closest to the exposures you set, on Fama-French or ETF factors. No sign-up.
Data updated November 10, 2026
Short answer. The tool opens with the three-fund portfolio (50% ITOT, 30% VXUS and 20% BND). From Feb 2011 to Sep 2026 its volatility was 11.6% a year; the Fama-French 5 factors + momentum explained 94% of its variance, with Mkt−RF at 93% and MOM at 2%, and 6% was specific risk. Asked for loadings of Mkt−RF +1.0, SMB +0.3, HML +0.3, RMW +0.1, CMA 0.0 and MOM 0.0 using SPY, IWM, IWN, IWD, IWF, MTUM, QUAL and USMV (at most 50% each), the solver chose 39% IWD, 35% IWN, 24% QUAL and 2% MTUM, reaching SMB +0.31 and HML +0.27 (root mean square gap 0.03).
- Volatility a year
- 11.6%
- Factor share of variance
- 94%
- Mkt−RF share
- 93%
- Specific share
- 6%
Fama-French 5 factors + momentum, monthly excess returns, Feb 2011 to Sep 2026 (188 months); fund prices to November 10, 2026. Shares of the variance; solver in-sample, long-only, 0–50% per ETF. Not a recommendation.
1 · Your portfolio
- ITOT iShares Core S&P Total U.S. Stock Market ETF · USD%since 2006
- VXUS Vanguard Total International Stock ETF · USD%since 2011
- BND Vanguard Total Bond Market ETF · USD%since 2007
● Total 100% · up to 10 holdings
The portfolio’s volatility was 11.6% a year. The factors explain 94% of its variance, Mkt−RF alone 93%; the remaining 6% is specific risk, a volatility of 2.8% a year that the model does not explain. Factors with a negative share offset part of the others’ risk.
- Volatility, a year
- 11.6%
- Factor share of variance
- 94%
- Specific share
- 6%
- R²
- 0.94
Where the risk comes from, by factor
Share of the variance of monthly excess returns: loading × (factor covariance × loadings) ÷ total variance, plus the residual variance. The shares add up to 100%.
- Mkt−RF Market (US stocks minus T-bills)loading +0.77 · factor vol 14.6% · 93.5% of variance
- SMB Size (small minus big)loading −0.02 · factor vol 9.4% · −0.6% of variance
- HML Value (high minus low book-to-market)loading +0.02 · factor vol 11.4% · 0.1% of variance
- RMW Profitability (robust minus weak)loading +0.01 · factor vol 8.0% · −0.1% of variance
- CMA Investment (conservative minus aggressive)loading +0.05 · factor vol 7.4% · −0.5% of variance
- MOM Momentum (winners minus losers)loading −0.04 · factor vol 13.0% · 1.6% of variance
- Specific Residual, not explained by the factors6.0% of variance
Fama-French 5 factors + momentum, monthly, Feb 2011 to Sep 2026 (188 months). Factors from the Kenneth R. French Data Library (to Sep 2026): US stocks, long-short, before costs, not investable. Excess returns over the one-month T-bill rate in the same file. Newey-West standard errors.
Fama-French 5 factors + momentum
2 · Find ETF weights for target factor exposures
Set the loadings you want, choose the ETFs the mix may use and the weight limits: the solver finds the long-only weights whose loadings are closest to all targets at once, over the same model and period as above.
| Factor | Target loading | Match it |
|---|---|---|
| Mkt−RF Market (US stocks minus T-bills) | ||
| SMB Size (small minus big) | ||
| HML Value (high minus low book-to-market) | ||
| RMW Profitability (robust minus weak) | ||
| CMA Investment (conservative minus aggressive) | ||
| MOM Momentum (winners minus losers) |
Solution
Over 75 months (2020-07 to 2026-09), the same months for every ETF. Weights sum to 100%, each between 0% and 50%.
Weights
- IWD39%
- IWN35%
- QUAL24%
- MTUM2.0%
Not used: SPY, IWM, IWF, USMV.
Loadings: target and achieved
| Factor | Target | Achieved | Gap |
|---|---|---|---|
| Mkt−RF | +1.00 | +0.96 | −0.04 |
| SMB | +0.30 | +0.31 | +0.01 |
| HML | +0.30 | +0.27 | −0.03 |
| RMW | +0.10 | +0.07 | −0.03 |
| CMA | 0.00 | +0.03 | +0.03 |
| MOM | 0.00 | −0.01 | −0.01 |
Root mean square gap 0.027 on the matched factors. The mix: R² 0.98, alpha −2.06% a year, volatility 16.4%. Factors explain 98% of its variance.
Loadings of the candidate ETFs
Each candidate’s own loadings over the same months: the mix’s loadings are the weighted average of these rows.
| ETF | Mkt−RF | SMB | HML | RMW | CMA | MOM | R² |
|---|---|---|---|---|---|---|---|
| SPY | +0.99 | −0.11 | +0.03 | +0.05 | +0.01 | 0.00 | 1.00 |
| IWM | +1.03 | +0.88 | +0.13 | −0.10 | −0.06 | +0.08 | 0.99 |
| IWN | +1.00 | +0.86 | +0.40 | +0.01 | −0.04 | −0.01 | 0.99 |
| IWD | +0.89 | +0.09 | +0.32 | +0.10 | +0.10 | −0.05 | 0.93 |
| IWF | +1.10 | −0.19 | −0.26 | −0.04 | −0.09 | +0.03 | 0.96 |
| MTUM | +1.13 | −0.10 | +0.05 | −0.31 | +0.06 | +0.51 | 0.89 |
| QUAL | +1.01 | −0.09 | 0.00 | +0.15 | +0.03 | 0.00 | 0.95 |
| USMV | +0.69 | −0.09 | +0.03 | +0.23 | +0.18 | −0.01 | 0.75 |
In-sample: the loadings, and so the weights, are estimated on the same months they describe, and loadings change over time. The solver minimises the sum of squared gaps plus a tiny penalty on concentrated weights, so the answer is unique and the same every time. Not a recommendation to buy these funds.
What is risk factor allocation?
Asset allocation divides money between asset classes and funds. Risk factor allocation divides risk between the forces that move them. The two can look very different: a portfolio with 60% of its money in stocks typically has well over 80% of its variance in the stock-market factor, because stocks swing several times more than bonds. And funds with different names can carry the same factor: a dividend fund, a value fund and a low-volatility fund may all lean on value and investment factors.
The method comes from the risk models used by institutional managers [1]: describe each holding by its loadings on a few factors, estimate the factors’ covariance, and the portfolio’s risk splits into a factor part and a specific part. With the Fama-French factors [2] [3] plus momentum [4], the factor part tells you how much of your risk is market risk and how much is size, value, profitability, investment or momentum.
The second half of this page turns the question around: instead of measuring the exposures you have, choose the ones you want and solve for ETF weights that deliver them. It is how factor tilts are built with funds, and it shows quickly what a set of ETFs can and cannot reach.
How the tool works: the formulas
Monthly total returns with dividends reinvested; portfolios rebalanced to their weights every month; excess returns over the one-month T-bill.
Loadings
r_t − rf_t = α + Σ_j b_j F_j,t + ε_t (OLS on all months in the period)
The same regression as the factor regression tool.
Variance decomposition
Var(r − rf) = b′Σ_F b + Var(ε)
Σ_F is the sample covariance matrix of the factors over the same months. With an intercept, the residuals are uncorrelated with the factors in the sample, so the identity is exact.
Factor risk contribution
share_i = b_i × (Σ_F b)_i ÷ Var(r − rf) · specific share = Var(ε) ÷ Var(r − rf)
The Euler split of the factor variance: the shares add up to the factor share, and with the specific share to 100%. Multiplied by the volatility, they give each factor’s contribution to volatility.
Exposure targeting
minimise Σ_j (Σ_i w_i b_ij − t_j)² + λ Σ_i w_i² subject to Σ_i w_i = 1, min ≤ w_i ≤ max
b_ij is ETF i’s loading on factor j over the common months, t_j the target. With monthly rebalancing the mix’s loading is exactly the weighted average. λ = 0.001 is a tiny penalty that prefers spread-out weights when several mixes fit equally well, making the answer unique; the quadratic program is solved exactly by an active-set method, so it gives the same weights every time.
Conventions are documented on the methodology page.
Which factors: academic or ETF?
Academic factors come from the Kenneth R. French Data Library [5]. Each is a long-short portfolio of US stocks listed on the NYSE, AMEX and NASDAQ: SMB buys small companies and sells large ones, HML buys cheap stocks and sells expensive ones, and so on. They have decades of history and are the standard in academic research [2] [3], but they are paper portfolios: no costs, no taxes, short positions in thousands of stocks, rebalanced once a year (monthly for momentum). Nobody can buy them, they only cover US stocks, and they are published with a delay of weeks.
ETF factors are built from funds you can buy: the S&P 500 (SPY) minus T-bills (BIL) for the market, small caps minus large caps (IWM − SPY) for size, the Russell 1000 Value minus Growth funds (IWD − IWF) for value, momentum, quality and minimum-volatility funds minus SPY, plus global and macro sets. They are net of fund fees and available up to last month, and every exposure they find can be checked or hedged with a real instrument. But they are long-only proxies: a difference of two funds that overlap is a weaker, noisier version of a long-short factor, and several of them (MTUM, QUAL) only started trading in 2013.
The two give different numbers for the same portfolio, and neither is the true one. Use the academic models to compare with research and with other tools that use the French data; use the ETF models to see what you could actually have held, and to read exposures that the academic set does not cover, such as bonds, gold or the dollar.
How to read the results
One dominant bar means one bet. If the market factor carries 90% of the variance, the other holdings change the return but barely the risk. That is normal for a stock portfolio; it is worth knowing for one that was meant to be diversified.
Style factors carry little risk but can carry return. Size or value tilts often account for a few percent of the variance. That does not make them unimportant: in some years they decide whether a portfolio beats the market.
High specific risk is a model question. With bonds, gold or non-US stocks against US equity factors, a large specific share means the model does not see those assets: switch to the macro or multi-asset ETF model.
In the solver, look at the gaps before the weights. A gap of 0.1 or more on a factor you care about means the chosen ETFs cannot deliver that exposure within the limits. Weights near the maximum signal the same.
Worked example: the factor risk of a portfolio, and a mix built to target
The figures the tool computes when the page opens, step by step.
- Combine 50% ITOT, 30% VXUS and 20% BND each month and subtract the T-bill return: 188 monthly excess returns, Feb 2011 to Sep 2026, with a volatility of 11.6% a year.
- Regress them on the Fama-French 5 factors + momentum. Loadings: Mkt−RF +0.77, SMB −0.02, HML +0.02, RMW +0.01, CMA +0.05 and MOM −0.04; R² 0.94.
- Multiply the factor covariance matrix by the loadings. Each factor’s share of the variance is its loading times the matching element of that product, divided by the total variance: Mkt−RF 93%, SMB −1%, HML 0%, RMW −0%, CMA −0% and MOM 2%. SMB has a negative share: it offset part of the other factors’ risk.
- The residual variance is 6% of the total, a volatility of 2.8% a year, and the factor part 11.3%. Since the residuals are uncorrelated with the factors in the regression, the two variances add up exactly: 11.3%² + 2.8%² = 11.6%².
- For the solver, estimate the loadings of SPY, IWM, IWN, IWD, IWF, MTUM, QUAL and USMV over the 75 months they share with the factors (Jul 2020 to Sep 2026). The targets are Mkt−RF +1.0, SMB +0.3, HML +0.3, RMW +0.1, CMA 0.0 and MOM 0.0.
- Minimise the sum of squared gaps between the mix’s loadings (the weighted average of the ETFs’) and the targets, plus 0.001 × the sum of squared weights, with weights between 0 and 50% summing to 100%. Result: 39% IWD, 35% IWN, 24% QUAL and 2% MTUM; achieved loadings Mkt−RF +0.96, SMB +0.31, HML +0.27, RMW +0.07, CMA +0.03 and MOM −0.01. In that mix the factors explain 98% of the variance.
The loadings with t-stats and rolling windows are in the factor regression; how much each factor added to the return each year, in the factor performance attribution.
How to allocate a portfolio by risk factors
- 1
Enter the portfolio you hold
Up to ten ETFs or ready-made portfolios with their weights, and a factor model that covers what they hold.
- 2
Read where the risk comes from
The bars show each factor’s share of the variance and the specific share; a single factor above 80% means the portfolio is essentially one bet.
- 3
Decide the exposures you want
Set a target loading for each factor, for example market 1.0 with small-cap and value tilts of 0.3, and untick the factors you do not want to constrain.
- 4
Choose the ETFs the mix may use
Include funds with clearly different factor profiles; ETFs that load alike add little. Check the candidates’ loading table.
- 5
Set weight limits and solve
Minimum and maximum weight per ETF; the solver returns long-only weights that sum to 100% and the gap to each target.
- 6
Test the result
Open the mix in the factor regression to check its loadings over time, and in the portfolio analyzer for return, drawdowns and costs, before acting on it.
Common mistakes and limitations
- Treating loadings as fixed. They are estimates from past months and drift; a mix that matched the targets over ten years may not over the next three. Check the rolling loadings in the factor regression.
- In-sample fit. The solver uses the same months to estimate the loadings and to judge the fit, so the match looks better than it will be.
- Long-only limits. Without short positions, no mix can go beyond the most extreme ETF on any factor; negative targets need ETFs with negative loadings.
- Overlapping candidates. ETFs with similar loadings make the solution sensitive to small changes; the tiny penalty on concentration keeps it stable, but the choice between look-alikes is arbitrary.
- Costs, taxes, currency. Fund fees are inside the returns; trading costs and taxes of reaching the new weights are not, and euro funds carry the exchange rate against US-dollar factors.
- Premia are uncertain. Targeting a factor fixes an exposure, not a return. Many published factors have weaker or no premium out of sample [7] [6].
Risk factor allocation and related approaches
| Approach | Allocates | What it optimises or shows |
|---|---|---|
| Asset allocation | Money across asset classes | Weights by asset class; risk follows from them |
| Risk parity | Risk across holdings or asset classes | Equal risk contributions of holdings |
| Risk factor allocation (this page) | Risk across factors | Factor shares of variance; weights that hit target loadings |
| Mean-variance optimisation | Money, using expected returns and covariances | Highest Sharpe or lowest volatility mix |
| Smart beta ETFs | One factor tilt inside one fund | A rules-based tilt, before you combine funds |
The portfolio optimizer covers risk parity and mean-variance on the same ETFs; the portfolio analyzer shows each holding’s share of the risk, the asset-level counterpart of the factor shares here; the ETF factor regressions table lists the loadings of every fund, useful to pick candidates for the solver.
Risk factor allocation: questions
What is risk factor allocation?
Building or reviewing a portfolio by the risk factors it is exposed to (market, size, value, profitability, investment, momentum, or rates, credit and commodities) rather than by asset class or fund name. It has two parts: measuring how much of the portfolio’s risk comes from each factor, and choosing holdings so that the factor exposures match the ones you want.
How is a factor’s contribution to portfolio risk calculated?
Regress the portfolio’s monthly excess returns on the factors to get its loadings b. The variance explained by the factors is b′Σb, where Σ is the factors’ covariance matrix. Factor i’s share of the total variance is b_i × (Σb)_i ÷ total variance; the residual variance divided by the total is the specific share. All the shares add up to 100%.
What is specific risk?
The part of the variance the factors do not explain: stock selection, sectors, currencies or asset classes outside the model. It is high for concentrated portfolios and for portfolios with bonds, gold or many non-US stocks measured against US equity factors.
How much of my portfolio’s risk comes from the stock market?
Usually most of it, even in a balanced portfolio, because stocks are far more volatile than bonds. In the three-fund portfolio (50% ITOT, 30% VXUS and 20% BND), Mkt−RF carried 93% of the variance over Feb 2011 to Sep 2026, and all the factors together 94%.
Can a factor have a negative risk contribution?
Yes. If the portfolio’s loading on a factor works against its other exposures (for example a factor that tends to rise when the market falls, held with a positive loading), that factor lowers the total variance and its share is negative. The shares still add up to 100%.
How do I target a factor exposure with ETFs?
Choose a set of ETFs with different factor profiles (a market fund, small-cap value, quality, momentum, minimum volatility), set the loadings you want and the weight limits, and solve for the weights whose weighted-average loadings are closest to the targets. This page does that with constrained least squares; the loadings of each ETF are estimated over the same months.
Why can the solver not reach my target?
Because the mix’s loadings are a weighted average of the ETFs’ loadings, and the weights are long-only within your limits: no mix can exceed the most extreme ETF on any factor, or reach a negative loading if every ETF has a positive one. Add ETFs with stronger tilts, loosen the limits, or untick the factors you care less about.
Is factor risk allocation the same as risk parity?
No. Classic risk parity equalises the risk contributions of asset classes or holdings. Risk factor allocation looks at the contributions of factors, which cut across holdings: two funds can both be mostly market risk. A factor version of risk parity is possible, but it requires leverage or short positions for most long-only fund sets.
Does targeting factor exposures guarantee the factor returns?
No. The loadings are estimated from past months and change over time, and factor premia have varied widely and tended to shrink after publication. Matching a loading means the mix behaved like that exposure in the past; it says nothing about what the factor will earn.
Which factor model should I use?
Fama-French five factors plus momentum for a stock portfolio’s style risks; the ETF models when you want the factors themselves to be tradable funds; the macro or multi-asset ETF models when the portfolio holds bonds, gold or commodities, whose risk a stock model leaves in the specific part.
Is this tool free?
Yes, with no sign-up. Monthly returns of the funds you choose are loaded once; the decomposition and the solver run in your browser, and the link keeps every setting.
Related tools and guides
- Factor regressionFama-French and ETF factor loadings of any mix
- ETF factor regressionsLoadings of every ETF in one table
- Factor performance attributionEach year’s return split by factor
- Portfolio analyzerReturn, drawdowns, correlations, risk by holding
- Portfolio optimizerMax Sharpe, min volatility, risk parity
- Fama-French modelGlossary: SMB, HML and the regression
- MEDGE methodologyHow every metric is computed
Sources
- Grinold, R. C., & Kahn, R. N. (2000). Active Portfolio Management (2nd ed.). McGraw-Hill. www.worldcat.org/search?q=Active+Portfolio+Management+Grinold+Kahn
- Fama, E. F., & French, K. R. (1993). Common risk factors in the returns on stocks and bonds. Journal of Financial Economics, 33(1), 3–56. doi.org/10.1016/0304-405X(93)90023-5
- Fama, E. F., & French, K. R. (2015). A five-factor asset pricing model. Journal of Financial Economics, 116(1), 1–22. doi.org/10.1016/j.jfineco.2014.10.010
- Carhart, M. M. (1997). On Persistence in Mutual Fund Performance. The Journal of Finance, 52(1), 57–82. doi.org/10.1111/j.1540-6261.1997.tb03808.x
- French, K. R. Data Library: Fama/French 5 Factors (2x3), Fama/French 3 Factors and Momentum Factor (monthly). Tuck School of Business at Dartmouth. mba.tuck.dartmouth.edu/pages/faculty/ken.french/data_library.html
- McLean, R. D., & Pontiff, J. (2016). Does Academic Research Destroy Stock Return Predictability? The Journal of Finance, 71(1), 5–32. doi.org/10.1111/jofi.12365
- Harvey, C. R., Liu, Y., & Zhu, H. (2016). …and the Cross-Section of Expected Returns. The Review of Financial Studies, 29(1), 5–68. doi.org/10.1093/rfs/hhv059
Source: MarketStack end-of-day prices, total return with dividends reinvested; Kenneth R. French Data Library (academic factors); MEDGE Capital calculations. Figures are historical and descriptive; they are not forecasts and not investment advice. MEDGE Capital does not recommend buying or selling any instrument. Risk disclaimer.