vs

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

AMERISAFE INC is the larger business by last-quarter revenue ($80.1M vs $45.5M, roughly 1.8× Mastech Digital, Inc.). AMERISAFE INC runs the higher net margin — 10.2% vs 2.1%, a 8.0% gap on every dollar of revenue. On growth, AMERISAFE INC posted the faster year-over-year revenue change (10.3% vs -10.4%). Over the past eight quarters, AMERISAFE INC's revenue compounded faster (2.8% CAGR vs -1.5%).

AMERISAFE Inc. is a specialty insurance provider that focuses exclusively on workers' compensation coverage for small and mid-sized businesses in high-hazard industries including construction, logging, trucking, and manufacturing. It operates across 49 U.S. states, offering tailored insurance policies paired with targeted risk management support for clients.

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.

AMSF vs MHH — Head-to-Head

Bigger by revenue
AMSF
AMSF
1.8× larger
AMSF
$80.1M
$45.5M
MHH
Growing faster (revenue YoY)
AMSF
AMSF
+20.7% gap
AMSF
10.3%
-10.4%
MHH
Higher net margin
AMSF
AMSF
8.0% more per $
AMSF
10.2%
2.1%
MHH
Faster 2-yr revenue CAGR
AMSF
AMSF
Annualised
AMSF
2.8%
-1.5%
MHH

Income Statement — Q1 FY2026 vs Q4 FY2025

Metric
AMSF
AMSF
MHH
MHH
Revenue
$80.1M
$45.5M
Net Profit
$8.1M
$972.0K
Gross Margin
28.3%
Operating Margin
2.2%
Net Margin
10.2%
2.1%
Revenue YoY
10.3%
-10.4%
Net Profit YoY
-9.0%
227.3%
EPS (diluted)
$0.43
$0.08

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
AMSF
AMSF
MHH
MHH
Q1 26
$80.1M
Q4 25
$81.6M
$45.5M
Q3 25
$82.0M
$48.5M
Q2 25
$81.1M
$49.1M
Q1 25
$72.6M
$48.3M
Q4 24
$74.0M
$50.7M
Q3 24
$78.7M
$51.8M
Q2 24
$75.8M
$49.5M
Net Profit
AMSF
AMSF
MHH
MHH
Q1 26
$8.1M
Q4 25
$10.4M
$972.0K
Q3 25
$13.8M
$941.0K
Q2 25
$14.0M
$135.0K
Q1 25
$8.9M
$-1.4M
Q4 24
$13.2M
$297.0K
Q3 24
$14.3M
$1.9M
Q2 24
$11.0M
$1.4M
Gross Margin
AMSF
AMSF
MHH
MHH
Q1 26
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%
Operating Margin
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
15.6%
2.2%
Q3 25
21.3%
1.7%
Q2 25
21.5%
0.1%
Q1 25
15.5%
-3.8%
Q4 24
22.7%
0.1%
Q3 24
22.6%
4.7%
Q2 24
18.1%
3.4%
Net Margin
AMSF
AMSF
MHH
MHH
Q1 26
10.2%
Q4 25
12.8%
2.1%
Q3 25
16.9%
1.9%
Q2 25
17.2%
0.3%
Q1 25
12.3%
-3.0%
Q4 24
17.8%
0.6%
Q3 24
18.2%
3.6%
Q2 24
14.5%
2.8%
EPS (diluted)
AMSF
AMSF
MHH
MHH
Q1 26
$0.43
Q4 25
$0.55
$0.08
Q3 25
$0.72
$0.08
Q2 25
$0.73
$0.01
Q1 25
$0.47
$-0.12
Q4 24
$0.69
$0.01
Q3 24
$0.75
$0.16
Q2 24
$0.57
$0.12

Balance Sheet & Financial Strength

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

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

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
AMSF
AMSF
MHH
MHH
Q1 26
$34.2M
Q4 25
$61.9M
$36.5M
Q3 25
$54.7M
$32.7M
Q2 25
$48.5M
$27.9M
Q1 25
$44.8M
$24.7M
Q4 24
$44.1M
$27.7M
Q3 24
$63.7M
$23.9M
Q2 24
$30.6M
$20.6M
Stockholders' Equity
AMSF
AMSF
MHH
MHH
Q1 26
$246.6M
Q4 25
$251.6M
$89.3M
Q3 25
$274.8M
$88.0M
Q2 25
$265.6M
$87.8M
Q1 25
$260.8M
$86.9M
Q4 24
$257.3M
$87.4M
Q3 24
$314.4M
$86.5M
Q2 24
$301.0M
$84.0M
Total Assets
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
$1.1B
$111.8M
Q3 25
$1.2B
$112.6M
Q2 25
$1.2B
$110.4M
Q1 25
$1.2B
$110.1M
Q4 24
$1.2B
$111.5M
Q3 24
$1.3B
$111.5M
Q2 24
$1.2B
$107.5M

Cash Flow & Capital Efficiency

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

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

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
$11.1M
$4.4M
Q3 25
$10.7M
$6.5M
Q2 25
$-8.4M
$3.3M
Q1 25
$-1.8M
$-3.0M
Q4 24
$24.2M
$4.0M
Q3 24
$8.4M
$3.3M
Q2 24
$-2.6M
$1.2M
Free Cash Flow
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
$8.9M
$4.3M
Q3 25
$9.8M
$6.3M
Q2 25
$-9.5M
$3.2M
Q1 25
$-1.8M
$-3.1M
Q4 24
$23.4M
$3.9M
Q3 24
$8.4M
$3.2M
Q2 24
$-2.6M
$707.0K
FCF Margin
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
10.9%
9.5%
Q3 25
11.9%
13.0%
Q2 25
-11.7%
6.6%
Q1 25
-2.5%
-6.4%
Q4 24
31.5%
7.7%
Q3 24
10.7%
6.2%
Q2 24
-3.5%
1.4%
Capex Intensity
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
2.6%
0.1%
Q3 25
1.1%
0.4%
Q2 25
1.3%
0.1%
Q1 25
0.0%
0.2%
Q4 24
1.1%
0.2%
Q3 24
0.0%
0.1%
Q2 24
0.1%
1.0%
Cash Conversion
AMSF
AMSF
MHH
MHH
Q1 26
Q4 25
1.06×
4.48×
Q3 25
0.77×
6.88×
Q2 25
-0.61×
24.41×
Q1 25
-0.20×
Q4 24
1.83×
13.60×
Q3 24
0.59×
1.76×
Q2 24
-0.24×
0.85×

Financial Flow Comparison

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

Revenue Breakdown by Segment

AMSF
AMSF

Segment breakdown not available.

MHH
MHH

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

Related Comparisons