Mastech Digital (MHH) Gross Margin (2010 - 2026)
Mastech Digital (MHH) reported Gross Margin of 28.95% for Q2 2026, up 0.80 percentage points from 28.15% a year earlier and up 2.11 percentage points from the prior quarter.
Mastech Digital (MHH) Gross Margin (2010 - 2026) Analysis & Trends
Over the twelve months ended Jun 30, 2026, Mastech Digital's Gross Margin came in at 27.97%, down 0.13 percentage points year-over-year; for FY2025, it was 27.72%, down 0.22 percentage points from FY2024.
- Gross Margin has a five-year change of +1.17 percentage points (FY2020 to FY2025).
- By year, Gross Margin came in at 27.95% in FY2024 (+2.57 pp), 25.38% in FY2023 (-0.70 pp), 26.08% in FY2022 (-0.69 pp) and 26.78% in FY2021 (+0.22 pp).
- The Q2 2026 figure ranks as the highest quarterly Gross Margin since Q4 2024.
- Year over year, Gross Margin gained in five of the last eight quarters, with an average year-over-year change of +0.85 percentage points.
- The high point for year-over-year Gross Margin in five years was Q4 2024 (a gain of 4.36 percentage points); the low point was Q1 2023 (a drop of 2.18 percentage points).
- Per Business Quant data, the three quarters before Q2 2026 came in at 26.84% (Q1 2026), 28.34% (Q4 2025) and 27.76% (Q3 2025).
Peer Comparison
| # | Company | Market Cap | Enterprise Value | Gross Profit (Qtr) | Gross Margin (Qtr) |
|---|---|---|---|---|---|
| 1 | Infosys | 43.52 Bn | 43.57 Bn | 1.60 Bn | 31.48% |
| 2 | Cognizant Technology Solutions | 25.96 Bn | 19.13 Bn | 1.83 Bn | 33.37% |
| 3 | Td Synnex | 20.53 Bn | 14.56 Bn | 1.34 Bn | 6.84% |
| 4 | Cdw | 16.06 Bn | 14.05 Bn | 1.32 Bn | 20.08% |
| 5 | Cgi | 15.14 Bn | 12.92 Bn | - | - |
| 6 | Arrow Electronics | 11.55 Bn | 10.58 Bn | 1.13 Bn | 11.26% |
| 7 | Avnet | 8.20 Bn | 7.38 Bn | 865.03 Mn | 10.43% |
| 8 | Ingram Micro Holding | 6.32 Bn | 1.92 Bn | 958.68 Mn | 6.60% |
| 9 | EPAM Systems | 5.59 Bn | 1.23 Bn | 429.57 Mn | 30.36% |
| 10 | Mastech Digital | 86.25 Mn | -52.18 Mn | 12.00 Mn | 28.95% |
Historic Data
| Date | Value |
|---|---|
| Jun 30, 2026 | 28.95% |
| Mar 31, 2026 | 26.84% |
| Dec 31, 2025 | 28.34% |
| Sep 30, 2025 | 27.76% |
| Jun 30, 2025 | 28.15% |
| Mar 31, 2025 | 26.68% |
| Dec 31, 2024 | 29.00% |
| Sep 30, 2024 | 28.49% |
| Jun 30, 2024 | 28.22% |
| Mar 31, 2024 | 25.91% |
| Dec 31, 2023 | 24.63% |
| Sep 30, 2023 | 26.30% |
| Jun 30, 2023 | 26.14% |
| Mar 31, 2023 | 24.48% |
| Dec 31, 2022 | 24.85% |
| Sep 30, 2022 | 25.79% |
| Jun 30, 2022 | 26.96% |
| Mar 31, 2022 | 26.66% |
| Dec 31, 2021 | 26.60% |
| Sep 30, 2021 | 27.92% |
Mastech Digital Gross Margin API
Pull this series into your own models, spreadsheets and apps with the Business Quant
Historical Metrics API. The request below matches the chart above — change the
frequency, period or values and it follows. Swap YOUR_API_KEY for your own key.
https://data.businessquant.com/historic?slug=gross-margin&ticker=MHH&period=max&api_key=YOUR_API_KEY
import requests
url = "https://data.businessquant.com/historic"
params = {"slug": "gross-margin", "ticker": "MHH", "period": "max", "api_key": "YOUR_API_KEY"}
data = requests.get(url, params=params).json()
const res = await fetch("https://data.businessquant.com/historic?slug=gross-margin&ticker=MHH&period=max&api_key=YOUR_API_KEY");
const data = await res.json();