nvidia market cap chart and pe ratio chart (calculate - dont use pre-saved)
I'll fetch NVIDIA's price and shares outstanding data to compute market cap and P/E ratio. Let me start by loading what I need.Now I'll compute market cap (price × shares outstanding) using quarterly shares merged with daily prices, and then calculate the TTM P/E ratio.The first rows are null because the earliest quarterly shares data starts Jan 31, 2020. Let me verify there's data further in and check at the tail.I see the issue — the merge_asof needs the earliest shares data to cover early 2020. Let me check what happened with the merge on a later date range by looking at the mid section.Market cap is computing but P/E is still null — TTM needs 4 quarters of net income. Let me check when the first valid P/E appears.Data is valid from November 2020 onward. The nulls in early 2020 are expected — insufficient quarterly data for TTM. Now let me also get the tail to see latest values, then chart.Now let me chart both market cap and P/E ratio. I'll create two separate chart panels.
Market Cap: Currently ~$5.18 trillion (as of Jul 15, 2026), up from ~$150B in early 2020 — a remarkable ascent driven by the AI boom and data center dominance.
TTM P/E Ratio: Currently ~32.5x. The P/E has compressed significantly from the 80–90x range in late 2020/early 2021 as earnings growth outpaced the stock. After peaking around mid-2024, the multiple has come down substantially even as the stock continued to rise — reflecting NVIDIA's extraordinary earnings delivery.
give on 2 separate charts
- Market Cap — NVIDIA's market cap trajectory from 2020 to present, currently ~$5.18T
- TTM P/E Ratio — Computed daily, currently ~32.5x, showing how the multiple has compressed from 80–90x in 2020 as earnings surged