Mastech Digital, Inc. (MHH) P/E Ratio History
Historical price-to-earnings valuation from 2008 to 2025
Loading P/E history...
MHH Valuation Context
How does the current P/E compare to historical and market benchmarks?
P/E Ratio Analysis
As of May 6, 2026, Mastech Digital, Inc. (MHH) trades at a price-to-earnings ratio of 25.4x, with a stock price of $7.11 and trailing twelve-month earnings per share of $-0.01.
The current P/E is roughly in line with its 5-year average of 26.7x. Over the past five years, MHH's P/E has ranged from a low of 5.7x to a high of 94.7x, placing the current valuation at the 75th percentile of its historical range.
Compared to the Industrials sector median P/E of 25.9x, MHH is roughly in line with its sector peers. The sector includes 415 companies with P/E ratios ranging from 0.0x to 185.4x.
Relative to the broader market, MHH trades roughly in line with the S&P 500 median P/E of 25.2x. Investors should consider the company's growth prospects, competitive position, and earnings quality when evaluating whether the current valuation is justified.
For a comprehensive intrinsic value estimate using discounted cash flow analysis, see our MHH DCF Valuation Calculator →
Note: P/E ratio is just one valuation metric. It does not account for balance sheet strength, cash flow quality, or growth sustainability. Always conduct comprehensive due diligence before making investment decisions.
MHH P/E vs Peers
P/E ratio compared to closely matched public peers
| Company | Market Cap | P/E Ratio | PEG Ratio | EPS Growth (1Y) |
|---|---|---|---|---|
| $769M | 21.5 | - | -25% | |
| $2B | 20.6 | - | -7% | |
| $1B | 14.9 | 1.29 | -15% | |
| $608M | 18.0 | 2.10 | +88%Best | |
| $2B | 14.2 | - | -26% | |
| $6B | 13.6 | 1.18 | +11% | |
| $2B | 10.9Lowest | 0.52Best | +2% | |
| $5B | 20.1 | 0.83 | +27% | |
| $24B | 11.3 | 0.93 | +1% | |
| $21B | 15.1 | 1.77 | +20% |
Peers sorted by market capitalization. P/E below peers may indicate undervaluation or lower growth expectations. Consider PEG ratio for growth-adjusted comparison.
MHH Historical P/E Data (2008–2025)
Quarterly P/E ratios calculated from closing price and TTM EPS
| Quarter | Date | Price | TTM EPS | P/E Ratio | vs Avg |
|---|---|---|---|---|---|
| FY2025 Q2 | Mon Jun 30 2025 00:00:00 GM | $7.17 | $0.08 | 94.7x | +422% |
| FY2025 Q1 | Mon Mar 31 2025 00:00:00 GM | $10.21 | $0.18 | 55.4x | +205% |
| FY2024 Q4 | $14.90 | $0.29 | 51.3x | +183% | |
| FY2023 Q2 | Fri Jun 30 2023 00:00:00 GM | $9.88 | $0.16 | 61.1x | +237% |
| FY2023 Q1 | Fri Mar 31 2023 00:00:00 GM | $12.32 | $0.55 | 22.3x | +23% |
| FY2022 Q4 | Sat Dec 31 2022 00:00:00 GM | $11.01 | $0.72 | 15.3x | -16% |
| FY2022 Q3 | Fri Sep 30 2022 00:00:00 GM | $14.77 | $0.91 | 16.2x | -11% |
| FY2022 Q2 | $14.86 | $0.99 | 15.0x | -17% | |
| FY2022 Q1 | $18.49 | $1.10 | 16.8x | -7% | |
| FY2021 Q4 | Fri Dec 31 2021 00:00:00 GM | $17.07 | $1.01 | 16.9x | -7% |
| FY2021 Q3 | $17.01 | $0.86 | 19.8x | +9% | |
| FY2021 Q2 | Wed Jun 30 2021 00:00:00 GM | $14.95 | $0.83 | 18.0x | -1% |
Average P/E for displayed period: 18.2x
See MHH's True Return
Price is only half the story. See total return with reinvested dividends.
Launch CalculatorIs MHH Undervalued?
DCF intrinsic value, peer multiples, and analyst estimates — see what the stock is really worth.
View ValuationCompare MHH vs SPIR
Side-by-side business, growth, and profitability comparison vs Spire Global, Inc..
Start ComparisonMHH — Frequently Asked Questions
Quick answers to the most common questions about buying MHH stock.
Is MHH stock overvalued or undervalued?
MHH trades at 25.4x P/E, near its 5-year average of 26.7x. The 75th percentile ranking places valuation within normal historical bounds.
How does MHH's valuation compare to peers?
Mastech Digital, Inc. P/E of 25.4x compares to sector median of 25.9x. The discount suggests lower growth expectations or higher risk.
What is MHH's PEG ratio?
MHH PEG ratio is N/A. Above 2.0 indicates premium valuation relative to growth rate. Historical P/E data spans 2008-2025.