vs

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

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

CSX Transportation, known colloquially as simply CSX, is a Class I freight railroad company operating in the Eastern United States and the Canadian provinces of Ontario and Quebec. Operating about 21,000 route miles (34,000 km) of track, it is the leading subsidiary of CSX Corporation, a Fortune 500 company headquartered in Jacksonville, Florida.

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...

CSX vs HSY — Head-to-Head

Bigger by revenue
CSX
CSX
1.1× larger
CSX
$3.5B
$3.1B
HSY
Growing faster (revenue YoY)
HSY
HSY
+5.3% gap
HSY
7.0%
1.7%
CSX
Higher net margin
CSX
CSX
12.8% more per $
CSX
23.2%
10.4%
HSY
More free cash flow
CSX
CSX
$4.5M more FCF
CSX
$793.0M
$788.5M
HSY
Faster 2-yr revenue CAGR
HSY
HSY
Annualised
HSY
-2.5%
-3.0%
CSX

Income Statement — Q1 FY2026 vs Q4 FY2025

Metric
CSX
CSX
HSY
HSY
Revenue
$3.5B
$3.1B
Net Profit
$807.0M
$320.0M
Gross Margin
37.0%
Operating Margin
29.9%
14.4%
Net Margin
23.2%
10.4%
Revenue YoY
1.7%
7.0%
Net Profit YoY
401.2%
-59.8%
EPS (diluted)

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
CSX
CSX
HSY
HSY
Q1 26
$3.5B
Q4 25
$3.5B
$3.1B
Q3 25
$3.6B
$3.2B
Q2 25
$3.6B
$2.6B
Q1 25
$3.4B
$2.8B
Q4 24
$3.5B
$2.9B
Q3 24
$3.6B
$3.0B
Q2 24
$3.7B
$2.1B
Net Profit
CSX
CSX
HSY
HSY
Q1 26
$807.0M
Q4 25
$720.0M
$320.0M
Q3 25
$694.0M
$276.3M
Q2 25
$829.0M
$62.7M
Q1 25
$646.0M
$224.2M
Q4 24
$720.0M
$796.6M
Q3 24
$894.0M
$446.3M
Q2 24
$963.0M
$180.9M
Gross Margin
CSX
CSX
HSY
HSY
Q1 26
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%
Operating Margin
CSX
CSX
HSY
HSY
Q1 26
29.9%
Q4 25
31.6%
14.4%
Q3 25
30.3%
13.7%
Q2 25
35.9%
7.4%
Q1 25
30.4%
13.2%
Q4 24
30.8%
32.5%
Q3 24
37.4%
20.5%
Q2 24
39.1%
13.9%
Net Margin
CSX
CSX
HSY
HSY
Q1 26
23.2%
Q4 25
20.5%
10.4%
Q3 25
19.3%
8.7%
Q2 25
23.2%
2.4%
Q1 25
18.9%
8.0%
Q4 24
20.3%
27.6%
Q3 24
24.7%
14.9%
Q2 24
26.0%
8.7%
EPS (diluted)
CSX
CSX
HSY
HSY
Q1 26
Q4 25
$0.39
Q3 25
$0.37
Q2 25
$0.44
Q1 25
$0.34
Q4 24
$0.38
Q3 24
$0.46
Q2 24
$0.49

Balance Sheet & Financial Strength

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

Metric
CSX
CSX
HSY
HSY
Cash + ST InvestmentsLiquidity on hand
$1.1B
Total DebtLower is stronger
$18.9B
$4.7B
Stockholders' EquityBook value
$13.6B
$4.6B
Total Assets
$44.2B
$13.7B
Debt / EquityLower = less leverage
1.39×
1.01×

8-quarter trend — quarters aligned by calendar period.

