vs

Side-by-side financial comparison of Cognizant (CTSH) and Hershey Company (The) (HSY). Click either name above to swap in a different company.

Cognizant is the larger business by last-quarter revenue ($5.3B vs $3.1B, roughly 1.7× Hershey Company (The)). Cognizant runs the higher net margin — 12.2% vs 10.4%, a 1.8% gap on every dollar of revenue. On growth, Hershey Company (The) posted the faster year-over-year revenue change (7.0% vs 4.9%). Hershey Company (The) produced more free cash flow last quarter ($788.5M vs $781.0M). Over the past eight quarters, Cognizant's revenue compounded faster (5.8% CAGR vs -2.5%).

Cognizant Technology Solutions Corporation is an American multinational information technology consulting and outsourcing company originally founded in India. It is headquartered in Teaneck, New Jersey, United States. Cognizant is part of the NASDAQ-100 and trades under CTSH. It was founded in Chennai, India, as an in-house technology unit of Dun & Bradstreet in 1994, and started serving external clients in 1996.

The Hershey Company, often called just Hershey or Hershey's, is an American multinational confectionery company headquartered in Hershey, Pennsylvania, which is also home to Hersheypark and Hershey's Chocolate World. The Hershey Company is one of the largest chocolate manufacturers in the world; it also manufactures baked products, such as cookies and cakes, and sells beverages like milkshakes, as well as other products. The Hershey Company was founded by Milton S. Hershey in 1894 as the Hers...

CTSH vs HSY — Head-to-Head

Bigger by revenue
CTSH
CTSH
1.7× larger
CTSH
$5.3B
$3.1B
HSY
Growing faster (revenue YoY)
HSY
HSY
+2.1% gap
HSY
7.0%
4.9%
CTSH
Higher net margin
CTSH
CTSH
1.8% more per $
CTSH
12.2%
10.4%
HSY
More free cash flow
HSY
HSY
$7.5M more FCF
HSY
$788.5M
$781.0M
CTSH
Faster 2-yr revenue CAGR
CTSH
CTSH
Annualised
CTSH
5.8%
-2.5%
HSY

Income Statement — Q4 FY2025 vs Q4 FY2025

Metric
CTSH
CTSH
HSY
HSY
Revenue
$5.3B
$3.1B
Net Profit
$648.0M
$320.0M
Gross Margin
37.0%
Operating Margin
16.0%
14.4%
Net Margin
12.2%
10.4%
Revenue YoY
4.9%
7.0%
Net Profit YoY
18.7%
-59.8%
EPS (diluted)
$1.35

Green = leading value per metric. Periods may differ when fiscal calendars don't align.

8-Quarter Revenue & Profit Trend

Side-by-side quarterly history. Quarters aligned by calendar period so offset fiscal years line up.

Revenue
CTSH
CTSH
HSY
HSY
Q4 25
$5.3B
$3.1B
Q3 25
$5.4B
$3.2B
Q2 25
$5.2B
$2.6B
Q1 25
$5.1B
$2.8B
Q4 24
$5.1B
$2.9B
Q3 24
$5.0B
$3.0B
Q2 24
$4.8B
$2.1B
Q1 24
$4.8B
$3.3B
Net Profit
CTSH
CTSH
HSY
HSY
Q4 25
$648.0M
$320.0M
Q3 25
$274.0M
$276.3M
Q2 25
$645.0M
$62.7M
Q1 25
$663.0M
$224.2M
Q4 24
$546.0M
$796.6M
Q3 24
$582.0M
$446.3M
Q2 24
$566.0M
$180.9M
Q1 24
$546.0M
$797.5M
Gross Margin
CTSH
CTSH
HSY
HSY
Q4 25
37.0%
Q3 25
32.6%
Q2 25
30.5%
Q1 25
33.7%
Q4 24
54.0%
Q3 24
41.3%
Q2 24
40.2%
Q1 24
51.5%
Operating Margin
CTSH
CTSH
HSY
HSY
Q4 25
16.0%
14.4%
Q3 25
16.0%
13.7%
Q2 25
15.6%
7.4%
Q1 25
16.7%
13.2%
Q4 24
14.8%
32.5%
Q3 24
14.6%
20.5%
Q2 24
14.6%
13.9%
Q1 24
14.6%
32.5%
Net Margin
CTSH
CTSH
HSY
HSY
Q4 25
12.2%
10.4%
Q3 25
5.1%
8.7%
Q2 25
12.3%
2.4%
Q1 25
13.0%
8.0%
Q4 24
10.7%
27.6%
Q3 24
11.5%
14.9%
Q2 24
11.7%
8.7%
Q1 24
11.5%
24.5%
EPS (diluted)
CTSH
CTSH
HSY
HSY
Q4 25
$1.35
Q3 25
$0.56
Q2 25
$1.31
Q1 25
$1.34
Q4 24
$1.10
Q3 24
$1.17
Q2 24
$1.14
Q1 24
$1.10

Balance Sheet & Financial Strength

Snapshot of each company's liquidity, leverage and book value from the latest quarter.

