Arista Networks, Inc. (ANET) vs MongoDB, Inc. (MDB)

A side-by-side comparison of Arista Networks, Inc. and MongoDB, 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.

Compare

Total returnANET vs MDB

growth of $100 · dividends reinvested · last 9y
ANET +1333.8%MDB +865.7%ANET compounded faster
05001k2kStart $1002019202120232025$1,434$966
ANET MDB

ANET vs MDB: by the numbers

  • ANET is the larger company ($213.69B vs $24.98B market cap).
  • ANET is profitable (38.32% net margin) while MDB runs a net loss (-1.12%).
  • MDB grew revenue faster over the past five years (32.32% vs 31.58% CAGR).

Metrics side by side

Valuation

MetricANETMDB
P/E ratio58.48N/A
Forward P/E46.9264.31
P/S ratio22.409.71
P/B ratio16.138.61
PEG ratio2.05N/A
EV / EBITDA50.68N/A
FCF yield2.43%2.37%

Profitability

MetricANETMDB
Gross margin63.54%71.97%
Operating margin42.79%-4.16%
Net margin38.32%-1.12%
ROE27.59%-0.99%
ROIC22.64%-4.42%

Growth (annualized)

MetricANETMDB
Revenue CAGR (5Y)31.58%32.32%
EPS CAGR (5Y)39.94%N/A
FCF CAGR (5Y)46.68%N/A
Total return CAGR (5Y)48.81%-2.99%

Frequently asked

Which has grown faster, ANET or MDB?
Over the past five years, MDB grew revenue faster — ANET at a 31.58% CAGR versus MDB at 32.32%.
Is ANET or MDB more profitable?
ANET runs the higher net margin — ANET at 38.32% versus MDB at -1.12%.
How have ANET and MDB total returns compared?
Over the past 5 years, ANET delivered 44.12% and MDB delivered -2.99% annualized total return. Past performance doesn't predict future results.

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.