ForHosting KIT · Developer Utilities

PEG Ratio Calculator

The PEG ratio calculator divides a stock's price-to-earnings ratio by its expected annual earnings growth rate, entered as a percentage.

● BetaFree · in your browser
Use it from WebAPIEmailTelegramApp soon

It turns two familiar valuation inputs into one compact figure that can help you compare how much investors are paying for anticipated growth. Enter 20 for a 20% growth rate, not 0.20. The result is a screening measure rather than a verdict: forecasts can change, accounting varies, and companies with unstable or negative earnings require different analysis.

What the PEG ratio measures

The price-to-earnings ratio shows how much the market pays for each unit of current or forecast earnings, but it does not by itself describe how quickly those earnings may expand. The price/earnings-to-growth ratio adds that missing context by dividing P/E by the expected annual earnings growth percentage. A company with a P/E of 30 and expected growth of 20% therefore has a PEG ratio of 1.5. This calculator expects the conventional percentage form, so you enter 20 rather than the decimal 0.20. The returned figure lets you compare valuation with a growth estimate on a common scale. Analysts often describe a PEG near 1 as a price roughly in line with the stated growth rate, below 1 as a lower price relative to growth, and above 1 as a higher price relative to growth. Those descriptions are useful labels, not universal buy or sell rules. Sector economics, risk, margins, capital needs, interest rates, forecast horizons, and the quality of earnings can all justify materially different PEG ratios.

How to choose and enter the inputs

Use a P/E ratio and growth estimate that refer to compatible periods. For example, pairing a forward P/E based on next year's consensus earnings with a long-term growth forecast may be informative, but it is not the same calculation as pairing trailing P/E with historical growth. State the basis whenever you record or share the result. Enter only positive, finite values because the conventional PEG ratio becomes misleading when earnings or expected growth are zero or negative. The growth field uses percentage points: an estimate of 12.5% is entered as 12.5. You may select the output precision from zero through ten decimal places; four places is the default. Rounding affects presentation but not the underlying formula. When comparing several stocks, apply the same P/E definition, forecast source, growth horizon, and precision to every company. Consistent assumptions matter more than extra decimal places. If estimates come from different analysts or dates, note that difference before treating the resulting values as directly comparable.

How to interpret the answer responsibly

A lower PEG ratio can suggest that a stock's valuation is modest relative to its expected earnings growth, while a higher value can suggest that the market price embeds more optimism. The calculator reports a simple interpretation based on whether the rounded result is below, equal to, or above 1. That is a convenient screening convention, not an estimate of intrinsic value. Growth forecasts are uncertain and can move sharply after guidance, economic news, acquisitions, or changes in analyst coverage. P/E can also be distorted by one-time charges, cyclical earnings, leverage, buybacks, and accounting choices. Review the source figures and examine cash flow, balance-sheet strength, competitive position, dilution, and forecast dispersion before acting. PEG is most useful when comparing profitable businesses with reasonably stable positive growth expectations and similar economics. It is generally less meaningful for early-stage companies, deeply cyclical firms, businesses with negative earnings, or cases where a small positive growth estimate makes the quotient unusually large. This tool performs arithmetic; it does not provide investment advice or predict returns.

Screen profitable growth stocks

Compare valuation with expected earnings growth using one consistent calculation across a watchlist.

Check an analyst report

Reproduce a published PEG ratio from its stated P/E and growth assumptions before relying on the conclusion.

Test forecast scenarios

Hold P/E constant and vary the expected growth rate to see how optimistic or cautious forecasts change the ratio.

What formula does the calculator use?

PEG ratio equals the price-to-earnings ratio divided by the expected annual earnings growth rate expressed as a percentage.

Should I enter 20 or 0.20 for 20% growth?

Enter 20. The calculator uses percentage points, which is the conventional input for the PEG formula.

What does a PEG ratio of 1 mean?

It means the numeric P/E equals the numeric growth percentage. It is often described as valuation in line with growth, but it is not automatically fair value.

Why are zero and negative values rejected?

Zero growth would require division by zero, while negative earnings or growth makes the conventional PEG interpretation unreliable.

Can I compare PEG ratios from different sources?

Only with care. Confirm that the sources use comparable P/E definitions, growth horizons, currencies, accounting bases, and forecast dates.

How much does an API calculation cost?

Each API request costs $0.002. The same deterministic calculation can run in the browser without a network request.

Everything on this page is available programmatically. This section is for teams who want to wire it into their own systems; everyone else can just use the tool above.

POSThttps://api.kit.forhosting.com/finance/peg-ratio

Prefer to automate it? One authenticated POST creates the task; the result comes back by webhook or a signed link. The same capability also runs here on the web, by email and from Telegram — and soon from our app too.

curl -X POST https://api.kit.forhosting.com/finance/peg-ratio \
  -H "Authorization: Bearer $KIT_KEY" \
  -H "Content-Type: application/json" \
  -d '{"price_earnings_ratio":30,"expected_earnings_growth_rate":20}'
{
  "price_earnings_ratio": 30,
  "expected_earnings_growth_rate": 20
}
{
  "task_id": "tsk_a1b2c3d4e5f6a1b2c3d4e5f6",
  "type": "finance.peg_ratio",
  "status": "queued",
  "_links": {
    "result": "/tasks/tsk_…/result"
  }
}

The API is asynchronous: the call returns a task_id immediately and the result arrives by webhook. Polling is capped at 1 req/s per task.

Per request$0.002

Published price — no tokens, no invented credits. A failed task is never charged.

HTTPCodeMeaning
401unauthorizedMissing or invalid API key.
402insufficient_balanceYour balance doesn't cover the task price.
404unknown_typeThat task type doesn't exist.
429rate_limitedToo many requests. Use the webhook instead of polling.

Read the full KIT documentation →