Systemicbeta

Fundamental: Graham Number

systemic:core-grahamIndicators

Inputs

NameTypeDescription
EPSNumber seriesTrailing-twelve-month earnings per share.
Book Value Per ShareNumber seriesBook value (total equity) per outstanding share.

Outputs

NameTypeDescription
Graham NumberNumber seriesThe estimated fair-value ceiling for the stock, in the same unit as its market price.

Cost

7
credits per run
1,000
bars

0.199 + 0.00643·n credits for n bars, rounded up. The marks are each plan's limit of bars.

Graham Number=22.5×EPS×BVPS\text{Graham Number} = \sqrt{22.5 \times EPS \times BVPS}

The Graham Number, from Benjamin Graham's The Intelligent Investor, estimates the maximum price a defensive value investor should pay for a stock. It combines earnings power (EPS) and balance-sheet strength (book value per share, BVPS) into one fair-value benchmark.

EPSBVPSGraham Number
6.134.2524.21
6.424.4025.21

Interpreting the Result

Compare the Graham Number against the current market price (an Alpaca closing price, for example) with a Subtract or Divide module:

ComparisonReading
Price well below Graham NumberPotentially undervalued by Graham's criterion
Price near Graham NumberFairly valued
Price well above Graham NumberPotentially overvalued

The Graham Number is a single benchmark value, not a band. Pair it with your own margin-of-safety threshold.


Missing Data

If either EPS or book value per share is empty (null) on a bar, the Graham Number on that bar is empty.

The result is also empty whenever EPS or BVPS is negative. This includes the case where both are negative: their product is positive, but a company with negative earnings and negative book value does not pass Graham's criterion, so no number is returned.

EPSBVPSResult
empty4.25empty
6.13emptyempty
-1.53.00empty (negative earnings)
-2.0-5.0empty (both negative)
6.134.2524.21

Wiring

Connect both inputs from the Stock: Fundamentals module:

  • eps → EPS input (trailing-twelve-month earnings per share)
  • bvps → Book Value Per Share input

EPS is a trailing-twelve-month value. Book Value Per Share is the latest quarter-end value. Stock: Fundamentals already provides both, so you need no extra modules.


  • ALTZ — Altman Z-Score (bankruptcy risk)
  • PFS — Piotroski F-Score (fundamental quality)
© 2026 WanoLabs. All rights reservedBeta v0.1.5