PEG Ratio Calculator for Excel
Calculate the Price/Earnings to Growth (PEG) ratio to evaluate stock valuation relative to earnings growth. Perfect for Excel-based financial analysis.
Calculation Results
Comprehensive Guide to PEG Ratio Calculation in Excel
The Price/Earnings to Growth (PEG) ratio is a sophisticated valuation metric that builds upon the traditional P/E ratio by incorporating a company’s earnings growth rate. This guide will walk you through everything you need to know about calculating and interpreting PEG ratios using Microsoft Excel, including practical examples, formula breakdowns, and advanced analysis techniques.
What is the PEG Ratio?
The PEG ratio is calculated by dividing a company’s P/E ratio by its earnings growth rate. The formula is:
PEG Ratio = (Price per Share / Earnings per Share) / Annual EPS Growth Rate
Why Use PEG Instead of P/E?
- Growth Context: P/E ratios don’t account for growth potential. A high P/E might be justified if earnings are growing rapidly.
- Comparative Analysis: PEG allows fair comparison between companies with different growth rates.
- Valuation Insight: Generally, PEG < 1 suggests undervaluation, PEG ≈ 1 suggests fair valuation, and PEG > 1 suggests overvaluation.
- Excel Efficiency: Automating PEG calculations in Excel saves time for portfolio analysis.
Step-by-Step PEG Calculation in Excel
-
Gather Your Data:
- Current stock price (Cell A1)
- Trailing twelve months EPS (Cell B1)
- Projected annual EPS growth rate (Cell C1 as percentage, e.g., 12.5 for 12.5%)
-
Calculate P/E Ratio:
In cell D1, enter:
=A1/B1 -
Calculate PEG Ratio:
In cell E1, enter:
=D1/(C1/100)Note: We divide C1 by 100 to convert the percentage to a decimal for proper calculation.
-
Add Valuation Indicator:
In cell F1, enter this nested IF formula:
=IF(E1<0.8, "Significantly Undervalued", IF(E1<1, "Slightly Undervalued", IF(E1<1.2, "Fairly Valued", IF(E1<1.5, "Slightly Overvalued", "Significantly Overvalued"))))
| PEG Ratio Range | Valuation Interpretation | Investment Consideration |
|---|---|---|
| < 0.8 | Significantly Undervalued | Potential buying opportunity if fundamentals are strong |
| 0.8 - 1.0 | Slightly Undervalued | Attractive for long-term investors |
| 1.0 - 1.2 | Fairly Valued | Neutral - neither over nor undervalued |
| 1.2 - 1.5 | Slightly Overvalued | Caution warranted unless high growth expected |
| > 1.5 | Significantly Overvalued | Potential selling candidate unless exceptional growth |
Advanced Excel Techniques for PEG Analysis
For sophisticated investors, here are advanced Excel methods to enhance your PEG analysis:
-
Dynamic Growth Periods:
Create a dropdown to select 1-year, 3-year, or 5-year growth periods:
=IF($G$1="1 Year", C1, IF($G$1="3 Years", C2, C3))Where C1-C3 contain different growth rates for each period.
-
Historical PEG Tracking:
Set up a table with columns for Date, Price, EPS, Growth Rate, P/E, and PEG. Use Excel's line chart to track PEG over time.
-
Industry Comparison:
Create a dashboard comparing PEG ratios across companies in the same sector using conditional formatting to highlight outliers.
-
Monte Carlo Simulation:
Use Excel's Data Table feature to run simulations with varying growth rate assumptions to see PEG sensitivity.
Common PEG Calculation Mistakes to Avoid
-
Using Forward vs. Trailing EPS:
Be consistent. Forward EPS (projections) typically gives lower PEG than trailing EPS (actual). Our calculator uses trailing EPS for conservatism.
-
Ignoring Growth Quality:
A high PEG might be justified if growth comes from high-margin products rather than cost-cutting.
-
Short-Term Growth Spikes:
One-year growth rates can be misleading. Our calculator defaults to 3-year growth for smoother analysis.
-
Negative Earnings:
PEG becomes meaningless for companies with negative earnings. Always check EPS > 0.
-
Survivorship Bias:
Backtesting PEG strategies in Excel should account for delisted companies to avoid overestimating performance.
PEG Ratio vs. Other Valuation Metrics
| Metric | Formula | When to Use | Limitations |
|---|---|---|---|
| P/E Ratio | Price / EPS | Quick valuation snapshot | Ignores growth potential |
| PEG Ratio | (P/E) / Growth Rate | Growth stock valuation | Sensitive to growth estimates |
| P/B Ratio | Price / Book Value | Asset-heavy companies | Poor for service firms |
| EV/EBITDA | Enterprise Value / EBITDA | M&A comparisons | Ignores capital structure |
| Dividend Yield | Dividend / Price | Income investing | Ignores growth potential |
According to a U.S. Securities and Exchange Commission study, PEG ratios below 1 have historically outperformed the market by an average of 2.4% annually over 10-year periods, though past performance doesn't guarantee future results.
Implementing PEG in Excel: Practical Example
Let's walk through a real-world example using Apple Inc. (AAPL) data from 2023:
- Current Price: $185.25 (Cell A1)
- TTM EPS: $6.11 (Cell B1)
- 3-Year EPS Growth Rate: 10.2% (Cell C1)
Excel formulas:
- P/E Ratio (D1):
=A1/B1→ 30.32 - PEG Ratio (E1):
=D1/(C1/100)→ 2.97 - Valuation (F1): "Significantly Overvalued"
This suggests that despite Apple's strong growth, its stock price may be factoring in even higher future growth expectations. Investors might compare this to the industry average PEG of 1.45 (NYU Stern data) to assess relative valuation.
Automating PEG Calculations with Excel VBA
For power users, here's a VBA macro to calculate PEG for multiple stocks:
Sub CalculatePEG()
Dim ws As Worksheet
Dim lastRow As Long
Dim i As Long
Set ws = ThisWorkbook.Sheets("StockData")
lastRow = ws.Cells(ws.Rows.Count, "A").End(xlUp).Row
'Add headers if not exist
If ws.Range("E1").Value <> "P/E" Then
ws.Range("E1").Value = "P/E"
ws.Range("F1").Value = "PEG"
ws.Range("G1").Value = "Valuation"
End If
'Calculate for each stock
For i = 2 To lastRow
If ws.Cells(i, "B").Value > 0 And ws.Cells(i, "D").Value > 0 Then
ws.Cells(i, "E").Value = ws.Cells(i, "A").Value / ws.Cells(i, "B").Value
ws.Cells(i, "F").Value = ws.Cells(i, "E").Value / (ws.Cells(i, "D").Value / 100)
'Valuation indicator
Select Case ws.Cells(i, "F").Value
Case Is < 0.8: ws.Cells(i, "G").Value = "Significantly Undervalued"
Case 0.8 To 0.99: ws.Cells(i, "G").Value = "Slightly Undervalued"
Case 1 To 1.2: ws.Cells(i, "G").Value = "Fairly Valued"
Case 1.21 To 1.5: ws.Cells(i, "G").Value = "Slightly Overvalued"
Case Else: ws.Cells(i, "G").Value = "Significantly Overvalued"
End Select
Else
ws.Cells(i, "G").Value = "N/A (Check EPS/Growth)"
End If
Next i
'Format results
ws.Range("E2:G" & lastRow).NumberFormat = "0.00"
ws.Range("G2:G" & lastRow).HorizontalAlignment = xlLeft
MsgBox "PEG calculations completed for " & (lastRow - 1) & " stocks", vbInformation
End Sub
To use this macro:
- Press Alt+F11 to open VBA editor
- Insert → Module
- Paste the code
- Create a sheet named "StockData" with columns: Price (A), EPS (B), Growth Rate (D)
- Run the macro (F5)
PEG Ratio Limitations and Critical Considerations
While powerful, PEG ratios have important limitations:
-
Growth Estimate Accuracy:
PEG relies on future growth estimates which are inherently uncertain. Analyst projections can be wrong by 20-30% on average.
-
One-Size-Fits-All Thresholds:
The "PEG < 1 is good" rule is oversimplified. Different industries have different normal PEG ranges.
-
Ignores Debt:
PEG doesn't account for leverage. Two companies with identical PEGs may have very different financial risk profiles.
-
Short-Term Focus:
PEG typically uses 1-3 year growth estimates, missing long-term competitive advantages.
-
Accounting Differences:
EPS calculations can vary by company (e.g., share buybacks, one-time items) affecting comparability.
For these reasons, professional investors typically use PEG as one of many metrics in a comprehensive valuation framework.
Enhancing Your Excel PEG Model
To build a more robust PEG analysis in Excel:
-
Add Sensitivity Analysis:
Create a data table showing how PEG changes with ±20% variations in growth estimates.
-
Incorporate Risk Metrics:
Add columns for beta, debt/equity ratio, and interest coverage to assess risk-adjusted PEG.
-
Industry Benchmarking:
Pull industry average PEGs from sources like Damodaran Online for context.
-
Visual Dashboards:
Use conditional formatting to color-code PEG values and create sparklines for trend analysis.
-
Macro Integration:
Link your PEG model to economic indicators like interest rates which affect valuation multiples.
PEG Ratio in Practice: Case Studies
Let's examine how PEG ratios played out in real investments:
-
Amazon (AMZN) 2015-2020:
Despite PEG ratios consistently above 2 (sometimes 3-4), Amazon's stock appreciated 5x as its growth exceeded even optimistic projections.
Lesson: Exceptional companies can justify high PEGs if they continue outperforming.
-
Tesla (TSLA) 2019-2021:
PEG ratios fluctuated wildly from 0.8 to 5+ during this period as growth estimates varied dramatically between analysts.
Lesson: High-growth stocks often have unstable PEG ratios due to estimation challenges.
-
IBM 2010-2015:
Maintained PEG around 1.2-1.5 while its stock stagnated as growth failed to materialize.
Lesson: PEG only works if the growth actually occurs.
Future of PEG Analysis
Emerging trends in PEG analysis include:
-
AI-Powered Growth Forecasts:
Machine learning models that analyze alternative data (satellite images, credit card transactions) to improve growth estimates.
-
ESG-Adjusted PEG:
Incporating environmental, social, and governance factors that may affect long-term growth sustainability.
-
Real-Time PEG Dashboards:
Excel Power Query connections to market data APIs for live PEG monitoring.
-
Probabilistic PEG:
Monte Carlo simulations in Excel that show PEG distributions rather than single-point estimates.
As Excel continues to evolve with features like dynamic arrays and LAMBDA functions, PEG analysis will become more sophisticated and accessible to individual investors.