Stock Meadow · How-to guide
How to build a quality stock screen, step by step
A quality screen looks for companies that earn a high return on their capital, keep strong margins, turn profit into cash and don't lean on debt. This guide turns those ideas into filters you can run on the 3,000 largest US stocks, explains the pitfalls, and shows how to check the idea on past data.
Updated · By Stock Meadow · About us
What quality means for a stock
“Quality” is a loose word, but most definitions share four ideas:
- Profitable use of capital. Every dollar invested in the business earns a high return.
- Strong, steady margins. The company keeps a good share of each sale as profit, which often points to pricing power.
- Profit that becomes cash. Reported earnings show up as free cash flow, not just on paper.
- A strong balance sheet. Debt is small next to earnings, and interest is easily covered.
None of these on its own makes a quality company. A screen works best when it asks for several at once, so a stock has to clear more than one bar.
The measures that capture quality
| Measure | What it shows | Higher or lower |
|---|---|---|
| Return on invested capital (ROIC) | After-tax operating profit for each dollar of debt and equity in the business | Higher |
| Operating margin | Profit from the business itself, before interest and tax, as a share of sales | Higher |
| Gross margin | What is left of sales after the direct cost of making them; a hint of pricing power | Higher |
| Free cash flow margin | Cash left after running and investing in the business, as a share of sales | Higher |
| Net debt to EBITDA | Years of earnings it would take to repay debt less cash | Lower |
| Interest coverage | How many times operating profit covers the interest bill | Higher |
| Piotroski F-Score | Nine pass/fail tests of profitability, debt and efficiency, scored 0 to 9 | Higher |
Swipe sideways to see every column.
In Stock Meadow, the Quality style of the stock scoring model weighs four of these: ROIC (weight 3), operating margin (2), free cash flow margin (2) and net debt to EBITDA (1). Each metric page in the glossary gives the exact formula.
Build the screen, step by step
- Pick the universe. Start with all 3,000 stocks, or set a market-cap floor if you only want larger companies. Leave out financials here and screen them separately (see the FAQ).
- Require a high return on capital. Add a filter on ROIC. An example starting point is ROIC above 15%.
- Add a margin filter. For example, operating margin above 15%. Margins differ a lot between industries, so check what is normal for the sectors you care about.
- Check that profit becomes cash. For example, free cash flow margin above 10%. This drops companies whose earnings don't turn into cash.
- Limit debt. For example, net debt to EBITDA below 2, or interest coverage above 5.
- Look at the list. Sort by the measure you care about most, add columns for valuation (such as P/E or EV/EBITDA) so you can see what you would pay, and open each company's page to read its statements over 5 to 20 years.
- Adjust one filter at a time. If too few stocks pass, loosen the filter that removes the most; if too many, tighten the one that matters most. Save the screen to come back to it.
The numbers above are examples to adjust, not rules. In the stock screener, above and below leave out the number itself, and every metric you filter on gets its own column.
Rank instead of filter
Hard cut-offs have a weakness: a company with an ROIC of 14.9% is left out while one at 15.1% passes. Ranking avoids that. In the stock scoring model, choose the Quality style (or your own measures and weights), and every stock gets a score from 0 to 100 on how it compares with the others. You can still keep a few filters, such as a market-cap floor, and rank what remains.
- Rank within sector compares each company with its own sector, so software firms are not judged against utilities on margins.
- Balanced (no weak link) favours stocks that are solid on every measure rather than outstanding on one.
- The Piotroski F-Score and Magic Formula models are ready-made versions of quality, the second paired with a cheap price. All 9 models are explained in the user guide.
Pitfalls to watch for
- Price still matters. Quality companies are often well known and priced high. A great business at a very high price is a different proposition from the same business at a fair one, so keep a valuation column in view.
- One good year is not quality. Trailing figures can be flattered by a one-off. Check margins and returns over several years on the company's statement pages.
- Share repurchases can shrink equity. Large repurchases reduce equity and can make return on equity look higher than the business deserves, one reason to lead with ROIC.
- Industry differences. Software, consumer brands and asset-heavy industries have very different normal margins. Use Rank within sector, or set filters per sector.
- Lenders and insurers don't fit. Their debt and cash are part of the business, so most of these measures are blank or misleading for them.
Test the idea on past data
Once your quality model is set up in the stock scoring model, press Backtest this model. The model backtester scores the largest US stocks of each past date using only the statements public at that time, holds the top-scored ones and follows the hypothetical result over 5, 10 or 20 years, including companies that were later delisted. Compare it with the S&P 500 or with every stock held in equal parts, and look at the deepest fall as well as the return.
Backtest results are simulated and depend on the settings; past results don't predict future results. Use them to see how an idea behaved, as one input to your own research. For research only, not investment advice.
Frequently asked questions
- What is a quality stock?
- There is no single official definition. Most investors mean a company that earns a high return on the money invested in it, keeps healthy margins, turns its profit into cash and carries little debt, year after year. A quality screen turns those ideas into numbers you can filter on.
- What is the difference between ROIC and ROE?
- Return on equity divides profit by shareholders' equity only, so a company can raise it by borrowing more. Return on invested capital (ROIC) divides after-tax operating profit by debt plus equity, so it measures the business whatever the mix of funding. That is why quality screens usually start with ROIC.
- Why are banks and insurers missing from my quality screen?
- Measures such as ROIC, net debt to EBITDA and free cash flow margin don't fit lenders and insurers, whose debt and cash are part of the product. Many of these figures are blank for them, so a screen that filters on them leaves them out. Screen them separately with measures such as return on equity and price to book.
- How many stocks does a good quality screen return?
- It depends on how strict the filters are. A useful screen usually leaves somewhere between a few dozen and a couple of hundred names to study further. If it returns almost nothing, loosen one filter at a time; if it returns hundreds, tighten the one that matters most to you.
- Is a quality screen a list of stocks to own?
- No. A screen narrows the field; it says nothing about price, future results or whether a company fits your plans. Quality companies can be expensive, and high margins can fade. For research only, not investment advice.
Build your quality screen
Sign up free for a 7-day trial, no card needed, and open the stock screener or the stock scoring model with the Quality style. Already a member? Go straight in.
Open the stock screener