When Is It the Right Time to Sell a Stock?

Shopify Inc (TSX:SHOP)(NYSE:SHOP) has produced strong returns this years but before investors think of selling and cashing out their gains, they should consider several different factors.

| More on:

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

For many investors, holding a stock forever is not the goal, which is why knowing when to sell can be just as important as knowing when to buy. Hold onto a stock for too long and you could give back some gains, or  worse, see a major correction take place. By looking at multiple factors, you can help optimize your selling strategy.

Below, I’ll look at how you can incorporate the following variables into your analysis to help make a better decision on when to sell: the stock’s recent performance; valuation multiples; and opportunity cost.

Recent performance

A big consideration that should always play into your decision-making is how the stock has performed. When it comes to losers, you can easily end up hanging on to them too long out of fear of realizing a loss. For stocks that have declined and have little hope of recovery, you shouldn’t have too big of a threshold before cutting bait.

However, even though you want to hang on to your winners, you shouldn’t wait until a bubble has popped either. Shopify Inc (TSX:SHOP)(NYSE:SHOP) has soared this year and is a great example of a stock that might be reaching bubble status. Early in the year, the stock was trading below $200, but by the end of last week, it had hit a 52-week high of more than $446.

The stock has yet again found its way into overbought status, with its Relative Strength Index (RSI) reaching over 70. RSI looks at a stock’s gains and losses over the past 14 trading days, and when the scales are heavily tilted in one direction, it helps make investors aware that the stock might be due for an adjustment.

Where the stock is in relation to its high for the year as well as its RSI are just two examples of how you can gauge whether you should considering selling, but simply performing well isn’t a good reason to sell a stock.

Valuation multiples

A stock that has risen in value, could after all be recovering from a prior period sell-off. And that’s where looking at valuation multiples can help put a well-performing stock into perspective. In Shopify’s case, the stock currently trades at a price-to-book multiple of over 20 and a price-to-sales ratio of around 40.

Both of those multiples are very high, and definitely suggest it could be a good time to sell. There are also many other ratios you could use as well, including the price-to-earnings ratio.

Opportunity cost

Perhaps the most important factor is whether there’s a better stock to invest in that can help earn a better return for you today. Shopify’s stock might rise another 5% or 10%, but the odds of it doubling this year are likely remote. If you’ve found a stock that you think could be a good bet to double or earn better returns than your current stock, that might be an indicating that your funds are better off elsewhere.

Bottom line

One of the toughest decisions I’ve found in investing is knowing when to sell, and it’s one that investors should take into consideration even when buying a stock. If you pick a good stock to buy on a dip and it does proceed to rise, you need to know your strategy and when you plan to sell (unless you plan on holding forever). Otherwise, you could end up eating into your gains.

Should you invest $1,000 in Canadian Utilities right now?

Before you buy stock in Canadian Utilities, consider this:

The Motley Fool Stock Advisor Canada analyst team just identified what they believe are the Top Stocks for 2025 and Beyond for investors to buy now… and Canadian Utilities wasn’t one of them. The Top Stocks that made the cut could potentially produce monster returns in the coming years.

Consider MercadoLibre, which we first recommended on January 8, 2014 ... if you invested $1,000 in the “eBay of Latin America” at the time of our recommendation, you’d have $20,697.16!*

Stock Advisor Canada provides investors with an easy-to-follow blueprint for success, including guidance on building a portfolio, regular updates from analysts, and two new stock picks each month – one from Canada and one from the U.S. The Stock Advisor Canada service has outperformed the return of S&P/TSX Composite Index by 29 percentage points since 2013*.

See the Top Stocks * Returns as of 3/20/25

This article represents the opinion of the writer, who may disagree with the “official” recommendation position of a Motley Fool premium service or advisor. We’re Motley! Questioning an investing thesis — even one of our own — helps us all think critically about investing and make decisions that help us become smarter, happier, and richer, so we sometimes publish articles that may not be in line with recommendations, rankings or other content.

Fool contributor David Jagielski has no position in any of the stocks mentioned. Tom Gardner owns shares of Shopify. Shopify is a recommendation of Stock Advisor Canada.

Confidently Navigate Market Volatility: Claim Your Free Report!

Feeling uneasy about the ups and downs of the stock market lately? You’re not alone. At The Motley Fool Canada, we get it — and we’re here to help. We’ve crafted an essential guide designed to help you through these uncertain times: "5-Step Checklist: How to Prepare Your Portfolio for Volatility."

Don't miss out on this opportunity for peace of mind. Just click below to learn how to receive your complimentary report today!

Get Our Free Report Today

More on Tech Stocks

A shopper makes purchases from an online store.
Tech Stocks

Buy the Dip on the Return of Recession Stocks?

If a recession comes back, there are some stocks that could fair well afterwards. And this is one of the…

Read more »

data center server racks glow with light
Tech Stocks

April Opportunity: Where I’d Invest $7,000 in These 3 Tech Stocks Right Now

These tech stocks have solid growth potential and are trading at discounted valuation, providing a solid buying opportunity in April.

Read more »

The letters AI glowing on a circuit board processor.
Tech Stocks

If I Could Only Buy and Hold a Single U.S. Stock, This Would Be It

You don’t need 40 different stocks to build wealth. A few good ones can boost your portfolio, and this U.S.…

Read more »

cloud computing
Tech Stocks

2 Top Canadian Information Technology Stocks to Buy Right Now

These two Canadian information technology stocks are bargains amid the downturn in the broader market for long-term investors.

Read more »

A microchip in a circuit board powers artificial intelligence.
Tech Stocks

The Only 2 AI Stocks You’ll Need for Long-Term Growth

Here are two top Canadian tech stocks that could help you benefit from surging demand for AI technology and infrastructure.

Read more »

calculate and analyze stock
Tech Stocks

The Canadian Stock I’d Buy Every Time it Takes a Dip

The tariff wars have created a buy-the-dip opportunity for value investors. Here is a Canadian stock that is a buy…

Read more »

jar with coins and plant
Tech Stocks

The Smartest Growth Stock to Buy With $1,000 Right Now

Here's a fundamentally solid, dividend-paying growth stock you can buy on the dip now to hold for the long term.

Read more »

e-commerce shopping getting a package
Tech Stocks

Shopify Stock Looks Like a Buying Opportunity Today

Let's dive into the pros and cons of owning e-commerce platform provider Shopify (TSX:SHOP) in this current environment.

Read more »