GIB vs. MDB: CGI vs. MongoDB Stock Comparison
How do CGI (GIB) and MongoDB (MDB) stack up? This page sets them side by side across company profile, performance and risk, profitability, growth, financial strength, dividends, and valuation, with selected fundamentals also measured against each stock's industry-group peers.
Company Profile
CGI (GIB) and MongoDB (MDB) both belong to the IT Services industry, though GIB is classified under IT Consulting & Other Services while MDB falls under Internet Services & Infrastructure.
| Profile Item | GIB | MDB |
|---|---|---|
| Name | CGI Inc. | MongoDB, Inc. Class A Common Stock |
| Country/Region | Canada | United States |
| GICS Sector | Information Technology | Information Technology |
| GICS Industry Group | Software & Services | Software & Services |
| GICS Industry | IT Services | IT Services |
| GICS Sub-Industry | IT Consulting & Other Services | Internet Services & Infrastructure |
| Market Capitalization | 17.25 billion USD | 25.16 billion USD |
| Currency | USD | USD |
| Exchange | NYSE | Nasdaq |
| Listing Date | October 7, 1998 | October 19, 2017 |
| Security Type | Common Stock | Common Stock |
Price Performance
Cumulative Growth
Trailing Returns
Calendar-Year Returns
Performance Metrics
| Metric | GIB | MDB |
|---|---|---|
| Total Return (1Y) | -3.23% | -8.99% |
| Total Return (3Y, Annualized) | -5.58% | -3.47% |
| Total Return (5Y, Annualized) | -1.91% | -10.64% |
Risk Profile
Drawdown History
Return Distribution
Risk Metrics
MongoDB (MDB) has an aggressive beta of 1.75, indicating higher sensitivity to broad-market moves, while CGI (GIB) is defensive at 0.40 and tends to be less market-sensitive — they sit on opposite ends of the beta spectrum.
| Metric | GIB | MDB |
|---|---|---|
| Volatility (1Y, Annualized) | 31.53% | 73.14% |
| Beta (5Y) | 0.40 | 1.75 |
| Max Drawdown (5Y) | -49.61% | -76.52% |
| Avg. Volume (3M) | 400.74K | 2.17M |
Risk-Adjusted Performance
Risk-Return Positioning
Risk-Adjusted Metrics
| Metric | GIB | MDB |
|---|---|---|
| Sharpe Ratio (1Y) | -0.24 | -0.18 |
| Sortino Ratio (1Y) | -0.31 | -0.26 |
Profitability
ROE (TTM)
Both CGI (GIB) at 17.03% and MongoDB (MDB) at 1.99% land near their industries’ usual ROE ranges, so capital efficiency looks broadly in line with peers on both sides.
GIB
Software & Services industry group
17.03%
- Max
- 53.85%
- Q3
- 17.90%
- GIB
- 17.03%
- Median
- 6.59%
- Q1
- -9.59%
- Min
- -50.52%
MDB
Software & Services industry group
1.99%
- Max
- 53.85%
- Q3
- 17.90%
- Median
- 6.59%
- MDB
- 1.99%
- Q1
- -9.59%
- Min
- -50.52%
Net Margin (TTM)
Both CGI (GIB) at 10.54% and MongoDB (MDB) at 2.12% keep about the typical share of revenue as profit for their industries — neither bottom line stands out from peers.
GIB
Software & Services industry group
10.54%
- Max
- 41.17%
- Q3
- 15.28%
- GIB
- 10.54%
- Median
- 4.63%
- Q1
- -5.42%
- Min
- -33.17%
MDB
Software & Services industry group
2.12%
- Max
- 41.17%
- Q3
- 15.28%
- Median
- 4.63%
- MDB
- 2.12%
- Q1
- -5.42%
- Min
- -33.17%
Operating Margin (TTM)
Both CGI (GIB) at 16.22% and MongoDB (MDB) at 3.68% run core operations about as efficiently as their industries’ norm — neither stands out on operating profitability.
GIB
Software & Services industry group
16.22%
- Max
- 46.89%
- Q3
- 17.64%
- GIB
- 16.22%
- Median
- 8.73%
- Q1
- -2.13%
- Min
- -30.45%
MDB
Software & Services industry group
3.68%
- Max
- 46.89%
- Q3
- 17.64%
- Median
- 8.73%
- MDB
- 3.68%
- Q1
- -2.13%
- Min
- -30.45%
Profitability Metrics
| Metric | GIB | MDB |
|---|---|---|
| ROE (TTM) | 17.03% | 1.99% |
| ROA (TTM) | 8.69% | -0.22% |
| Net Margin (TTM) | 10.54% | 2.12% |
| Operating Margin (TTM) | 16.22% | 3.68% |
| Gross Margin (TTM) | 20.43% | 72.69% |
Growth
Revenue Growth
Both CGI (GIB) at 8.43% and MongoDB (MDB) at 22.79% land near their industries' usual revenue growth ranges, so top-line momentum looks broadly in line with peers on both sides.
EPS Growth
Only one side can be read here: CGI (GIB) reports EPS growth of 0.55%, ranked against its industry; MongoDB (MDB) has no EPS growth figure this period.
Growth Metrics
| Metric | GIB | MDB |
|---|---|---|
| Revenue Growth (YoY) | 8.43% | 22.79% |
| Revenue Growth (3Y CAGR) | 7.34% | 24.26% |
| EPS Growth (YoY) | 0.55% | -- |
| EPS Growth (3Y CAGR) | 6.76% | -- |
Financial Strength
Current Ratio (MRQ)
MongoDB (MDB) at 4.87 carries current ratio above its industry’s typical mid-range, while CGI (GIB) at 0.94 runs in the tighter-liquidity quartile — different working-capital profiles, both worth examining.
GIB
Software & Services industry group
0.94
- Max
- 5.11
- Q3
- 2.77
- Median
- 1.67
- Q1
- 1.01
- GIB
- 0.94
- Min
- 0.03
MDB
Software & Services industry group
4.87
- Max
- 5.11
- MDB
- 4.87
- Q3
- 2.77
- Median
- 1.67
- Q1
- 1.01
- Min
- 0.03
Debt / Equity (MRQ)
MongoDB (MDB) at 0.02 keeps leverage in the lower industry quartile, while CGI (GIB) at 0.44 runs a more typical debt-to-equity mix.
GIB
Software & Services industry group
0.44
- Max
- 2.52
- Q3
- 1.13
- GIB
- 0.44
- Median
- 0.40
- Q1
- 0.07
- Min
- 0.00
MDB
Software & Services industry group
0.02
- Max
- 2.52
- Q3
- 1.13
- Median
- 0.40
- Q1
- 0.07
- MDB
- 0.02
- Min
- 0.00
Financial Strength Metrics
| Metric | GIB | MDB |
|---|---|---|
| Current Ratio (MRQ) | 0.94 | 4.87 |
| Debt / Equity (MRQ) | 0.44 | 0.02 |
| Net Debt / EBITDA | 1.31 | -170.08 |
Dividends
Dividend Yield (TTM)
MongoDB (MDB) pays no dividend (yield 0.00%) — it may be reinvesting, using buybacks, or simply not returning cash through dividends. Meanwhile CGI (GIB) reports a yield of 0.80%, ranking against industry peers normally.
GIB
Software & Services industry group
0.80%
- GIB
- 0.80%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
MDB
Software & Services industry group
0.00%
- MDB
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
Dividend Payout Ratio (TTM)
MongoDB (MDB) pays no dividend (payout 0.00%) — it may be reinvesting, using buybacks, or simply not returning cash through dividends. Meanwhile CGI (GIB) reports a payout of 8.20%, ranking against industry peers normally.
GIB
Software & Services industry group
8.20%
- GIB
- 8.20%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
MDB
Software & Services industry group
0.00%
- MDB
- 0.00%
- Max
- 0.00%
- Q3
- 0.00%
- Median
- 0.00%
- Q1
- 0.00%
- Min
- 0.00%
Dividend Metrics
| Metric | GIB | MDB |
|---|---|---|
| Dividend Yield (TTM) | 0.80% | 0.00% |
| Dividend Payout Ratio (TTM) | 8.20% | 0.00% |
Valuation
P/E Ratio (TTM)
CGI (GIB) at 14.31 sits in the cheaper P/E ratio quartile, while MongoDB (MDB) at 434.49 trades above its peer range — a wide earnings-valuation gap relative to industry peers.
GIB
Software & Services industry group
14.31
- Max
- 112.94
- Q3
- 60.32
- Median
- 32.91
- Q1
- 18.77
- GIB
- 14.31
- Min
- 6.69
MDB
Software & Services industry group
434.49
- MDB
- 434.49
- Max
- 112.94
- Q3
- 60.32
- Median
- 32.91
- Q1
- 18.77
- Min
- 6.69
P/S Ratio (TTM)
CGI (GIB) at 1.05 looks cheap on sales in the lower P/S ratio quartile, while MongoDB (MDB) at 9.04 looks rich in the upper quartile — a clear gap in price per dollar of revenue.
GIB
Software & Services industry group
1.05
- Max
- 17.91
- Q3
- 8.78
- Median
- 4.25
- Q1
- 2.23
- GIB
- 1.05
- Min
- 0.02
MDB
Software & Services industry group
9.04
- Max
- 17.91
- MDB
- 9.04
- Q3
- 8.78
- Median
- 4.25
- Q1
- 2.23
- Min
- 0.02
P/B Ratio (MRQ)
On P/B ratio, both CGI (GIB) at 2.37 and MongoDB (MDB) at 8.46 are valued close to their industries’ norm against book — neither stands out from peers.
GIB
Software & Services industry group
2.37
- Max
- 16.63
- Q3
- 8.50
- Median
- 4.30
- GIB
- 2.37
- Q1
- 1.92
- Min
- -3.90
MDB
Software & Services industry group
8.46
- Max
- 16.63
- Q3
- 8.50
- MDB
- 8.46
- Median
- 4.30
- Q1
- 1.92
- Min
- -3.90
Valuation Metrics
| Metric | GIB | MDB |
|---|---|---|
| P/E Ratio (TTM) | 14.31 | 434.49 |
| P/S Ratio (TTM) | 1.05 | 9.04 |
| P/B Ratio (MRQ) | 2.37 | 8.46 |
| Free Cash Flow Yield (TTM) | 12.68% | 2.23% |