★ MONEY · INVESTING · RATIOS

Stock Ratios Calculator: P/E, P/B, Yield, PEG & D/E

P/E 20.00, P/B 3.00, dividend yield 2.00%, PEG 2.00, and debt-to-equity 0.50 at the defaults — five ratios from one share price of $120.00. Enter the share price, earnings per share, book value per share, dividend per share, expected earnings growth, total debt, and total equity, and this calculator gives you the five ratios investors actually quote — and shows what each one means, with a value stock, a growth stock, a dividend stock, and a distressed one for comparison. This completes the ratios cluster: liquidity, profitability, and operations ratios already have their own calculators, and stock ratios finish the set.

664

Stock ratios — what five numbers say about one company

P/E is price divided by earnings per share: $120.00 ÷ $6.00 is 20.00 — you pay $20.00 for each $1.00 of annual earnings. P/B is price divided by book value per share: $120.00 ÷ $40.00 is 3.00 — you pay $3.00 for each $1.00 of net assets on the books. Dividend yield is dividend per share divided by price: $2.40 ÷ $120.00 is 2.00% — the dividend returns 2.00% of the price a year. PEG is P/E divided by earnings growth: 20.00 ÷ 10 is 2.00 — the price-to-earnings ratio is twice the growth rate. Debt-to-equity is total debt divided by total equity: $50B ÷ $100B is 0.50 — the company owes 50 cents for each dollar of equity. Five ratios, one company, and none of them is a verdict on its own: a P/E of 20.00 is cheap for a company growing 25% a year and dear for one growing 4%.

The current share price in dollars. The default is $120.00. Used for P/E, P/B, and dividend yield.

Earnings per share over the last year, in dollars. The default is $6.00. Enter a negative number for a loss-making company; P/E then shows as n/a.

Book value per share in dollars — (total assets minus total liabilities) divided by shares outstanding. The default is $40.00. A negative value makes P/B n/a.

The annual dividend per share in dollars. The default is $2.40. Enter $0 for a stock that pays no dividend; the yield is then 0.00%.

Expected earnings growth in percent a year. The default is 10%. Enter 0 or a negative number and PEG shows as n/a.

Total debt in billions of dollars. The default is $50B. Used for debt-to-equity only.

