vs

Side-by-side financial comparison of Mastech Digital, Inc. (MHH) and SOUTHERN FIRST BANCSHARES INC (SFST). Click either name above to swap in a different company.

Mastech Digital, Inc. is the larger business by last-quarter revenue ($45.5M vs $31.8M, roughly 1.4× SOUTHERN FIRST BANCSHARES INC). On growth, SOUTHERN FIRST BANCSHARES INC posted the faster year-over-year revenue change (26.1% vs -10.4%). SOUTHERN FIRST BANCSHARES INC produced more free cash flow last quarter ($29.9M vs $4.3M). Over the past eight quarters, SOUTHERN FIRST BANCSHARES INC's revenue compounded faster (22.2% 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.

First Community Bankshares, Inc. is a $2.43 billion bank holding company and the parent company of First Community Bank of Bluefield, Virginia, in the United States. As of 2012 First Community Bank had 45 locations in Virginia, West Virginia, and North Carolina, and two locations operating as Peoples Community Bank in Tennessee. As of April 21, 2023, First Community had $3.6 billion in assets.

MHH vs SFST — Head-to-Head

Bigger by revenue
MHH
MHH
1.4× larger
MHH
$45.5M
$31.8M
SFST
Growing faster (revenue YoY)
SFST
SFST
+36.6% gap
SFST
26.1%
-10.4%
MHH
More free cash flow
SFST
SFST
$25.5M more FCF
SFST
$29.9M
$4.3M
MHH
Faster 2-yr revenue CAGR
SFST
SFST
Annualised
SFST
22.2%
-1.5%
MHH

Income Statement — Q4 FY2025 vs Q4 FY2025

Metric
MHH
MHH
SFST
SFST
Revenue
$45.5M
$31.8M
Net Profit
$972.0K
Gross Margin
28.3%
Operating Margin
2.2%
40.1%
Net Margin
2.1%
Revenue YoY
-10.4%
26.1%
Net Profit YoY
227.3%
EPS (diluted)
$0.08
$1.19

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.

