W.W. Grainger, Inc. (GWW) vs Ubiquiti Inc. (UI)
A side-by-side comparison of W.W. Grainger, Inc. and Ubiquiti Inc. across valuation, profitability, dividends, and growth — built entirely from reported fundamentals, as of July 28, 2026. Differences are shown without an overall score or investment verdict.
Different business models: GWW is classified in Industrials; UI is classified in Technology. Margin, capital intensity, and valuation differences should be interpreted in that sector context.
GWW
W.W. Grainger, Inc.
$1,398.90IndustrialsDelayed quote: Jul 28, 2026, 4:00 PM EDT
UI
Ubiquiti Inc.
$534.72TechnologyDelayed quote: Jul 28, 2026, 4:00 PM EDT
Total return — GWW vs UI
growth of $100 · dividends reinvested · last 15yGWW +981.6%UI +3282.1%UI compounded faster
GWW UI
GWW vs UI: by the numbers
- •GWW is the larger company ($66.05B vs $32.36B market cap).
- •UI trades at the lower trailing earnings multiple (34.68 vs 37.61 P/E), one valuation lens rather than an overall verdict.
- •UI converts more revenue to profit (30.43% vs 9.70% net margin).
- •UI grew revenue faster over the past five years (12.27% vs 9.12% CAGR).
- •GWW pays the higher dividend yield (0.66% vs 0.59%).
Metrics side by side
Valuation
| Metric | GWW | UI |
|---|---|---|
| P/E ratio | 37.61 | 34.68 |
| Forward P/E | 30.63 | 35.38 |
| P/S ratio | 3.61 | 10.56 |
| P/B ratio | 16.87 | 27.19 |
| PEG ratio | 1.69 | 0.34 |
| EV / EBITDA | 23.82 | 28.78 |
| FCF yield | 2.08% | 2.29% |
Profitability
| Metric | GWW | UI |
|---|---|---|
| Gross margin | 39.15% | 46.02% |
| Operating margin | 14.23% | 35.75% |
| Net margin | 9.70% | 30.43% |
| ROE | 45.34% | 78.37% |
| ROIC | 27.73% | 72.62% |
Dividends
| Metric | GWW | UI |
|---|---|---|
| Dividend yield | 0.66% | 0.59% |
| Payout ratio | 26.13% | 27.19% |
Growth (annualized)
| Metric | GWW | UI |
|---|---|---|
| Revenue CAGR (5Y) | 9.12% | 12.27% |
| EPS CAGR (5Y) | 22.25% | 15.17% |
| FCF CAGR (5Y) | 7.67% | 6.21% |
| Total return CAGR (5Y) | 26.59% | 13.32% |
Frequently asked
- Which has the lower trailing P/E, GWW or UI?
- UI has the lower trailing P/E: GWW trades at 37.61 and UI at 34.68. P/E is one valuation measure and does not by itself establish which business is cheaper.
- Which has grown faster, GWW or UI?
- Over the past five years, UI grew revenue faster — GWW at a 9.12% CAGR versus UI at 12.27%.
- Does GWW or UI pay a bigger dividend?
- GWW yields 0.66% and UI yields 0.59% based on trailing dividends and the latest price.
- Is GWW or UI more profitable?
- UI runs the higher net margin — GWW at 9.70% versus UI at 30.43%.
- How have GWW and UI total returns compared?
- Over the past 10 years, GWW delivered 22.17% and UI delivered 29.42% annualized total return. Past performance doesn't predict future results.
Go deeper
Dig into the metrics
W.W. Grainger P/E ratioUbiquiti P/E ratioW.W. Grainger dividend yieldUbiquiti dividend yieldW.W. Grainger ROEUbiquiti ROEW.W. Grainger operating marginUbiquiti operating marginW.W. Grainger revenue growthUbiquiti revenue growthW.W. Grainger free cash flowUbiquiti free cash flow
W.W. Grainger & Ubiquiti appear in these rankings
Figures are sourced from reported fundamentals and the latest end-of-day price. This comparison is informational only and is not investment advice. Past performance does not predict future results. See our methodology. Compiled by TGMCharts Research · data verified July 28, 2026.