Codan vs Xero: Which ASX tech stock is the better buy in October?

Here's which ASX tech giant I'd choose in October.

A young investor working on his ASX shares portfolio on his laptop.

Image source: Getty Images

Codan Ltd vs Xero shares: Which tech stock looks better this month?

Sometimes, investors have to choose between two very different tech shares that both sit at the heart of the Aussie market's innovation scene. Codan Ltd (ASX: CDA) and Xero Ltd (ASX: XRO) are two leaders in very different technology niches—one focused on essential communications, mining and defence electronics, the other a cloud-based accounting software platform with global ambitions. Here's how they stack up in October if you're weighing Codan vs Xero shares.

The case for Codan

Codan is a homegrown electronic technology company that's been around for decades but has seen a huge surge in attention lately. Its operations cover advanced communications, gold and metal detection equipment (Minelab), mining technology solutions, and defence electronics. Codan's customer base includes governments, the mining sector and private consumers, and, according to its most recent public description, it draws a significant chunk of its sales from North America. The company is truly global, with manufacturing in Adelaide and Malaysia, and a network of business and engineering sites across several continents.

Several key numbers jump out from Codan's current snapshot. Its market cap sits at $11.75 billion, making it a substantial ASX tech presence. Year to date, its share price has rocketed up 84.6%, which is phenomenal momentum even by tech sector standards. Codan delivers a fully franked dividend, with a current yield of 0.93%—not huge, but backed by a long record of paying and steadily increasing dividends over time (and always fully franked). The P/E ratio is 54.21, and its latest reported earnings per share is $0.959.

The case for Xero

Over in the cloud, Xero has grown from a New Zealand-scale disruptor to a global force in small-business accounting software. The company is all about delivering its platform via monthly subscription, targeting small and medium businesses everywhere. The sticky, recurring nature of this business is a big attraction for fans of 'SaaS' (Software as a Service) models in tech investing.

By the latest figures, Xero's market cap is $9.90 billion—a sizeable company, but a touch smaller than Codan. However, 2026 to date has been rough for Xero; the shares are down 49.4%. Despite a P/E ratio of 49.87 being assigned in the headline metrics, Xero shows a negative earnings per share (-$0.158), which doesn't mathematically match (see the note below). It does not pay a dividend and has no franking. For investors looking for aggressive growth, though, Xero remains a business with a global media profile, a strong market position, and a product that has become mission-critical for thousands of businesses.

Valuation comparison

Let's line up both companies' key numbers:

MetricCodanXero
Market Cap$11.75 billion$9.90 billion
P/E Ratio54.2149.87
Dividend Yield0.93% (fully franked)0.00%
EPS$0.959-$0.158
Year to Date Return84.6%-49.4%

Note: Xero's reported P/E ratio may be based on a different earnings measure (e.g. underlying or forward earnings) than the EPS figure shown, which is why they may appear inconsistent.

Codan trades on a high P/E—but that is similar to Xero's, and both are at the end of the tech sector's usual range. The key difference? Codan is profitable (and growing fast), while Xero currently shows a negative EPS.

Codan provides a modest, fully franked dividend, while Xero pays none.

Price-to-book or other balance sheet valuation metrics weren't available in the data supplied for this article.

Recent share price performance

Comparing recent share price activity up to 29 September:

  • Codan closed at $64.43, soaring almost 24% on the day and up 84.6% for the year to date.
  • Xero finished at $58.04, up 0.57% for the session but down a striking 49.4% for the year to date.

That's as stark a contrast as you'll see. Codan has enjoyed surging investor confidence and some major catalysts in September, while Xero is still in the doghouse for 2026, at least by share price action.

Which is the better buy?

If I had to pick between Codan and Xero, my vote right now goes to Codan. While both are quality tech stories and both trade at punchy multiples, Codan is not just profitable but thriving—and that's reflected in its cracking 84.6% share price surge this year. Xero, meanwhile, remains a fantastic business but is still struggling on the profit front, and its share price has been absolutely hammered in 2026.

Codan's fully franked dividend, even if small, is a cherry on top. Xero's lack of yield and negative EPS add another strike for now. For anyone seeking profitable growth today, my pick would be Codan.

Motley Fool contributor Laura Stewart has no position in any of the stocks mentioned. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Xero. The Motley Fool Australia has positions in and has recommended Xero. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips. This article was prepared with the assistance of Large Language Model (LLM) tools for the initial draft. Any content assisted by AI is subject to our robust human-in-the-loop quality control framework, involving thorough review, substantial editing, and fact-checking by our experienced writers and editors holding appropriate credentials. The Motley Fool Australia stands behind the work of our editorial team and takes ultimate responsibility for the content published by The Motley Fool Australia.

More on Technology Shares

Couple on their laptop in their home kitchen.
Technology Shares

Should I buy WiseTech Global shares in October?

I run through the forecasts to see how attractive the shares really are as we enter a new month.

Read more »

Woman looking at her computer and pondering something.
Technology Shares

Should I buy DroneShield shares after its big US news?

I take a closer look at whether the latest US win strengthens the case for buying the shares.

Read more »

Army man holding a drone while the army woman holds the remote control.
Technology Shares

Could Europe become the next big market for EOS?

EOS is eyeing a bigger European opportunity.

Read more »

Glowing AI text in the middle of a semiconductor chip.
Technology Shares

Megaport shares fly 204% in just 6 months. Can they keep climbing?

The ASX tech shares had a difficult start to the year but have rallied strongly over the past few months.

Read more »

chip and tech stocks represented by two computer chips side by side
Technology Shares

Why is the Appen share price jumping 6% today?

Appen shares are racing higher on Tuesday.

Read more »

Sell written several times on board.
Broker Notes

Sell alert! Why this expert is calling time on Life360 and Xero shares

A leading expert forecasts more losses ahead for Xero and Life360 shares.

Read more »

Man looking at digital holograms of graphs, charts, and data.
Technology Shares

Which ASX tech stock is up more than 30% after revealing a deal with the FBI?

This junior technology company has made a strong start to the year.

Read more »

A silhouette of a soldier flying a drone at sunset.
Technology Shares

This ASX tech company just surged past the $10 billion valuation mark after a major profit upgrade

Demand for drones has led to surging revenues.

Read more »