Skip to main content
Value Investing

Understanding Build Stock Screener: An In-Depth Analysis for Value Investors

Javier Sanz, Founder & Lead Analyst at ValueMarkers
By , Founder & Lead AnalystEditorially reviewed
Last updated: Reviewed by: Javier Sanz
11 min read
Share:

Understanding Build Stock Screener: An In-Depth Analysis for Value Investors

build stock screener — chart and analysis

To build a stock screener that actually finds investable ideas, you need three things: a clear investment thesis, a set of quantitative criteria that translate that thesis into measurable filters, and a process for reviewing what the screen returns. Investors who build stock screeners without a thesis end up with random lists of cheap or fast-growing companies that share no coherent characteristic. The screener is only as good as the thinking behind the criteria.

This guide walks through building a functional stock screener from first principles, covering how to define criteria, which metrics to use, and how the ValueMarkers screener lets you apply more than 120 indicators to create and save custom screens.

Key Takeaways

  • Every effective screener starts with a written investment thesis, not a list of metrics.
  • Combine one valuation filter, one quality filter, and one balance sheet filter as the minimum viable screen.
  • P/E ratio, ROIC, and debt-to-equity are the three most universally applicable building blocks.
  • The ValueMarkers screener includes 120+ indicators spanning valuation, quality, growth, dividends, and risk so you do not build from zero.
  • Save your best screens and run them monthly; the same stock at a different price can go from failing to passing overnight.
  • Screener output is a candidate list. Every name requires a manual read before it becomes a buy candidate.

Step 1: Write Your Investment Thesis Before Touching Any Filters

This step is the one most investors skip, and it is the most important.

Your thesis defines what you believe creates excess returns and why. Without it, you are just sorting a database. With it, each filter is a logical translation of a belief into a quantitative test.

Three example theses and the filters they imply:

Thesis A: Cheap, profitable businesses ignored by the market. Filters: low P/E (below 15), high ROIC (above 15%), moderate size (market cap $500M-$5B where analyst coverage is thinner).

Thesis B: High-quality compounders at fair prices. Filters: ROIC above 20%, ROE above 20%, EPS growth above 10% over five years, P/E below 30. This screen finds MSFT (P/E 32.1, ROIC 35.2%) as borderline, AAPL (P/E 28.3, ROIC 45.1%) as a pass if you flex the P/E, and JNJ (P/E 15.4, ROIC 18.3%) as a clean pass.

Thesis C: Dividend compounders for income and total return. Filters: dividend yield 2.5-6%, payout ratio below 65%, dividend growth five-year CAGR above 5%, debt-to-equity below 1.5. This thesis finds KO (yield 3.0%, ROIC 12.8%, 60+ year dividend streak) and JNJ (yield 3.1%, ROIC 18.3%).

Write one paragraph describing your thesis before you touch the screener. That paragraph is your reference when you add or remove filters.

Step 2: Choose the Right Universe

Before setting any criteria, define which universe of stocks you want to screen. This decision shapes everything else.

Universe SettingNumber of StocksBest For
U.S. Large Cap (market cap > $10B)~500Learning, low noise, high data quality
U.S. Mid Cap ($2B-$10B)~1,000More ideas, more analyst blindspots
U.S. All Cap (market cap > $500M)~2,500Maximum breadth, more maintenance needed
Global Developed Markets~5,000+International diversification opportunities

Start with U.S. large cap if you are building your first serious screen. Data quality is highest, liquidity is sufficient to enter and exit positions at reasonable cost, and the fundamental metrics are directly comparable across names. Once you are confident in your process, expand the universe.

Step 3: Build the Valuation Layer

The valuation layer answers: is the stock cheap relative to what the business produces? Pick one primary valuation metric and no more than two secondary ones.

Price-to-Earnings (P/E): The most widely used. Divide the share price by trailing twelve-month earnings per share. A P/E of 28.3 for AAPL means investors pay $28.30 for each dollar of current earnings. Threshold: below 20 for deep value, below 25 for quality-at-fair-value.

EV/EBIT: Enterprise value divided by operating profit before interest and tax. This is cleaner than P/E for comparing companies with different debt levels. EV includes debt in the numerator, so a debt-heavy company cannot look cheap simply because its share price is low.

Free Cash Flow Yield: Free cash flow per share divided by price. FCF yield above 5% means you collect more than 5 cents of real cash for every dollar invested, which gives a meaningful margin for dividend payments, buybacks, or reinvestment.

Choose one primary filter and set the threshold based on your thesis. Do not stack three P/E variants (P/E, forward P/E, EV/EBIT) simultaneously unless you have a specific reason. Overlapping valuation filters create redundancy without adding information.

Step 4: Build the Quality Layer

