New: our quarterly report on the S&P 500, read from 500 companies’ own filings and calls. Read the Q3 2026 report

BGSF, Inc. (BGSF) vs Mastech Digital, Inc (MHH)

BGSF, Inc. and Mastech Digital, Inc are both Staffing & Employment Services companies. Mastech Digital, Inc is the larger, with a market value of $71.5M against $39.1M — 1.8× the size. BGSF, Inc. has negative trailing earnings, so its P/E is not meaningful; Mastech Digital, Inc trades at 64.0×. BGSF, Inc. grew revenue faster over the last twelve months: −5.48% against −13.6%. Mastech Digital, Inc has the higher net margin (0.67% vs −2.35%) and the higher return on invested capital (0.85% vs −10.4%). Across the 18 metrics below, Mastech Digital, Inc leads on 14 and BGSF, Inc. on 4.

Valuation

Metric BGSF MHH Staffing & Employment Services median
P/E n/m 64.02 24.16
P/S 0.41 0.41 0.27
P/B 0.80 0.75 1.18
Price to free cash flow 32.31 12.21 18.05
EV/EBITDA n/m 6.97 10.12
EV/Sales 0.21 0.19 0.23
Earnings yield (5.41%) 1.56% 0.16%
Free cash flow yield 3.09% 8.19% 0.92%

Profitability

Metric BGSF MHH Staffing & Employment Services median
Gross margin 35.54% 28.21% 25.01%
Operating margin (5.26%) 0.44% 0.29%
Net margin (2.35%) 0.67% 0.04%
Free cash flow margin 1.27% 3.36% 0.63%
Return on equity (4.37%) 1.27% 4.58%
Return on assets (3.09%) 1.02% 0.14%
Return on invested capital (10.43%) 0.85% 0.63%

Growth

Metric BGSF MHH Staffing & Employment Services median
Revenue growth (TTM) (5.48%) (13.57%) (2.94%)
EPS growth (last fiscal year) (235.48%) (82.14%) (21.61%)
Revenue growth, 5-year CAGR (14.74%) (0.28%) 1.03%
Net income growth, 5-year CAGR — (42.70%) (9.08%)

Health

Metric BGSF MHH Staffing & Employment Services median
Debt to equity 0.00 0.00 0.06
Current ratio 5.06 4.27 1.74
Net debt to EBITDA 3.00 (9.32) (0.08)

Dividend

Metric BGSF MHH Staffing & Employment Services median
Dividend yield 0.00% — 2.55%
Payout ratio — — 0.51

Size

Metric BGSF MHH Staffing & Employment Services median
Market cap 39.13m 71.45m 420.30m

Compare with another peer

Any metric, up to five companies and an Excel export Powerpack