$10,000 invested in Xero shares 3 weeks ago is now worth…

Timing can make a big difference, as missing out on this rally showed me.

Xero Ltd (ASX: XRO) shares have been on my radar for a while. I have been waiting for the right entry point — ideally below $70 — before pulling the trigger.

If you had invested $10,000 in Xero shares just three weeks ago, you'd already be sitting on a surprisingly strong gain.

Of course, this is a volatile tech stock. It could just as easily pull back again or continue pushing toward its previous highs of $196 reached in mid-2025. But for now, the recent bounce has been hard to ignore.

Man jumps for joy in front of a background of a rising stocks graphic.

Image source: Getty Images

Serious short-term gain

Back on 13 April, Xero shares were trading at around $70.42, not far from my target entry level. Fast forward to today, and they're changing hands for $85.82 at the time of writing. That's a gain of nearly 22% in just three weeks.

Put that into dollar terms, and it gets interesting. A $10,000 investment at $70.42 would have bought roughly 142 shares. At today's price, those shares would now be worth about $12,186.

That's more than $2,000 in capital gains in a very short period.

By comparison, the S&P/ASX 200 Index (ASX: XJO) has slipped around 1% over the same timeframe, highlighting just how strong Xero's rebound has been.

So, what's driving the turnaround?

Part of the story is broader market sentiment. Between late August and the end of March, fears around artificial intelligence disrupting software companies weighed heavily on tech stocks like Xero shares. The S&P/ASX 200 Information Technology Index (ASX: XIJ) fell around 48% over that period.

Since late March, however, sentiment has shifted. The tech sector has staged a recovery, with the index rebounding roughly 20% as investors regain confidence in long-term growth prospects.

Recurring revenue, global footprint

Xero shares have benefited from that shift, but the company also has its own strengths. It is a leading provider of cloud-based accounting software for small and medium-sized businesses. Its subscription-based model generates recurring revenue, while its expanding ecosystem of integrations helps improve customer retention.

As more businesses move their financial operations to the cloud, Xero remains well-positioned to capture that demand. Its global footprint and continued investment in product development also support long-term growth.

That said, risks remain. Tech stocks can be highly sensitive to changes in interest rates, valuation multiples, and investor sentiment. Competition in the accounting software space is also intense, particularly from global players.

So what's next for Xero shares?

According to Morgan Stanley, there could still be plenty of upside. The broker recently reiterated its buy rating on Xero shares with a $130 price target, implying potential gains of around 52% from current levels.

The bottom line is that while short-term gains like this are impressive, they also highlight the volatility that comes with growth stocks.

For investors willing to ride out the ups and downs, Xero remains a company with strong long-term potential. But as missing this rally shows me, timing can make a big difference.

Motley Fool contributor Marc Van Dinther 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.

More on Growth Shares

Coins in ascending order from left to right, with a piggy bank and clock on the sides.
Growth Shares

2 top ASX shares to buy and hold for the next decade

These two investments have incredible long-term outlooks.

Read more »

Rocket going up above mountains, symbolising a record high.
Growth Shares

2 ASX shares tipped to grow 100% or more in the next 12 months

These two stocks could deliver massive returns.

Read more »

Smiling woman pointing at rising graph.
Growth Shares

2 strong Australian stocks to buy now with $9,000

These stocks look like top buys to me right now.

Read more »

Wooden house and golden coins on balancing scale.
Growth Shares

Is the REA Group share price a strong contrarian buy?

Is this a good time to invest in the property portal business?

Read more »

Ascending piles of coins and plants in three jars, with a hand putting a coin in the first jar.
Growth Shares

A rare buying opportunity in 1 of Australia's top shares?

This stock is an ASX leader and it looks like one of Australia’s top shares.

Read more »

Two smiling colleagues looking at a tablet in a data centre.
Growth Shares

Will Goodman shares reach $30 in 2027?

I look at the earnings forecasts to see how realistic a move back to this level could be.

Read more »

Two brokers analysing the share price with the woman pointing at the screen and man talking on a phone.
Growth Shares

2 ASX shares highly recommended to buy: Experts

These businesses could be undervalued and deliver good returns.

Read more »

Woman pointing to a hologram of a world map with finance graphs and related themes.
Growth Shares

Down over 50%: 2 ASX shares to buy for global growth

Both companies are building global momentum. Patient investors should watch.

Read more »