The quality layer answers: is this a good business, regardless of price? Quality filtering is what separates genuine value investing from buying whatever is cheapest in a database.

Quality MetricThresholdWhat It Tests
ROICAbove 15%Return on all capital deployed, including debt
ROEAbove 15%Return on equity; check alongside D/E to avoid use inflation
Gross MarginAbove 35%Pricing power and competitive positioning
Operating MarginAbove 12%Business efficiency at scale
EPS Growth (5-year)Above 5%Earnings quality and consistency

ROIC is the single most important quality filter for a value investor. A business earning 30% ROIC compounds intrinsic value at 30% per year on retained earnings. A business earning 5% ROIC does the opposite. AAPL's ROIC of 45.1% explains why it commands a premium P/E despite being a mature consumer hardware company. The return on each dollar invested is extraordinary.

For dividend-focused screens, replace the EPS growth filter with dividend growth (5-year CAGR above 5%) and add a payout ratio below 70% to ensure payments are sustainable.

Step 5: Build the Balance Sheet Safety Layer

The safety layer answers: is the company solvent and likely to stay that way? A business can be cheap and profitable but still be a disaster if use or liquidity become a problem.

Debt-to-Equity below 1.0. Total debt divided by total equity. BRK.B runs at approximately 0.3, near no use. AAPL runs at approximately 1.8, which is higher but entirely supported by its $100B+ in annual free cash flow. For most industrial, consumer, and technology companies, debt-to-equity above 2.0 warrants careful scrutiny of the earnings coverage.

Current ratio above 1.5. Current assets divided by current liabilities. A ratio below 1.0 means the company cannot cover near-term obligations with near-term assets. For most businesses, above 1.5 provides a safe buffer.

Interest coverage above 5x. EBIT divided by annual interest expense. A company earning five times its interest cost can absorb significant earnings declines before interest payments become a problem. Below 3x is a warning; below 1.5x signals potential distress.

Piotroski F-Score above 7. This 9-point composite tests profitability trends, use changes, and efficiency improvements. A score of 8 or 9 means the company improved across most financial dimensions over the past year. MSFT carries a Piotroski of 8; a score of 2-3 flags deterioration that other metrics often miss.

Step 6: Add Optional Enhancement Filters

With the core three layers in place, add one or two enhancement filters based on your specific thesis.

For contrarian value: Add short ratio above 5 to find stocks where sentiment is negative but fundamentals are improving. The combination of high Piotroski score and elevated short interest creates the conditions for a sentiment reversal.

For dividend income: Add dividend yield above 2.5% and dividend streak above 10 years. KO (yield 3.0%, 60+ year streak) and JNJ (yield 3.1%, 60+ year streak) are the archetypes this combination finds.

For compounders: Add EPS growth above 10% over five years and revenue growth above 8% over five years. This narrows the screen to businesses that are both growing and generating returns.

For capital allocation quality: Add buyback yield above 2% (share count reduction as a percentage of market cap). Companies returning 2%+ through buybacks alongside dividends are often among the most disciplined capital allocators.

Building Your Screen in ValueMarkers

Open the screener and follow these steps to build and save a custom screen.

  1. Select "Custom Screen" from the top navigation.
  2. Set your universe: choose market cap range and geographic market.
  3. Add your valuation filter first. Use the dropdown to select P/E, EV/EBIT, or FCF yield, and enter your threshold.
  4. Add your quality filter. Select ROIC or ROE and set the minimum value.
  5. Add your safety filter. Select debt-to-equity and set the maximum.
  6. Click "Run Screen" to see your initial results.
  7. Review the count. If it returns fewer than 10 results, loosen one filter by 10-20%. If it returns more than 100, tighten the most important filter.
  8. Sort the results by VMCI Score descending to surface the best composite performers at the top.
  9. Click "Save Screen" and name it after your thesis (e.g., "Quality at Fair Value Q2 2026").

The VMCI Score ranks each stock across Value (35%), Quality (30%), Integrity (15%), Growth (12%), and Risk (8%). Using it as a sort after your filters runs means the top results clear all your criteria and rank highest on the composite score.

Common Build Mistakes and How to Avoid Them

Mistake: Calibrating on past winners. If you build a screen designed to have caught AAPL in 2015, you will pathologically overfit to a single outcome. Build screens from first principles, not by reverse-engineering famous winners.

Mistake: Forgetting sector context. A P/E of 8 is high for a utility and low for a software company. Set sector-relative thresholds or apply your screen within sectors rather than across the entire market when using P/E or margin-based filters.

Mistake: No review step. A screen is a candidate filter. Plan for one hour of review per five screener results. If you cannot commit that time, reduce the scope of your screen to return fewer but higher-quality candidates.

