> ## Documentation Index
> Fetch the complete documentation index at: https://kalpi.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Portfolio P/E & P/B Ratio

> Evaluate the aggregated fundamental valuation multiples of your algorithmic strategy.

While most backtesters only look at historical price data, the Kalpi Portfolio Analysis engine calculates the live, aggregated fundamental valuation of your specific asset basket. The two most critical fundamental anchors are the **Price-to-Earnings (P/E)** and **Price-to-Book (P/B)** ratios.

## How Kalpi Aggregates Fundamentals

You cannot simply average the P/E ratios of 10 different stocks. Kalpi calculates a **Weighted Harmonic Mean** for your portfolio to ensure that companies with negative earnings or massive valuations do not mathematically distort the reality of your basket.

<CardGroup cols={2}>
  <Card title="Portfolio P/E (Price/Earnings)" icon="money-bill-trend-up">
    Measures how much you are paying for ₹1 of aggregated corporate earnings. A highly elevated P/E relative to your benchmark means your strategy is deeply tilted toward expensive "Growth" stocks.
  </Card>

  <Card title="Portfolio P/B (Price/Book)" icon="book-bookmark">
    Measures your portfolio's valuation relative to its raw net asset value. A P/B heavily below the benchmark indicates your strategy is structurally tilted toward deep "Value" or distressed assets.
  </Card>
</CardGroup>

## The Strategic Benchmark Cross-Check

Inside the *Overview* tab, Kalpi directly pits your Portfolio P/E against your chosen Benchmark index.

If your algorithmic strategy generates a 20% CAGR but has a Portfolio P/E of **65.0**, while the Nifty 50 has a P/E of **22.0**, your strategy is taking on massive fundamental valuation risk to achieve those returns. If market liquidity dries up, high-P/E portfolios are typically the first to suffer severe drawdowns.