Cash + ST Investments
CSX
CSX
HSY
HSY
Q1 26
$1.1B
Q4 25
$5.0M
Q3 25
$6.0M
Q2 25
$6.0M
Q1 25
$8.0M
Q4 24
$72.0M
Q3 24
$12.0M
Q2 24
$4.0M
Total Debt
CSX
CSX
HSY
HSY
Q1 26
$18.9B
Q4 25
$18.2B
$4.7B
Q3 25
$18.6B
$4.7B
Q2 25
$18.6B
$5.2B
Q1 25
$18.5B
$5.2B
Q4 24
$17.9B
$3.2B
Q3 24
$18.5B
$3.2B
Q2 24
$18.0B
$3.5B
Stockholders' Equity
CSX
CSX
HSY
HSY
Q1 26
$13.6B
Q4 25
$13.2B
$4.6B
Q3 25
$12.8B
$4.6B
Q2 25
$12.4B
$4.5B
Q1 25
$12.2B
$4.7B
Q4 24
$12.5B
$4.7B
Q3 24
$12.9B
$4.2B
Q2 24
$12.6B
$4.0B
Total Assets
CSX
CSX
HSY
HSY
Q1 26
$44.2B
Q4 25
$43.7B
$13.7B
Q3 25
$43.3B
$13.6B
Q2 25
$42.9B
$13.6B
Q1 25
$43.2B
$14.0B
Q4 24
$42.8B
$12.9B
Q3 24
$43.1B
$12.6B
Q2 24
$42.4B
$12.4B
Debt / Equity
CSX
CSX
HSY
HSY
Q1 26
1.39×
Q4 25
1.38×
1.01×
Q3 25
1.45×
1.02×
Q2 25
1.50×
1.15×
Q1 25
1.52×
1.11×
Q4 24
1.43×
0.68×
Q3 24
1.43×
0.76×
Q2 24
1.42×
0.87×

Cash Flow & Capital Efficiency

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

Metric
CSX
CSX
HSY
HSY
Operating Cash FlowLast quarter
$1.3B
$926.6M
Free Cash FlowOCF − Capex
$793.0M
$788.5M
FCF MarginFCF / Revenue
22.8%
25.5%
Capex IntensityCapex / Revenue
4.5%
Cash ConversionOCF / Net Profit
1.58×
2.90×
TTM Free Cash FlowTrailing 4 quarters
$2.0B
$1.8B

8-quarter trend — quarters aligned by calendar period.

Operating Cash Flow
CSX
CSX
HSY
HSY
Q1 26
$1.3B
Q4 25
$1.4B
$926.6M
Q3 25
$1.3B
$841.9M
Q2 25
$635.0M
$112.2M
Q1 25
$1.3B
$396.7M
Q4 24
$1.4B
$941.6M
Q3 24
$1.7B
$695.3M
Q2 24
$1.1B
$325.6M
Free Cash Flow
CSX
CSX
HSY
HSY
Q1 26
$793.0M
Q4 25
$709.0M
$788.5M
Q3 25
$607.0M
$756.0M
Q2 25
$-141.0M
$27.1M
Q1 25
$536.0M
$251.2M
Q4 24
$550.0M
$807.1M
Q3 24
$1.1B
$567.3M
Q2 24
$547.0M
$195.5M
FCF Margin
CSX
CSX
HSY
HSY
Q1 26
22.8%
Q4 25
20.2%
25.5%
Q3 25
16.9%
23.8%
Q2 25
-3.9%
1.0%
Q1 25
15.7%
9.0%
Q4 24
15.5%
28.0%
Q3 24
29.3%
19.0%
Q2 24
14.8%
9.4%
Capex Intensity
CSX
CSX
HSY
HSY
Q1 26
Q4 25
19.3%
4.5%
Q3 25
20.4%
2.7%
Q2 25
21.7%
3.3%
Q1 25
21.0%
5.2%
Q4 24
23.7%
4.7%
Q3 24
17.3%
4.3%
Q2 24
14.6%
6.3%
Cash Conversion
CSX
CSX
HSY
HSY
Q1 26
1.58×
Q4 25
1.93×
2.90×
Q3 25
1.93×
3.05×
Q2 25
0.77×
1.79×
Q1 25
1.94×
1.77×
Q4 24
1.93×
1.18×
Q3 24
1.89×
1.56×
Q2 24
1.13×
1.80×

Financial Flow Comparison

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

Revenue Breakdown by Segment

CSX
CSX

Segment breakdown not available.

HSY
HSY

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

Related Comparisons