$6.17
Value $73M
MHH and UNP stock compared: price, dividend, valuation and results, from SEC filings.
$6.17
Value $73M
$290.63
Value $172B
Mastech Digital (MHH) has a market value of $73M and Union Pacific (UNP) $172B. Over the last year, with dividends, MHH moved -11.0% and UNP +34.4%. The P/E is 64.0 for MHH and 22.6 for UNP. Dividend yield: MHH none, UNP 1.91%.
The main figures of both. A bar only shows which number is larger, not which is better.
Market value
MHH$73M
UNP$172B
UNP is 2,357 times MHH
Revenue, 12 months
MHH$170M
UNP$26.4B
UNP is 155 times MHH
Net income, 12 months
MHH$1.1M
UNP$7.6B
UNP is 6,665 times MHH
Operating margin
MHH0.4%
UNP40.1%
39.7 points apart
ROIC
MHH0.7%
UNP16.1%
15.4 points apart
P/E
MHH64.0
UNP22.6
MHH is 2.8 times UNP
Dividend yield
MHH0.0%
UNP1.9%
1.9 points apart
5-year return
MHH-67.5%
UNP+35.3%
102.8 points apart
A fainter bar means a negative number. The 5-year return includes dividends.
Both start at 100 at the beginning of the period, so the lines show how much each changed. With dividends means each dividend buys more shares.
MHH-67.5%
UNP+35.3%
| Period | MHHWith dividends | UNPWith dividends |
|---|---|---|
| 1 year since November 18, 2025 | -11.0%Price -11.0% | +34.4%Price +31.6% |
| 3 years since November 17, 2023 | -25.7%-9.4% a yearPrice -25.7% | +41.6%+12.3% a yearPrice +32.6% |
| 5 years since November 18, 2021 | -67.5%-20.1% a yearPrice -67.5% | +35.3%+6.2% a yearPrice +21.0% |
| 10 years since November 21, 2016 | +83.1%+6.2% a yearPrice +83.1% | +258.9%+13.6% a yearPrice +188.5% |
Each cell: the total return with dividends, its yearly rate, and the price change alone. Before taxes and costs. Past returns do not predict future ones.
As on each company's page. A description, not a recommendation: no one figure says which is better.
MHHMastech DigitalUNPUnion Pacific
| Price | $6.17 | $290.63 |
|---|---|---|
| Market value | $73M | $172B |
| Enterprise value (EV) | $35M | $201B |
| P/E | 64.0 | 22.6 |
| P/E, 5-year median | 16.7 | 20.6 |
| P/B | 0.8 | 7.8 |
| EV/EBIT | 47.2 | 19.0 |
| Free cash flow yield | 7.8% | 3.9% |
| Revenue, 12 months | $170M | $26.4B |
|---|---|---|
| Net income, 12 months | $1.1M | $7.6B |
| Free cash flow, 12 months | $5.7M | $6.7B |
| Earnings per share, 12 months | $0.09 | $12.83 |
| Revenue growth, year on year | -3.8% | 1.1% |
| Revenue growth a year, past | -2.9%over 5 years | +4.6%over 5 years |
| EPS growth a year, past | -43.0%over 5 years | +8.7%over 5 years |
| Gross margin | 28.2% | – |
|---|---|---|
| Operating margin | 0.4% | 40.1% |
| Net margin | 0.7% | 28.9% |
| ROIC | 0.7% | 16.1% |
| ROE | 1.3% | 38.9% |
| Cash | $38M | $2.2B |
|---|---|---|
| Total debt | $2.8M | $31.1B |
| Net debt / EBITDA | -9.3 | 2.2 |
| Interest cover | – | 8.3× |
| Dividend yield | – | 1.9% |
|---|---|---|
| Dividend per share, 12 months | – | $5.56 |
| Dividend growth a year, past | – | +7.0%over 5 years |
| Buyback yield | 3.1% | 1.6% |
| Shareholder yield | 3.1% | 3.5% |
Last 12 months from the latest 10-Q and 10-K. Value, P/E and yields at today's price. A dash means the figure does not exist or did not pass our checks.
By market value, Union Pacific ($172B) is about 2,357.1 times Mastech Digital ($73M), at today's prices.
Since November 21, 2016, MHH's price moved +83.1% and UNP's +188.5%. With dividends: MHH +83.1% (+6.2% a year), UNP +258.9% (+13.6% a year). Past returns do not predict future ones.
The dividend yield at today's price is none for Mastech Digital and 1.91% for Union Pacific. Over the last twelve months they paid – and $5.56 per share.
At today's price, the P/E is 64.0 for MHH and 22.6 for UNP. The median of the last five years was 16.7 and 20.6, which shows where each stands against its own past.
Over the last twelve months, the net margin was 0.7% for Mastech Digital and 28.9% for Union Pacific, and the operating margin 0.4% and 40.1%. Revenue was $170M and $26.4B.
The page does not answer that and does not suggest buying or selling. It puts the two companies' numbers side by side, from their SEC filings, for you to read and form your own view. The decision depends on your goals and situation.
With each of the two, and with the largest in its sector.
The other pages on US stocks, free to read. On the company pages, the last three fiscal years are open to everyone, five with a free account, and every year with Ploutos Investor.
Descriptive data from SEC filings and market prices.