Mistake: Changing criteria after seeing results. If you build a screen with P/E below 20, run it, do not like the names, and change it to P/E below 22 to see different names, you are data mining. Establish your criteria before running the screen.

Mistake: Ignoring liquidity. A company that passes all fundamental filters but trades $100,000 per day in volume is genuinely uninvestable for most institutional investors and challenging for any investor who wants to exit quickly. Add a minimum average daily volume filter of $1 million for any screen you intend to act on.

Benchmarking Your Screen's Performance

After building a screen, run a simple historical test. Apply the same criteria to data from 24 and 36 months ago and see how the resulting portfolio would have performed versus the S&P 500 over the subsequent 12 months. This is not a rigorous backtest, but it identifies obvious problems: if your screen would have loaded up on distressed retailers in 2021, the criteria need rethinking.

The ValueMarkers screener does not provide automated backtesting, but the historical fundamental data is available for each stock so you can manually check whether past screener results performed as expected.

A Complete Example Screen: Quality at Reasonable Price

Here is a fully specified screen based on the quality-at-fair-value thesis.

Universe: U.S. stocks, market cap above $5 billion.

Valuation:

Quality:

  • ROIC above 15%
  • ROE above 15%
  • Gross margin above 30%

Safety:

  • Debt-to-equity below 1.5
  • Piotroski F-Score above 6

Sort: VMCI Score descending.

In early 2026, this screen returns approximately 35-50 names. JNJ (P/E 15.4, ROIC 18.3%, D/E 0.5) passes all criteria. KO (P/E 23.7, ROIC 12.8%) fails on ROIC unless you adjust the threshold to 12%. AAPL (P/E 28.3, ROIC 45.1%) passes on quality but the P/E of 28.3 converts to an EV/EBIT near 22 at current prices, which fails the EV/EBIT threshold. MSFT (P/E 32.1, ROIC 35.2%) fails on EV/EBIT but would be a top result if you adjusted the valuation filter to 25.

This is exactly what a screen should do: tell you clearly which names need the valuation argument and which names pass on every dimension. JNJ at current prices passes everything. The analysis job is deciding whether the thesis is already priced in.

How to Maintain and Evolve Your Screen Over Time

A screen built in January 2026 may produce different results in January 2027 if market multiples expand or contract. Review your screen semi-annually and ask two questions: are the criteria still reflecting my thesis, and are the thresholds still calibrated to current market pricing?

If the S&P 500 P/E moves from 21x to 18x during a market correction, your P/E below 20 filter will suddenly return far more names. This is not a problem with the screen; it is working correctly. But if many of those new names are cyclicals with depressed earnings at the trough of a cycle, the screen needs a secondary quality filter to distinguish real value from cyclical cheapness. Add ROIC above 12% to eliminate businesses that only look cheap because earnings temporarily collapsed.

Conversely, in a high-multiple environment (S&P 500 at 24x earnings), your P/E below 20 filter returns mostly out-of-favor sectors with structural problems. Consider relaxing the P/E threshold to 23 and compensating with a stricter ROIC floor of 18% to maintain quality without being priced out of every opportunity.

The key discipline: change criteria because market conditions changed, not because you do not like this week's results.

Sharing and Comparing Screens with Other Investors

Building a screen is most useful when you validate it against other investor processes. Sharing your criteria with investors who use different frameworks exposes weaknesses in your assumptions.

A deep-value investor using P/B below 1.0 and P/E below 10 will build a very different screen than a quality-compounder investor using ROIC above 20% and EPS growth above 10%. Neither is objectively correct. Each reflects a different thesis about what drives returns. Comparing your screener results with someone using a different approach highlights companies that appear in both universes, which are typically the strongest candidates of all.

Companies appearing across multiple screening philosophies (cheap enough for the value screen, high enough quality for the growth screen) tend to be the best opportunities because they appeal to multiple investor types and thus have built-in demand from several directions.

JNJ at P/E 15.4 and ROIC 18.3% appears in both the classic value screen and the quality-at-fair-value screen. AAPL at ROIC 45.1% appears in the quality screen but only marginally in the value screen at current prices. BRK.B at P/E 9.8 and P/B 1.5 appears in deep value screens but not in growth screens given its modest EPS growth rate.

Connecting Your Screen to the Full Valuation Process

A screen produces candidates. The next step after the screen is a full valuation. The ValueMarkers DCF calculator supports four discounted cash flow models: the standard two-stage model, the Gordon Growth Model for dividend-focused analysis, the reverse DCF (to determine what growth rate the current price implies), and the asset-based model for balance-sheet-heavy businesses like banks and holding companies.

