Seek Returns

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.

Company profile comparison for CGI (GIB) and MongoDB (MDB)
Profile ItemGIBMDB
NameCGI Inc.MongoDB, Inc. Class A Common Stock
Country/RegionCanadaUnited States
GICS SectorInformation TechnologyInformation Technology
GICS Industry GroupSoftware & ServicesSoftware & Services
GICS IndustryIT ServicesIT Services
GICS Sub-IndustryIT Consulting & Other ServicesInternet Services & Infrastructure
Market Capitalization17.25 billion USD25.16 billion USD
CurrencyUSDUSD
ExchangeNYSENasdaq
Listing DateOctober 7, 1998October 19, 2017
Security TypeCommon StockCommon Stock

Price Performance

Cumulative Growth

GIB
MDB
GSPC
Loading price history…
CGI (GIB) vs. MongoDB (MDB), with S&P 500 (GSPC) for reference: Growth of a $10,000 investment over the past five years. Adjusted for dividends and splits.

Trailing Returns

Loading price history…
Trailing total returns for CGI (GIB) and MongoDB (MDB). Returns over one year are annualized.

Calendar-Year Returns

Loading price history…
Calendar-year total returns for CGI (GIB) and MongoDB (MDB). Each bar is that year's total return, measured year-end to year-end.

Performance Metrics

Price performance metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
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

GIB
MDB
GSPC
Loading price history…
CGI (GIB) vs. MongoDB (MDB), with S&P 500 (GSPC) for reference: Drawdown from the running peak over the past five years. Each line shows the decline from its prior peak; 0% marks a new high.

Return Distribution

Loading price history…
Distribution of monthly total returns for CGI (GIB) and MongoDB (MDB). Each bar is the share of months whose return fell in that 5% bucket.

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.

Risk profile metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
Volatility (1Y, Annualized)31.53%73.14%
Beta (5Y)0.401.75
Max Drawdown (5Y)-49.61%-76.52%
Avg. Volume (3M)400.74K2.17M

Risk-Adjusted Performance

Risk-Return Positioning

Loading chart…
GIB and MDB are plotted by 1-year volatility (risk) and 1-year return. The dashed Capital Allocation Line runs from the risk-free rate through the shared industry median.

Risk-Adjusted Metrics

Risk-adjusted metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
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%
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their ROE against the Software & Services industry group benchmark.

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%
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their net margin against the Software & Services industry group benchmark.

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%
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their operating margin against the Software & Services industry group benchmark.

Profitability Metrics

Profitability metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
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.

Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their Revenue Growth across different time periods.

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.

Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their EPS Growth across different time periods.

Growth Metrics

Growth metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
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
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their current ratio against the Software & Services industry group benchmark.

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
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their debt-to-equity ratio against the Software & Services industry group benchmark.

Financial Strength Metrics

Financial strength metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
Current Ratio (MRQ)0.944.87
Debt / Equity (MRQ)0.440.02
Net Debt / EBITDA1.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%
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their dividend yield against the Software & Services industry group benchmark.

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%
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their payout ratio against the Software & Services industry group benchmark.

Dividend Metrics

Dividend metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
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
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their P/E ratio against the Software & Services industry group benchmark.

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
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their P/S ratio against the Software & Services industry group benchmark.

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
Loading chart…
CGI (GIB) vs. MongoDB (MDB): A comparison of their P/B ratio against the Software & Services industry group benchmark.

Valuation Metrics

Valuation metrics for CGI (GIB) and MongoDB (MDB)
MetricGIBMDB
P/E Ratio (TTM)14.31434.49
P/S Ratio (TTM)1.059.04
P/B Ratio (MRQ)2.378.46
Free Cash Flow Yield (TTM)12.68%2.23%