Total equity (shareholders' equity) in billions of dollars. The default is $100B. Used for debt-to-equity only.

Stock ratiosP/E 20.00 · P/B 3.00 · yield 2.00% · PEG 2.00 · D/E 0.50.P/E 20.00; P/B 3.00; dividend yield 2.00%; PEG 2.00; debt-to-equity 0.50. PEG under 1 is often called cheap and over 2 often called pricey — a rule of thumb, not a rule.

P/E: 20.00

P/B: 3.00

Yield: 2.00%

PEG: 2.00

D/E: 0.50

P/E 20.00 and PEG 2.00 at the settings above. P/B 3.00, dividend yield 2.00%, debt-to-equity 0.50 — five ratios, one company, and none of them is a verdict on its own.

Value stock — price $45, EPS $5.00, BVPS $30, DPS $1.80, growth 5%, debt $30B, equity $100B: P/E 9.00, P/B 1.50, yield 4.00%, PEG 1.80, D/E 0.30.

Growth stock — price $350, EPS $7.00, BVPS $25, DPS $0, growth 25%, debt $20B, equity $100B: P/E 50.00, P/B 14.00, yield 0.00%, PEG 2.00, D/E 0.20.

Dividend stock — price $80, EPS $4.80, BVPS $20, DPS $3.20, growth 4%, debt $80B, equity $100B: P/E 16.67, P/B 4.00, yield 4.00%, PEG 4.17, D/E 0.80.

Distressed — price $12, EPS -$1.50, BVPS $8, DPS $0, growth -5%, debt $250B, equity $100B: P/E n/a (earnings negative), P/B 1.50, yield 0.00%, PEG n/a, D/E 2.50.

How the stock ratios work

The five ratios all answer one question: what are you paying for, and what are you getting? P/E is price divided by earnings per share — $120.00 ÷ $6.00 is 20.00 — and it says you pay $20.00 for each $1.00 of annual earnings, or about 20 years of current earnings for the whole company. P/B is price divided by book value per share — $120.00 ÷ $40.00 is 3.00 — and it says you pay $3.00 for each $1.00 of net assets on the books. Dividend yield is dividend per share divided by price — $2.40 ÷ $120.00 is 2.00% — and it says the dividend returns 2.00% of the price a year, before any price change. PEG is P/E divided by earnings growth — 20.00 ÷ 10 is 2.00 — and it says the price-to-earnings ratio is twice the growth rate. Debt-to-equity is total debt divided by total equity — $50B ÷ $100B is 0.50 — and it says the company owes 50 cents for each dollar of equity. The ratios only make sense together: a P/E of 20.00 with 10% growth is a PEG of 2.00, while the same P/E with 25% growth is a PEG of 0.80.

The worked example, line by line

Setup: share price $120.00, EPS $6.00, book value per share $40.00, dividend per share $2.40, earnings growth 10% a year, total debt $50B, total equity $100B.

Line 1 — P/E. $120.00 ÷ $6.00 = 20.00.

Line 2 — P/B. $120.00 ÷ $40.00 = 3.00.

Line 3 — dividend yield. $2.40 ÷ $120.00 = 2.00%.

Line 4 — PEG. 20.00 ÷ 10 = 2.00.

Line 5 — debt-to-equity. $50B ÷ $100B = 0.50.

Branch — value stock: P/E $45.00 ÷ $5.00 = 9.00; P/B $45.00 ÷ $30.00 = 1.50; yield $1.80 ÷ $45.00 = 4.00%; PEG 9.00 ÷ 5 = 1.80; D/E $30B ÷ $100B = 0.30.

Branch — growth stock: P/E $350.00 ÷ $7.00 = 50.00; P/B $350.00 ÷ $25.00 = 14.00; yield $0.00 ÷ $350.00 = 0.00%; PEG 50.00 ÷ 25 = 2.00; D/E $20B ÷ $100B = 0.20.

Branch — dividend stock: P/E $80.00 ÷ $4.80 = 16.67; P/B $80.00 ÷ $20.00 = 4.00; yield $3.20 ÷ $80.00 = 4.00%; PEG 16.67 ÷ 4 = 4.17; D/E $80B ÷ $100B = 0.80.

Branch — distressed: P/E is n/a — earnings are -$1.50, and a negative P/E is not a valuation; P/B $12.00 ÷ $8.00 = 1.50; yield 0.00%; PEG is n/a — growth is -5%; D/E $250B ÷ $100B = 2.50.

Stock ratios by company type

CompanyP/EP/BYieldPEGD/E
Default20.003.002.00%2.000.50
Value stock9.001.504.00%1.800.30
Growth stock50.0014.000.00%2.000.20
Dividend stock16.674.004.00%4.170.80
Distressedn/a1.500.00%n/a2.50

The table shows why no single ratio is a verdict. The growth stock's P/E of 50.00 looks expensive until you see the PEG of 2.00 — the same PEG as the default company at a P/E of 20.00 — because the growth stock earns its multiple with 25% growth. The dividend stock's PEG of 4.17 looks expensive, but it pays 4.00% a year in cash while you wait. The value stock's P/E of 9.00 and PEG of 1.80 look cheap, but the growth is only 5% — the market may be right. And the distressed company's P/B of 1.50 looks like a bargain until you see the D/E of 2.50 and the negative earnings: the book value may not survive the debt. Compare each ratio against the same company's history and against its peers, never against an absolute number.

Rounding convention, stated plainly: all five ratios are shown to two decimals, and the PEG is computed from the unrounded P/E divided by the growth rate — so the dividend stock's PEG is 16.6667 divided by 4, which is 4.17, not 16.67 divided by 4. A P/E of 0 or negative shows as n/a, never as a number; the same goes for P/B with a book value of 0 or negative, and PEG with growth of 0 or negative. A dividend of $0 is a real 0.00% yield, not n/a.

Output · formula · meaning

OutputFormulaWhat it means
P/E ratioPrice ÷ EPS20.00 at the defaults.
P/B ratioPrice ÷ BVPS3.00 at the defaults.
Dividend yieldDPS ÷ price2.00% at the defaults.
PEG ratio(P/E) ÷ growth2.00 at the defaults.
Debt-to-equityDebt ÷ equity0.50 at the defaults.
Value stock branchSame formulas, value inputs9.00, 1.50, 4.00%, 1.80, 0.30.
Growth stock branchSame formulas, growth inputs50.00, 14.00, 0.00%, 2.00, 0.20.
Dividend stock branchSame formulas, dividend inputs16.67, 4.00, 4.00%, 4.17, 0.80.
Distressed branchSame formulas, distressed inputsP/E n/a, 1.50, 0.00%, PEG n/a, 2.50.
EPS of $0Price ÷ 0P/E shows as n/a — division by zero handled, not a crash.
Negative book valuePrice ÷ negative BVPSP/B shows as n/a.
Growth of 0%(P/E) ÷ 0PEG shows as n/a.

Who uses this

  • The value hunter: finds a stock at $45.00 with EPS of $5.00 and learns the P/E is 9.00, the P/B is 1.50, and the yield is 4.00% — and that the PEG of 1.80 means the market is pricing in only 5% growth, so the question is whether the market is wrong.
  • The growth investor: looks at a $350.00 stock with a P/E of 50.00 and learns the PEG is 2.00 — the same as the default company at a P/E of 20.00 — because 25% growth earns the multiple, and the P/B of 14.00 says the market is paying for ideas, not assets.
  • The income investor: finds a stock paying $3.20 a year on an $80.00 price and learns the yield is 4.00% — but the PEG of 4.17 says the price has already run ahead of the 4% growth, so the income is real and the growth is priced in.
  • The distress checker: sees a $12.00 stock with negative earnings and learns the P/E is n/a — not a bargain, just unmeasurable — while the D/E of 2.50 and the P/B of 1.50 say the book value may not survive the debt.

Accuracy & limitations

The math is exact for the numbers you enter: P/E is price over EPS, P/B is price over book value per share, yield is DPS over price, PEG is P/E over growth, and D/E is debt over equity. But the inputs carry the assumptions. EPS should be the last twelve months' earnings, not a single quarter annualized — a one-off gain or loss in one quarter distorts the whole ratio. Book value is an accounting number, not a market one: it counts factories at cost minus depreciation, and it counts nothing for a brand, a patent, or a network — which is why a software company's P/B of 14.00 can be fair and a steel mill's P/B of 1.50 can be a trap. PEG is the roughest of the five: it divides a price ratio by a growth forecast, and the forecast is a guess — PEG under 1 is often called cheap and over 2 often called pricey, as a rule of thumb, not a rule. A PEG of 2.00 with 10% growth is not the same as a PEG of 2.00 with 25% growth, because the growth itself is less certain at 25%. Debt-to-equity uses book debt and book equity; a company with off-balance-sheet leases looks safer than it is. Compare these ratios inside one industry and over time, never across industries: a bank at a P/E of 9.00 and a software company at a P/E of 50.00 can both be fairly priced. This completes the ratios cluster — liquidity, profitability, and operations ratios each have their own calculator on this site, and stock ratios finish the set. This is an educational tool, not financial advice.

Cite this calculatorBright Side Kit. “Stock Ratios Calculator: P/E, P/B, Yield, PEG & D/E.” brightoolbox.com, 2026. Formulas: P/E = price / EPS; P/B = price / book value per share; dividend yield = DPS / price; PEG = (P/E) / earnings growth; D/E = total debt / total equity. Ratios shown to two decimals; PEG computed from the unrounded P/E.Bright Side Kit. "Stock Ratios Calculator: P/E, P/B, Yield, PEG & D/E." https://brightoolbox.com/stock-ratios-calculator/ Accessed October 24, 2026.
Embed this calculator

Paste this into any web page to embed the live calculator. The “Powered by Bright Side Kit” link below it must stay intact.

Frequently asked questions

How do I calculate the P/E ratio?

Divide the share price by earnings per share. At the defaults, $120.00 ÷ $6.00 is 20.00 — you pay $20.00 for each $1.00 of annual earnings. A value stock at $45.00 with EPS of $5.00 has a P/E of 9.00; a growth stock at $350.00 with EPS of $7.00 has a P/E of 50.00.

What is a good P/E ratio?

It depends on the growth: a P/E of 20.00 with 10% growth is a PEG of 2.00, while a P/E of 50.00 with 25% growth is also a PEG of 2.00 — the same price for the growth. A P/E of 9.00 with 5% growth is a PEG of 1.80. Compare P/E against growth and against the same company's history, never against an absolute number.

What is the PEG ratio?

P/E divided by earnings growth. At the defaults, 20.00 ÷ 10 is 2.00. PEG under 1 is often called cheap and over 2 often called pricey — as a rule of thumb, not a rule. The growth rate is a forecast, so the PEG is only as good as the forecast behind it.

How do I calculate dividend yield?

Divide the annual dividend per share by the share price. At the defaults, $2.40 ÷ $120.00 is 2.00%. A dividend stock at $80.00 paying $3.20 yields 4.00%; a growth stock paying nothing yields 0.00% — which is a real number, not an error.

What is the P/B ratio?

Price divided by book value per share. At the defaults, $120.00 ÷ $40.00 is 3.00 — you pay $3.00 for each $1.00 of net assets on the books. A value stock runs 1.50; a growth stock runs 14.00, because the market pays for ideas, not assets.

What does debt-to-equity tell me?

How much the company owes against what it owns. At the defaults, $50B of debt against $100B of equity is 0.50 — 50 cents owed per dollar of equity. A value stock runs 0.30; a distressed company runs 2.50, which is the warning sign to check before anything else.

Why is P/E n/a for a loss-making company?

Because a negative P/E is not a valuation — dividing a price by negative earnings gives a negative number that means nothing. This calculator shows n/a when EPS is $0 or negative, and the same for P/B with a negative book value and PEG with zero or negative growth.

Can one ratio tell me if a stock is cheap?

No — and that is the point of this calculator. The growth stock's P/E of 50.00 looks expensive until the PEG of 2.00 shows the growth earns it; the distressed company's P/B of 1.50 looks cheap until the D/E of 2.50 shows the debt. Read all five together, against the company's history and its peers.