Revenue
MHH
MHH
SFST
SFST
Q4 25
$45.5M
$31.8M
Q3 25
$48.5M
$31.1M
Q2 25
$49.1M
$28.6M
Q1 25
$48.3M
$26.5M
Q4 24
$50.7M
$25.2M
Q3 24
$51.8M
$23.8M
Q2 24
$49.5M
$23.1M
Q1 24
$46.8M
$21.3M
Net Profit
MHH
MHH
SFST
SFST
Q4 25
$972.0K
Q3 25
$941.0K
$8.7M
Q2 25
$135.0K
$6.6M
Q1 25
$-1.4M
$5.3M
Q4 24
$297.0K
Q3 24
$1.9M
$4.4M
Q2 24
$1.4M
$3.0M
Q1 24
$-161.0K
$2.5M
Gross Margin
MHH
MHH
SFST
SFST
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%
Operating Margin
MHH
MHH
SFST
SFST
Q4 25
2.2%
40.1%
Q3 25
1.7%
36.4%
Q2 25
0.1%
30.0%
Q1 25
-3.8%
26.1%
Q4 24
0.1%
27.3%
Q3 24
4.7%
24.1%
Q2 24
3.4%
17.0%
Q1 24
-0.9%
15.9%
Net Margin
MHH
MHH
SFST
SFST
Q4 25
2.1%
Q3 25
1.9%
27.8%
Q2 25
0.3%
23.0%
Q1 25
-3.0%
19.9%
Q4 24
0.6%
Q3 24
3.6%
18.4%
Q2 24
2.8%
13.0%
Q1 24
-0.3%
11.8%
EPS (diluted)
MHH
MHH
SFST
SFST
Q4 25
$0.08
$1.19
Q3 25
$0.08
$1.07
Q2 25
$0.01
$0.81
Q1 25
$-0.12
$0.65
Q4 24
$0.01
$0.69
Q3 24
$0.16
$0.54
Q2 24
$0.12
$0.37
Q1 24
$-0.01
$0.31

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
MHH
MHH
SFST
SFST
Cash + ST InvestmentsLiquidity on hand
$36.5M
Total DebtLower is stronger
Stockholders' EquityBook value
$89.3M
$368.7M
Total Assets
$111.8M
$4.4B
Debt / EquityLower = less leverage

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
MHH
MHH
SFST
SFST
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
Stockholders' Equity
MHH
MHH
SFST
SFST
Q4 25
$89.3M
$368.7M
Q3 25
$88.0M
$356.3M
Q2 25
$87.8M
$345.5M
Q1 25
$86.9M
$337.6M
Q4 24
$87.4M
$330.4M
Q3 24
$86.5M
$326.5M
Q2 24
$84.0M
$318.7M
Q1 24
$81.7M
$315.3M
Total Assets
MHH
MHH
SFST
SFST
Q4 25
$111.8M
$4.4B
Q3 25
$112.6M
$4.4B
Q2 25
$110.4M
$4.3B
Q1 25
$110.1M
$4.3B
Q4 24
$111.5M
$4.1B
Q3 24
$111.5M
$4.2B
Q2 24
$107.5M
$4.1B
Q1 24
$106.1M
$4.1B

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
MHH
MHH
SFST
SFST
Operating Cash FlowLast quarter
$4.4M
$30.5M
Free Cash FlowOCF − Capex
$4.3M
$29.9M
FCF MarginFCF / Revenue
9.5%
93.8%
Capex IntensityCapex / Revenue
0.1%
1.8%
Cash ConversionOCF / Net Profit
4.48×
TTM Free Cash FlowTrailing 4 quarters
$10.8M
$62.1M

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
MHH
MHH
SFST
SFST
Q4 25
$4.4M
$30.5M
Q3 25
$6.5M
$14.5M
Q2 25
$3.3M
$10.5M
Q1 25
$-3.0M
$7.6M
Q4 24
$4.0M
$25.6M
Q3 24
$3.3M
$26.3M
Q2 24
$1.2M
$4.0M
Q1 24
$-1.3M
$-2.9M
Free Cash Flow
MHH
MHH
SFST
SFST
Q4 25
$4.3M
$29.9M
Q3 25
$6.3M
$14.4M
Q2 25
$3.2M
$10.4M
Q1 25
$-3.1M
$7.4M
Q4 24
$3.9M
$24.8M
Q3 24
$3.2M
$26.1M
Q2 24
$707.0K
$3.9M
Q1 24
$-1.6M
$-3.2M
FCF Margin
MHH
MHH
SFST
SFST
Q4 25
9.5%
93.8%
Q3 25
13.0%
46.3%
Q2 25
6.6%
36.3%
Q1 25
-6.4%
28.1%
Q4 24
7.7%
98.2%
Q3 24
6.2%
110.0%
Q2 24
1.4%
16.8%
Q1 24
-3.4%
-15.0%
Capex Intensity
MHH
MHH
SFST
SFST
Q4 25
0.1%
1.8%
Q3 25
0.4%
0.3%
Q2 25
0.1%
0.3%
Q1 25
0.2%
0.5%
Q4 24
0.2%
3.1%
Q3 24
0.1%
0.8%
Q2 24
1.0%
0.4%
Q1 24
0.6%
1.3%
Cash Conversion
MHH
MHH
SFST
SFST
Q4 25
4.48×
Q3 25
6.88×
1.67×
Q2 25
24.41×
1.59×
Q1 25
1.44×
Q4 24
13.60×
Q3 24
1.76×
6.01×
Q2 24
0.85×
1.32×
Q1 24
-1.16×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

MHH
MHH

IT Staffing Services$37.6M83%
Data And Analytics Services$7.8M17%

SFST
SFST

Segment breakdown not available.

Related Comparisons