vs
Side-by-side financial comparison of Mastech Digital, Inc. (MHH) and MID PENN BANCORP INC (MPB). Click either name above to swap in a different company.
MID PENN BANCORP INC is the larger business by last-quarter revenue ($62.0M vs $45.5M, roughly 1.4× Mastech Digital, Inc.). MID PENN BANCORP INC runs the higher net margin — 31.4% vs 2.1%, a 29.2% gap on every dollar of revenue. On growth, MID PENN BANCORP INC posted the faster year-over-year revenue change (30.8% vs -10.4%). MID PENN BANCORP INC produced more free cash flow last quarter ($71.8M vs $4.3M). Over the past eight quarters, MID PENN BANCORP INC's revenue compounded faster (21.1% CAGR vs -1.5%).
Mastech Digital, Inc. is a digital transformation and information technology (IT) services company headquartered in Pittsburgh, Pennsylvania, providing services to corporations across North America, Middle East, Asian, and Japan.
Commerce Bancorp was a Cherry Hill, New Jersey–based bank created in 1973. In 2007, it was purchased by Toronto-Dominion Bank, which merged Commerce into TD Banknorth, the latter of which was rebranded to TD Bank.
MHH vs MPB — Head-to-Head
Income Statement — Q4 FY2025 vs Q4 FY2025
| Metric | ||
|---|---|---|
| Revenue | $45.5M | $62.0M |
| Net Profit | $972.0K | $19.4M |
| Gross Margin | 28.3% | — |
| Operating Margin | 2.2% | 43.6% |
| Net Margin | 2.1% | 31.4% |
| Revenue YoY | -10.4% | 30.8% |
| Net Profit YoY | 227.3% | 47.0% |
| EPS (diluted) | $0.08 | $0.83 |
Green = leading value per metric. Periods may differ when fiscal calendars don't align.
8-Quarter Revenue & Profit Trend
Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.
| Q4 25 | $45.5M | $62.0M | ||
| Q3 25 | $48.5M | $61.8M | ||
| Q2 25 | $49.1M | $54.3M | ||
| Q1 25 | $48.3M | $47.7M | ||
| Q4 24 | $50.7M | $47.4M | ||
| Q3 24 | $51.8M | $45.3M | ||
| Q2 24 | $49.5M | $44.1M | ||
| Q1 24 | $46.8M | $42.3M |
| Q4 25 | $972.0K | $19.4M | ||
| Q3 25 | $941.0K | $18.3M | ||
| Q2 25 | $135.0K | $4.8M | ||
| Q1 25 | $-1.4M | $13.7M | ||
| Q4 24 | $297.0K | $13.2M | ||
| Q3 24 | $1.9M | $12.3M | ||
| Q2 24 | $1.4M | $11.8M | ||
| Q1 24 | $-161.0K | $12.1M |
| Q4 25 | 28.3% | — | ||
| Q3 25 | 27.8% | — | ||
| Q2 25 | 28.1% | — | ||
| Q1 25 | 26.7% | — | ||
| Q4 24 | 29.0% | — | ||
| Q3 24 | 28.5% | — | ||
| Q2 24 | 28.2% | — | ||
| Q1 24 | 25.9% | — |
| Q4 25 | 2.2% | 43.6% | ||
| Q3 25 | 1.7% | 39.3% | ||
| Q2 25 | 0.1% | 7.9% | ||
| Q1 25 | -3.8% | 35.2% | ||
| Q4 24 | 0.1% | 34.1% | ||
| Q3 24 | 4.7% | 32.8% | ||
| Q2 24 | 3.4% | 32.4% | ||
| Q1 24 | -0.9% | 34.8% |
| Q4 25 | 2.1% | 31.4% | ||
| Q3 25 | 1.9% | 29.6% | ||
| Q2 25 | 0.3% | 8.8% | ||
| Q1 25 | -3.0% | 28.8% | ||
| Q4 24 | 0.6% | 27.9% | ||
| Q3 24 | 3.6% | 27.1% | ||
| Q2 24 | 2.8% | 26.7% | ||
| Q1 24 | -0.3% | 28.7% |
| Q4 25 | $0.08 | $0.83 | ||
| Q3 25 | $0.08 | $0.79 | ||
| Q2 25 | $0.01 | $0.22 | ||
| Q1 25 | $-0.12 | $0.71 | ||
| Q4 24 | $0.01 | $0.72 | ||
| Q3 24 | $0.16 | $0.74 | ||
| Q2 24 | $0.12 | $0.71 | ||
| Q1 24 | $-0.01 | $0.73 |
Balance Sheet & Financial Strength
Snapshot of each company's liquidity, leverage and book value from the latest quarter.
| Metric | ||
|---|---|---|
| Cash + ST InvestmentsLiquidity on hand | $36.5M | — |
| Total DebtLower is stronger | — | — |
| Stockholders' EquityBook value | $89.3M | $814.1M |
| Total Assets | $111.8M | $6.1B |
| Debt / EquityLower = less leverage | — | — |
8-quarter trend — quarters aligned by calendar period.
| Q4 25 | $36.5M | — | ||
| Q3 25 | $32.7M | — | ||
| Q2 25 | $27.9M | — | ||
| Q1 25 | $24.7M | — | ||
| Q4 24 | $27.7M | — | ||
| Q3 24 | $23.9M | — | ||
| Q2 24 | $20.6M | — | ||
| Q1 24 | $19.4M | — |
| Q4 25 | $89.3M | $814.1M | ||
| Q3 25 | $88.0M | $796.3M | ||
| Q2 25 | $87.8M | $775.7M | ||
| Q1 25 | $86.9M | $667.9M | ||
| Q4 24 | $87.4M | $655.0M | ||
| Q3 24 | $86.5M | $573.1M | ||
| Q2 24 | $84.0M | $559.7M | ||
| Q1 24 | $81.7M | $551.0M |
| Q4 25 | $111.8M | $6.1B | ||
| Q3 25 | $112.6M | $6.3B | ||
| Q2 25 | $110.4M | $6.4B | ||
| Q1 25 | $110.1M | $5.5B | ||
| Q4 24 | $111.5M | $5.5B | ||
| Q3 24 | $111.5M | $5.5B | ||
| Q2 24 | $107.5M | $5.4B | ||
| Q1 24 | $106.1M | $5.3B |
Cash Flow & Capital Efficiency
How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.
| Metric | ||
|---|---|---|
| Operating Cash FlowLast quarter | $4.4M | $80.0M |
| Free Cash FlowOCF − Capex | $4.3M | $71.8M |
| FCF MarginFCF / Revenue | 9.5% | 115.8% |
| Capex IntensityCapex / Revenue | 0.1% | 13.3% |
| Cash ConversionOCF / Net Profit | 4.48× | 4.12× |
| TTM Free Cash FlowTrailing 4 quarters | $10.8M | $132.1M |
8-quarter trend — quarters aligned by calendar period.
| Q4 25 | $4.4M | $80.0M | ||
| Q3 25 | $6.5M | $26.3M | ||
| Q2 25 | $3.3M | $29.0M | ||
| Q1 25 | $-3.0M | $11.5M | ||
| Q4 24 | $4.0M | $51.4M | ||
| Q3 24 | $3.3M | $16.9M | ||
| Q2 24 | $1.2M | $18.0M | ||
| Q1 24 | $-1.3M | $12.4M |
| Q4 25 | $4.3M | $71.8M | ||
| Q3 25 | $6.3M | $24.3M | ||
| Q2 25 | $3.2M | $27.2M | ||
| Q1 25 | $-3.1M | $8.8M | ||
| Q4 24 | $3.9M | $44.5M | ||
| Q3 24 | $3.2M | $16.8M | ||
| Q2 24 | $707.0K | $17.7M | ||
| Q1 24 | $-1.6M | $12.1M |
| Q4 25 | 9.5% | 115.8% | ||
| Q3 25 | 13.0% | 39.4% | ||
| Q2 25 | 6.6% | 50.1% | ||
| Q1 25 | -6.4% | 18.4% | ||
| Q4 24 | 7.7% | 93.8% | ||
| Q3 24 | 6.2% | 37.1% | ||
| Q2 24 | 1.4% | 40.2% | ||
| Q1 24 | -3.4% | 28.5% |
| Q4 25 | 0.1% | 13.3% | ||
| Q3 25 | 0.4% | 3.1% | ||
| Q2 25 | 0.1% | 3.2% | ||
| Q1 25 | 0.2% | 5.7% | ||
| Q4 24 | 0.2% | 14.6% | ||
| Q3 24 | 0.1% | 0.0% | ||
| Q2 24 | 1.0% | 0.7% | ||
| Q1 24 | 0.6% | 0.8% |
| Q4 25 | 4.48× | 4.12× | ||
| Q3 25 | 6.88× | 1.44× | ||
| Q2 25 | 24.41× | 6.08× | ||
| Q1 25 | — | 0.84× | ||
| Q4 24 | 13.60× | 3.88× | ||
| Q3 24 | 1.76× | 1.37× | ||
| Q2 24 | 0.85× | 1.53× | ||
| Q1 24 | — | 1.02× |
Financial Flow Comparison
Revenue → gross profit → operating profit → net profit for each company.
Revenue Breakdown by Segment
MHH
| IT Staffing Services | $37.6M | 83% |
| Data And Analytics Services | $7.8M | 17% |
MPB
Segment breakdown not available.