What are the best-performing UK shares in the last 5 years?

Despite Covid-19, plenty of UK shares have delivered triple-digit returns in the last five years. But what was behind these gains?

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

Arrow symbol glowing amid black arrow symbols on black background.

Image source: Getty Images

When investing, your capital is at risk. The value of your investments can go down as well as up and you may get back less than you put in.

Read More

The content of this article is provided for information purposes only and is not intended to be, nor does it constitute, any form of personal advice. Investments in a currency other than sterling are exposed to currency exchange risk. Currency exchange rates are constantly changing, which may affect the value of the investment in sterling terms. You could lose money in sterling even if the stock price rises in the currency of origin. Stocks listed on overseas exchanges may be subject to additional dealing and exchange rate charges, and may have other tax implications, and may not provide the same, or any, regulatory protection as in the UK.

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More.

Investing in UK shares over the long term can be highly lucrative for individuals capable of differentiating between solid and weak businesses. That’s obviously easier said than done. But had an investor succeeded in this task over the last five years, their portfolio would be up around 634%!

Achieving an average annual return of 44.6% is a pretty impressive accomplishment. And it’s one that even legendary investor Warren Buffett hasn’t pulled off.

So which were these explosive stocks? And what enabled them to deliver such impressive performance? Let’s explore.

Should you invest £1,000 in Rolls-Royce right now?

When investing expert Mark Rogers has a stock tip, it can pay to listen. After all, the flagship Motley Fool Share Advisor newsletter he has run for nearly a decade has provided thousands of paying members with top stock recommendations from the UK and US markets. And right now, Mark thinks there are 6 standout stocks that investors should consider buying. Want to see if Rolls-Royce made the list?

See the 6 stocks

The best UK shares 2017-2022

Looking at the FTSE All-Share index, the best stocks to buy in 2017 were:

  1. Future (+1,317%)
  2. Games Workshop Group (+659%)
  3. Kainos Group (+512%)
  4. Ocado Group (+350%)
  5. Softcat (+330%)

Needless to say, those are some pretty substantial returns. And they’re coming from UK shares in vastly different industries — from media and robotics to technology and tabletop figurines. But despite the vast differences between these businesses, there are also several similarities.

Each firm has a fairly wide economic moat built out of competitive advantages. Starting with Future, the group is a modern-day digital media conglomerate with a massive portfolio of brands, including Techradar, Country Life, and MoneyWeek, just to name a few. There are countless media companies out there, yet what made Future so successful is the power of its branding and the loyal readers that come with it.

Games Workshop has also leveraged the branding power of its intellectual properties, especially Warhammer. With a loyal following of the tabletop miniature experience, along with the video game tie-ins, management has consistently been able to bolster its revenue stream.

Kainos and Softcat are lesser-known firms in the consumer world since both are business-facing. The former is a specialist in digitalising client operations to improve efficiency. And the latter is an IT infrastructure group that helps businesses find the right tools and solutions for specific problems.

Yet the success of these UK shares derives from a similar strategy. Both companies retained and expanded an impressive customer base by simply finding ways to cut costs and accelerate processes for their respective clients.

Lastly, Ocado has been investing heavily in robotics. This technological edge over other online supermarkets enabled the group to fulfil customer orders significantly faster and lower labour costs. Its warehouse automation technology is so good that other supermarket retailers like Morrisons are now paying Ocado to provide this solution as a service.

The power of competitive advantages

By having the edge over competitors, companies and their stocks can deliver impressive returns. After all, growing revenue and profits isn’t too difficult if a firm is in a largely uncontested position.

There are, of course, other factors at play that can render these advantages obsolete. The pandemic made that pretty clear when plenty of industry leaders were brought to their knees. But while having a wide moat doesn’t guarantee triple-digit returns, it does improve the odds. That’s why it’s one of the first things on my checklist when analysing UK shares.

5 stocks for trying to build wealth after 50

The cost of living crisis shows no signs of slowing… the conflict in the Middle East and Ukraine shows no sign of resolution, while the global economy could be teetering on the brink of recession.

Whether you’re a newbie investor or a seasoned pro, deciding which stocks to add to your shopping list can be a daunting prospect during such unprecedented times. Yet despite the stock market’s recent gains, we think many shares still trade at a discount to their true value.

Fortunately, The Motley Fool UK analyst team have short-listed five companies that they believe STILL boast significant long-term growth prospects despite the global upheaval…

We’re sharing the names in a special FREE investing report that you can download today. We believe these stocks could be a great fit for any well-diversified portfolio with the goal of building wealth in your 50’s.

Claim your free copy now

Should you invest, the value of your investment may rise or fall and your capital is at risk. Before investing, your individual circumstances should be assessed. Consider taking independent financial advice.

Zaven Boyrazian has no position in any of the shares mentioned. The Motley Fool UK has recommended Games Workshop, Kainos, Ocado Group, and Softcat. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

Content white businesswoman being congratulated by colleagues at her retirement party
Investing Articles

Smart investors are using a SIPP to become retirement millionaires! Here’s how to aim high

Investing in a SIPP can supercharge retirement savings and even lead to a million-pound nest egg by sparing just £500…

Read more »

Woman riding her old fashioned bicycle along the Beach Esplanade at Aberdeen, Scotland.
Investing Articles

2 world-class dividend stocks to consider for a retirement portfolio

These dividend stocks are relatively defensive in nature, meaning they could be well-suited to those seeking capital preservation.

Read more »

Businessman hand stacking money coins with virtual percentage icons
Investing Articles

7 simple Warren Buffett tips that could make investors richer

While Warren Buffett will soon be stepping down as CEO of Berkshire Hathaway, his investing advice remains more relevant than…

Read more »

Silhouette of a bull standing on top of a landscape with the sun setting behind it
Investing Articles

3 world-class dividend shares to consider before the next bull market

Falling interest rates could be a blessing for UK dividend shares. These three high-quality stocks deserve a close look as…

Read more »

Mature black woman at home texting on her cell phone while sitting on the couch
Investing Articles

Does Alphabet or Apple stock offer the best value for investors?

Apple stock's been through the mill in 2025 with trade worries weighing on the share price. Mag 7 peer Alphabet's…

Read more »

Finger clicking a button marked 'Buy' on a keyboard
Investing Articles

Top analysts are snapping up this under-the-radar penny stock predicted to soar 186% in 2025!

Canacoord Genuity has issued a Buy rating on this under-the-radar lithium penny stock, citing explosive growth potential. But is the…

Read more »

Finger pressing a car ignition button with the text 2025 start.
Investing Articles

These FTSE 100 stocks have rocketed in 2025! I think they can keep going

I think these FTSE 100 momentum stocks are worth serious consideration despite the uncertain economic landscape.

Read more »

UK supporters with flag
Investing Articles

3 UK shares the pros are buying right now!

Professional analysts at Barclays Capital have reiterated their Buy ratings on these proven UK shares, so should investors rush to…

Read more »