# 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.

- Calculator id: `valuation-ratios` · Category: Investing & Real Estate (`investing`) · Tool name: `calculate_valuation_ratios`
- Canonical page: https://tttkmbb.com/investing/valuation-ratios · This document: https://tttkmbb.com/investing/valuation-ratios.md · JSON definition: https://tttkmbb.com/investing/valuation-ratios.json

## Purpose

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.

**Use when:** 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.

## Input

| Parameter | Type | Unit | Required | Description |
| --- | --- | --- | --- | --- |
| `share_price` | number |  | required | Current market price per share. (> 0, max 10000000) |
| `earnings_per_share` | number |  | required | Annual net income per share (trailing or forward); negative EPS gives no P/E. (min -1000000, max 1000000) |
| `book_value_per_share` | number |  | optional | Shareholders' equity per share, for the P/B ratio. (> 0, max 10000000) |
| `sales_per_share` | number |  | optional | Annual revenue per share, for the P/S ratio. (> 0, max 10000000) |
| `dividend_per_share` | number |  | optional | Annual dividend per share, for the yield and payout ratio. (min 0, max 1000000) |
| `earnings_growth_percent` | number | % per year | optional | Expected annual EPS growth in percent, for the PEG ratio. (min -100, max 1000) |
| `enterprise_value` | number |  | optional | Market capitalization plus debt minus cash, for EV/EBITDA. (min 0, max 1000000000000000) |
| `ebitda` | number |  | optional | Earnings before interest, taxes, depreciation and amortization (total, same currency as enterprise value). (min -1000000000000000, max 1000000000000000) |

## Output

| Field | 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). |

## 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.

## Data Sources

- Wikipedia – Price–earnings ratio — https://en.wikipedia.org/wiki/Price%E2%80%93earnings_ratio (reference, retrieved 2026-09-24)
- Wikipedia – PEG ratio — https://en.wikipedia.org/wiki/PEG_ratio (reference, retrieved 2026-09-24)
- Wikipedia – EV/EBITDA — https://en.wikipedia.org/wiki/EV/Ebitda (reference, retrieved 2026-09-24)

Data freshness: `static`. Deterministic formula with fixed constants; results never go stale. Inputs supplied by the caller determine the output.

## API

- `GET https://tttkmbb.com/api/v1/calculate/valuation-ratios?share_price=…&earnings_per_share=…`
- `POST https://tttkmbb.com/api/v1/calculate/valuation-ratios` with JSON body `{"inputs": {…}}`
- Response: unified envelope (`success`, `request`, `result.values`, `result.units`, `sources`, `freshness`, `timestamp`, `next_actions`, `links`); see https://tttkmbb.com/docs/response-format.md
- Schema: https://tttkmbb.com/api/v1/calculators/valuation-ratios · OpenAPI operationId `calculate_valuation_ratios` in https://tttkmbb.com/openapi.json
- Authentication: none. Rate limit: fair use, see https://tttkmbb.com/docs/rate-limits.md.

## MCP

- Server: `https://tttkmbb.com/mcp` (Streamable HTTP, JSON-RPC 2.0, no auth)
- Tool:  `run_calculator` with `{"calculator_id": "valuation-ratios", "inputs": {…}}`

## Example

- Price 50, EPS 2.5, book value 20, dividend 1: inputs `{"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: inputs `{"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&dividend_per_share=1
```

## Limitations

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. 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. All values are computed from the formula above; no measurement or live data is involved.

## 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

- [Dividend Yield Calculator](https://tttkmbb.com/finance/dividend-yield.md) — Dividend income and reinvestment projection.
- [Gordon Growth Model Calculator](https://tttkmbb.com/investing/gordon-growth.md) — Value from dividends and growth.
- [DCF Valuation Calculator](https://tttkmbb.com/investing/dcf-valuation.md) — Value from projected free cash flow.