For a screener result with P/E of 16 and ROIC of 18%, run the two-stage DCF. Assume 10% growth for five years (conservative relative to historical), then a 4% terminal growth rate, and a 9% discount rate. If the model returns an intrinsic value 25-40% above the current price, you have both a quantitative (screener) and a qualitative (DCF) case for the position.

The reverse DCF is particularly powerful for screener validation. If a name clears your quality filters but seems expensive on P/E, check what the reverse DCF says: "at this price, what growth rate is the market assuming?" If the implied growth rate is 3% for a company growing at 12%, the market may be pricing in a slowdown that has not materialized.

Connecting screener output to DCF valuation converts candidate lists into investment decisions with explicit assumptions you can test over time.

Further reading: SEC EDGAR · Investopedia

Why custom stock screener Matters

This section anchors the discussion on custom stock screener. The detailed treatment, formula, and worked examples appear in the body of this article above. The points below summarize the most important takeaways for value investors who want to apply custom stock screener in real portfolio decisions. ValueMarkers exposes the underlying data on every covered ticker via the screener and stock profile pages, so the concepts in this article translate directly into actionable filters.

Key inputs for custom stock screener

See the main discussion of custom stock screener in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using custom stock screener alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Sector benchmarks for custom stock screener

See the main discussion of custom stock screener in the sections above for the full treatment, including the inputs, the calculation methodology, the typical sector benchmarks, and the most common pitfalls to avoid. The ValueMarkers screener lets value investors filter the full universe of 100,000+ stocks across 73 exchanges using custom stock screener alongside the rest of the 120-indicator composite, with sector percentiles and historical trends shown on every stock profile.

Frequently Asked Questions

what happens if the stock market crashes

A market crash is the best time to run your custom screen. Prices fall while fundamental data (earnings, ROIC, balance sheet ratios) lags by one quarter. Your EV/EBIT and P/E filters will suddenly include far more names because price falls before earnings. In 2020, the COVID crash briefly pushed several S&P 500 names to Piotroski 8 and P/E below 12 simultaneously. Investors who had pre-built screens ready and cash available could act within the first 30 days of the recovery.

what time does the stock market open

U.S. stock markets open at 9:30 a.m. Eastern Time, Monday through Friday, excluding federal holidays. Screener filters that use price-based metrics (P/E, P/B, EV/EBIT) update in real time during market hours on ValueMarkers, meaning your screen can return different results at 10:00 a.m. and 3:30 p.m. on the same day. Run screens after 4:00 p.m. Eastern to use stable closing-price data.

are stock markets closed today

U.S. markets are closed on nine federal holidays including New Year's Day, Independence Day, Thanksgiving, and Christmas. Your saved screens in ValueMarkers remain accessible on holidays, but price-based filter results reflect the previous day's closing prices. Fundamental data (earnings, balance sheet ratios) does not change on holiday closures.

what time does the stock market close

U.S. stock markets close at 4:00 p.m. Eastern on standard days and at 1:00 p.m. on designated early-close days such as the afternoon before Thanksgiving. For screener reliability, run and save your screen results after 4:30 p.m. Eastern to ensure all price data has fully settled.

when does the stock market open

The NYSE and Nasdaq open at 9:30 a.m. Eastern, Monday through Friday, with pre-market activity starting at 4:00 a.m. on most brokerages. If you are tracking a screener result and an earnings release happens after market close, the next morning's opening price will reflect the overnight reaction. Run your screen the following afternoon to get stabilized post-earnings fundamental ratios.

why is the stock market down today

Daily market declines are driven by macro events (rate decisions, economic data, geopolitical news), sector rotations, or company-specific news. A broad market decline does not change the fundamentals of any individual company. If anything, a down day moves your P/E and EV/EBIT filters favorably for names already on your watchlist. Build your screen to take advantage of volatility rather than reacting to it.

Examine on ValueMarkers →

Written by Javier Sanz, Founder of ValueMarkers. Last updated April 2026.


Ready to find your next value investment?

ValueMarkers tracks 120+ fundamental indicators across 100,000+ stocks on 73 global exchanges. Run the methodology above in seconds with our stock screener, or see today's top-ranked names on the leaderboard.

Related tools: DCF Calculator · Methodology · Compare ValueMarkers

Disclaimer: This content is for informational and educational purposes only and does not constitute investment advice, a recommendation, or an offer to buy or sell any security. Past performance does not guarantee future results. Consult a licensed financial advisor before making investment decisions.

Explore More

Investing Tools

Compare Competitors

Browse Stocks

Weekly Stock Analysis - Free

5 undervalued stocks, fully modeled. Every Monday. No spam.

Cookie Preferences

We use cookies to analyze site usage and improve your experience. You can accept all, reject all, or customize your preferences.