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.

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.

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.

Wondering where to invest $1,000 right now?

When investing expert Scott Phillips has a stock tip, it can pay to listen. After all, the flagship Motley Fool Share Advisor newsletter he has run for over ten years has provided thousands of paying members with stock picks that have doubled, tripled or even more.*

Scott just revealed what he believes could be the 'five best ASX stocks' for investors to buy right now. We believe these stocks are trading at attractive prices and Scott thinks they could be great buys right now…

* Returns as of 6 March 2025

5 things to watch on the ASX 200 on Monday

I analysed the top dividend-paying shares in the ASX 20. 2 were streets ahead of the rest

5 things to watch on the ASX 200 on Friday

3 ASX 200 shares I'd buy at today's prices, and 2 I'd wait to buy

5 things to watch on the ASX 200 on Thursday

Motley Fool contributor Grace Alvino has no position in any of the stocks mentioned. The Motley Fool Australia’s parent company Motley Fool Holdings Inc. has no position in any of the stocks mentioned. The Motley Fool Australia has no position in any of the stocks mentioned. The Motley Fool has a disclosure policy . This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.