Home › Investing & Real Estate › Stock Valuation Ratios Calculator
Stock Valuation Ratios Calculator
Computes the common per-share valuation ratios of a stock from its price and fundamentals: price-to-earnings and earnings yield, price-to-book, price-to-sales, dividend yield and payout ratio, PEG and EV/EBITDA, each only when its inputs are supplied.
When to use
You have a share price and per-share fundamentals and want the standard multiples to compare a stock with peers or its own history.
Do not use when: You want an intrinsic value from cash flows or dividends (use dcf-valuation or gordon-growth) or a dividend income projection (use dividend-yield). Informational only; not financial advice.
Formula
pe = share_price / earnings_per_share; earnings_yield = 100 / pe; pb = share_price / book_value_per_share; ps = share_price / sales_per_share; dividend_yield = dividend_per_share / share_price × 100; payout = dividend_per_share / earnings_per_share × 100; peg = pe / earnings_growth_percent; ev_to_ebitda = enterprise_value / ebitda
Plain multiples with no adjustments; use trailing or forward figures consistently (a forward P/E with trailing growth gives an inconsistent PEG). Informational mathematics only; not financial advice.
Inputs
| Parameter | Type | Unit | Required | Description |
|---|---|---|---|---|
share_price | number | yes | Current market price per share. Range: > 0, ≤ 10000000 | |
earnings_per_share | number | yes | Annual net income per share (trailing or forward); negative EPS gives no P/E. Range: ≥ -1000000, ≤ 1000000 | |
book_value_per_share | number | no | Shareholders' equity per share, for the P/B ratio. Range: > 0, ≤ 10000000 | |
sales_per_share | number | no | Annual revenue per share, for the P/S ratio. Range: > 0, ≤ 10000000 | |
dividend_per_share | number | no | Annual dividend per share, for the yield and payout ratio. Range: ≥ 0, ≤ 1000000 | |
earnings_growth_percent | number | % per year | no | Expected annual EPS growth in percent, for the PEG ratio. Range: ≥ -100, ≤ 1000 |
enterprise_value | number | no | Market capitalization plus debt minus cash, for EV/EBITDA. Range: ≥ 0, ≤ 1000000000000000 | |
ebitda | number | no | Earnings before interest, taxes, depreciation and amortization (total, same currency as enterprise value). Range: ≥ -1000000000000000, ≤ 1000000000000000 |
Outputs
| Output | Type | Unit | Description |
|---|---|---|---|
pe_ratio | number | share_price / earnings_per_share (omitted when EPS ≤ 0). | |
earnings_yield_percent | number | % | earnings_per_share / share_price × 100 (negative for a loss). |
pb_ratio | number | share_price / book_value_per_share. | |
ps_ratio | number | share_price / sales_per_share. | |
dividend_yield_percent | number | % | dividend_per_share / share_price × 100. |
payout_ratio_percent | number | % | dividend_per_share / earnings_per_share × 100 (only when EPS > 0). |
peg_ratio | number | pe_ratio / earnings_growth_percent (only when P/E exists and growth > 0). | |
ev_to_ebitda | number | enterprise_value / ebitda (only when EBITDA > 0). |
Example
Price 50, EPS 2.5, book value 20, dividend 1: {"share_price":50,"earnings_per_share":2.5,"book_value_per_share":20,"dividend_per_share":1} → {"pe_ratio":20,"earnings_yield_percent":5,"pb_ratio":2.5,"dividend_yield_percent":2,"payout_ratio_percent":40}
Price 120, EPS 4, growth 15 %, book 30, sales 60, EV 9 bn, EBITDA 600 M: {"share_price":120,"earnings_per_share":4,"earnings_growth_percent":15,"book_value_per_share":30,"sales_per_share":60,"enterprise_value":9000000000,"ebitda":600000000} → {"pe_ratio":30,"earnings_yield_percent":3.33,"peg_ratio":2,"pb_ratio":4,"ps_ratio":2,"ev_to_ebitda":15}
GET https://tttkmbb.com/api/v1/calculate/valuation-ratios?share_price=50&earnings_per_share=2.5&book_value_per_share=20÷nd_per_share=1
Machine access
- API:
GET https://tttkmbb.com/api/v1/calculate/valuation-ratios(query parameters) orPOSTwith a JSON body{"inputs": {...}} - Schema: https://tttkmbb.com/api/v1/calculators/valuation-ratios · Markdown: https://tttkmbb.com/investing/valuation-ratios.md · JSON definition: https://tttkmbb.com/investing/valuation-ratios.json
- MCP: server
https://tttkmbb.com/mcp, toolrun_calculator with calculator_id="valuation-ratios" - OpenAPI operationId:
calculate_valuation_ratios - Freshness:
static. Authentication: none. Rate limit: fair use (see rate limits).
Sources
- Wikipedia – Price–earnings ratio (reference)
- Wikipedia – PEG ratio (reference)
- Wikipedia – EV/EBITDA (reference)
FAQ
Why is there no P/E for a loss-making company?
A negative P/E has no useful meaning, so it is omitted; the earnings yield is still reported as a negative percentage and P/S or EV/EBITDA can be used instead.
How is the PEG ratio read?
It divides the P/E by the growth rate in percent: a P/E of 30 with 15 % growth gives 2. Values around 1 are often taken as growth-adjusted fair value, though the rule is a heuristic.
Related calculators
- Dividend Yield Calculator — Dividend income and reinvestment projection.
- Gordon Growth Model Calculator — Value from dividends and growth.
- DCF Valuation Calculator — Value from projected free cash flow.