Valuation Ratios¶
Measures the market price of a stock relative to its fundamentals.
Price-Based Ratios¶
pe — Price / Earnings¶
Formula: Market Cap / Net Income
forward_pe — Forward P/E¶
Formula: Market Cap / Forward Earnings
peg — Price/Earnings to Growth¶
Formula: P/E Ratio / EPS Growth Rate (%). PEG < 1 is often considered undervalued.
pb — Price / Book¶
Formula: Market Cap / Book Value of Equity
ps — Price / Sales¶
Formula: Market Cap / Revenue
p_fcf — Price / Free Cash Flow¶
Formula: Market Cap / (OCF − CapEx)
Enterprise Value Ratios¶
enterprise_value¶
Formula: Market Cap + Total Debt − Cash + Minority Interest + Preferred Stock
ev_ebitda¶
Formula: Enterprise Value / EBITDA. <8x is cheap; >20x is expensive.
ev_ebit¶
ev_revenue¶
ev_fcf¶
Intrinsic Value¶
graham_number¶
Formula: √(22.5 × EPS × Book Value per Share). Benjamin Graham's fair-value estimate for defensive investors.
graham_intrinsic_value¶
Formula: EPS × (8.5 + 2g) × 4.4 / AAA_yield
tobin_q¶
Formula: (Market Cap + Total Liabilities) / Total Assets. Q > 1 suggests the market values assets above replacement cost.
DCF Models¶
See Valuation DCF for dcf_2_stage, gordon_growth_model, and reverse_dcf.
TypeScript¶
All ratios use camelCase: pe, forwardPe, peg, pb, ps, pFcf, enterpriseValue, evEbitda, evEbit, evRevenue, evFcf, grahamNumber, grahamIntrinsicValue, tobinQ.