Factor Investing Explained: A Math-Based Approach

Factor Investing: A Step-by-Step Guide Using Basic Math

Factor investing is an investment strategy that targets specific characteristics or factors that are known to drive returns. In this guide, we’ll walk through how to apply basic math to measure and implement factor investing in your portfolio.

1. Identify the Factors

The first step in factor investing is choosing which factors to focus on. Common factors include:

  • Value: Undervalued stocks compared to their fundamentals (e.g., low P/E ratios).
  • Size: Smaller companies that typically outperform larger companies over the long term.
  • Momentum: Stocks with strong recent performance.
  • Quality: Companies with strong balance sheets and profitability.
  • Volatility: Stocks with lower volatility perform better on a risk-adjusted basis.

2. Measure the Factors Mathematically

Each factor is quantifiable using basic formulas:

Value Factor

Measured using the Price-to-Earnings (P/E) Ratio:

P/E Ratio = Price per Share / Earnings per Share

A low P/E ratio indicates an undervalued stock.

Size Factor

Calculated with Market Capitalization:

Market Cap = Price per Share × Number of Shares Outstanding

Smaller companies often outperform larger ones over time.

Momentum Factor

Momentum is calculated by price changes over time:

Momentum = (Price Today - Price 6 months ago) / Price 6 months ago

Stocks with strong recent momentum are often favored.

Quality Factor

Measured using the Return on Equity (ROE):

ROE = Net Income / Shareholder’s Equity

High ROE companies are often considered high-quality investments.

Volatility Factor

Volatility is measured by the stock’s Standard Deviation:

σ = √(1/n-1) ∑(Ri - R̄)2

Where Ri is the return for each period and R̄ is the average return.

3. Rank and Select Stocks Based on Factor Scores

Once you have the factor scores, you rank stocks based on their performance for each factor.

For example:

  • Value: Rank stocks by their P/E ratios (low to high).
  • Momentum: Rank stocks by recent price changes (high to low).

You can also combine factors, such as picking stocks with low P/E ratios and high momentum.

4. Construct a Factor Portfolio

Based on your rankings, you select the stocks with the best factor scores for your portfolio. You can allocate capital equally across stocks or weight them based on factor strength.

For example, with $10,000 and 5 stocks, you would invest $2,000 per stock:

Investment per Stock = Total Investment / Number of Stocks

5. Monitor and Rebalance the Portfolio

Over time, factors change, and you need to monitor your portfolio to ensure it remains aligned with the chosen factors. For instance, if one stock’s momentum declines, it might be time to replace it with another stock with stronger momentum.

6. Measure Portfolio Performance

You can measure your portfolio’s performance using basic formulas such as:

Total Return

Total Return = (End Value - Start Value) / Start Value × 100

This measures your overall portfolio gain or loss.

Risk-Adjusted Return (Sharpe Ratio)

Sharpe Ratio = (Portfolio Return - Risk-Free Rate) / σ

The Sharpe ratio helps evaluate the risk-adjusted performance of your portfolio. A higher ratio indicates better risk-adjusted returns.

Conclusion

Factor investing uses basic math to identify and rank stocks based on specific characteristics (factors) that drive returns. By applying these metrics, you can build a well-diversified portfolio designed to outperform over the long term.

Patience and a long-term outlook are key in factor investing. While factors may fluctuate in effectiveness over time, a disciplined approach can lead to excess returns.