Fortescue Ltd (ASX: FMG) and Woodside Energy Group Ltd (ASX: WDS) shares are two popular choices among Australian investors looking for exposure to commodities and dividend income.
And if I could only buy one at today's prices, which would I choose? Here's my view.

Image source: Getty Images
The case for Fortescue shares
Fortescue shares are trading around $13.51 on Monday, which could look tempting for investors hoping for a recovery in iron ore prices.
However, I'm a little cautious about the company's near-term earnings outlook, especially with uncertainty surrounding Chinese demand and ongoing negotiations over iron ore sales.
According to the latest consensus forecasts, Fortescue is expected to generate earnings per share (EPS) of $1.06 in both FY27 and FY28.
That's disappointing when compared with its FY26 underlying EPS of $1.66.
Dividends are also expected to fall. After paying $1.08 per share in FY26, analysts expect fully-franked dividends of approximately 68.5 cents in FY27 and 68.3 cents in FY28.
Nevertheless, at the current share price, the FY27 forecast still represents a respectable dividend yield of approximately 5.1%.
The case for Woodside shares
Woodside shares have also experienced weakness recently, trading around $29.77 today. However, I think there's a more positive earnings story developing here.
According to consensus estimates, Woodside is expected to generate EPS of $2.77 in FY26, increasing to $3.47 in FY27.
At its current share price, that puts Woodside on a price-to-earnings (P/E) ratio of approximately 10.7 times forecast FY26 earnings and just 8.6 times FY27 earnings.
This compares to a forward P/E ratio of approximately 12.7 times for Fortescue shares.
Analysts also forecast dividends increasing from $2.19 per share in FY26 to $2.74 per share in FY27. That represents forecast dividend yields of approximately 7.4% and 9.2%, respectively.
I think those numbers make Woodside look good value.
However, I'm conscious that the oil price outlook remains uncertain. The International Energy Agency recently warned that global oil markets could move into surplus as production recovers faster than demand.
Meanwhile, the ongoing conflict in the Middle East creates further uncertainty around supply and prices. I'd therefore take the FY27 earnings forecasts with a slight pinch of salt.
Nevertheless, Woodside has another reason for optimism. Its Scarborough Energy Project is approaching completion, with first LNG production expected before the end of 2026.
Further ahead, its Trion and Louisiana LNG projects are targeting first production in 2028 and 2029. I think these investments could support higher production and earnings over the coming years.
Foolish takeaway
If I could only choose one of these ASX shares for 2027, I would buy Woodside shares.
Both companies face unpredictable commodity markets, but I prefer Woodside's combination of valuation, dividend potential, and approaching production growth.
And while falling oil prices could create further volatility for Woodside, I think its valuation offers a reasonable starting point for investors willing to take a longer-term view.