Metric
CTSH
CTSH
HSY
HSY
Cash + ST InvestmentsLiquidity on hand
$1.9B
Total DebtLower is stronger
$4.7B
Stockholders' EquityBook value
$15.0B
$4.6B
Total Assets
$20.7B
$13.7B
Debt / EquityLower = less leverage
1.01×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CTSH
CTSH
HSY
HSY
Q4 25
$1.9B
Q3 25
$2.4B
Q2 25
$1.8B
Q1 25
$2.0B
Q4 24
$2.2B
Q3 24
$2.0B
Q2 24
$2.2B
Q1 24
$2.2B
Total Debt
CTSH
CTSH
HSY
HSY
Q4 25
$4.7B
Q3 25
$4.7B
Q2 25
$5.2B
Q1 25
$5.2B
Q4 24
$3.2B
Q3 24
$3.2B
Q2 24
$3.5B
Q1 24
$3.8B
Stockholders' Equity
CTSH
CTSH
HSY
HSY
Q4 25
$15.0B
$4.6B
Q3 25
$14.9B
$4.6B
Q2 25
$15.3B
$4.5B
Q1 25
$14.9B
$4.7B
Q4 24
$14.4B
$4.7B
Q3 24
$14.5B
$4.2B
Q2 24
$13.9B
$4.0B
Q1 24
$13.5B
$4.1B
Total Assets
CTSH
CTSH
HSY
HSY
Q4 25
$20.7B
$13.7B
Q3 25
$20.1B
$13.6B
Q2 25
$20.2B
$13.6B
Q1 25
$20.0B
$14.0B
Q4 24
$20.0B
$12.9B
Q3 24
$20.2B
$12.6B
Q2 24
$18.6B
$12.4B
Q1 24
$18.4B
$12.4B
Debt / Equity
CTSH
CTSH
HSY
HSY
Q4 25
1.01×
Q3 25
1.02×
Q2 25
1.15×
Q1 25
1.11×
Q4 24
0.68×
Q3 24
0.76×
Q2 24
0.87×
Q1 24
0.92×

Cash Flow & Capital Efficiency

How much cash each business actually produces after reinvestment. Cash flow is harder to manipulate than net income.

Metric
CTSH
CTSH
HSY
HSY
Operating Cash FlowLast quarter
$858.0M
$926.6M
Free Cash FlowOCF − Capex
$781.0M
$788.5M
FCF MarginFCF / Revenue
14.6%
25.5%
Capex IntensityCapex / Revenue
1.4%
4.5%
Cash ConversionOCF / Net Profit
1.32×
2.90×
TTM Free Cash FlowTrailing 4 quarters
$2.6B
$1.8B

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CTSH
CTSH
HSY
HSY
Q4 25
$858.0M
$926.6M
Q3 25
$1.2B
$841.9M
Q2 25
$398.0M
$112.2M
Q1 25
$400.0M
$396.7M
Q4 24
$920.0M
$941.6M
Q3 24
$847.0M
$695.3M
Q2 24
$262.0M
$325.6M
Q1 24
$95.0M
$569.1M
Free Cash Flow
CTSH
CTSH
HSY
HSY
Q4 25
$781.0M
$788.5M
Q3 25
$1.2B
$756.0M
Q2 25
$331.0M
$27.1M
Q1 25
$323.0M
$251.2M
Q4 24
$837.0M
$807.1M
Q3 24
$791.0M
$567.3M
Q2 24
$183.0M
$195.5M
Q1 24
$16.0M
$355.8M
FCF Margin
CTSH
CTSH
HSY
HSY
Q4 25
14.6%
25.5%
Q3 25
21.4%
23.8%
Q2 25
6.3%
1.0%
Q1 25
6.3%
9.0%
Q4 24
16.5%
28.0%
Q3 24
15.7%
19.0%
Q2 24
3.8%
9.4%
Q1 24
0.3%
10.9%
Capex Intensity
CTSH
CTSH
HSY
HSY
Q4 25
1.4%
4.5%
Q3 25
1.2%
2.7%
Q2 25
1.3%
3.3%
Q1 25
1.5%
5.2%
Q4 24
1.6%
4.7%
Q3 24
1.1%
4.3%
Q2 24
1.6%
6.3%
Q1 24
1.7%
6.6%
Cash Conversion
CTSH
CTSH
HSY
HSY
Q4 25
1.32×
2.90×
Q3 25
4.48×
3.05×
Q2 25
0.62×
1.79×
Q1 25
0.60×
1.77×
Q4 24
1.68×
1.18×
Q3 24
1.46×
1.56×
Q2 24
0.46×
1.80×
Q1 24
0.17×
0.71×

Financial Flow Comparison

Revenue → gross profit → operating profit → net profit for each company.

Revenue Breakdown by Segment

CTSH
CTSH

Health Sciences$1.4B25%
Financial Services$1.1B21%
Consulting And Technology Services$944.0M18%
Productsand Resources$921.0M17%
Outsourcing Services$677.0M13%
Transaction Or Volume Based$308.0M6%

HSY
HSY

Other$1.8B59%
North America Salty Snacks Segment$1.3B41%

Related Comparisons