cap_by_year
Answered against 22 years of US equities and 12 years of US options data and published with the query that produced it. This result is stored as of 2026-09-30, from aapl-market-cap-and-share-count.
| year | market_cap_usd_tn |
|---|---|
| 2021 | 2.933 |
| 2022 | 2.073 |
| 2023 | 2.999 |
| 2024 | 3.794 |
| 2025 | 4.026 |
- Rows × columns
- 5 × 2
- Computed
- Completeness
- No missing values
- Source
- US exchange, SIP and OPRA market data
- Licence
- Strasmore terms · free, no signup
What each column holds
| Column | Type | Range | Notes |
|---|---|---|---|
year |
text | 5 distinct values (2021, 2022, 2023…) | |
market_cap_usd_tn |
number | 2.073 to 4.026 | US dollars |
Computed from Strasmore's warehouse of US exchange, SIP and OPRA market data. Equity prices are delayed; options greeks and implied volatility are end-of-day. This result is stored, not recomputed on load — it is exactly the numbers that were returned on , and the query below is what returned them.
Run it yourself
This is the exact query behind the result above. Change a ticker, a date or a column and run it against the warehouse — no account, no key. The no-signup tier is smaller than the one this page was computed on; a query that reaches past it comes back saying which plan runs it.
WITH
share_counts AS
(
SELECT
toYear(period_end) AS yr,
argMax(toFloat64(diluted_shares_outstanding), (period_end, filing_date)) AS shares_out
FROM global_markets.stocks_income_statements
WHERE has(tickers, 'AAPL')
AND period_end >= '2021-01-01'
AND diluted_shares_outstanding > 0
GROUP BY yr
),
last_prices AS
(
SELECT
toYear(date) AS yr,
argMax(toFloat64(close), date) AS last_close
FROM global_markets.stocks_daily_aggs
WHERE ticker = 'AAPL'
AND date >= '2021-01-01'
GROUP BY yr
)
SELECT
toString(p.yr) AS year,
round(s.shares_out * p.last_close / 1e12, 3) AS market_cap_usd_tn
FROM last_prices AS p
INNER JOIN share_counts AS s ON s.yr = p.yr
ORDER BY year
Work with this data in your AI assistant
Opens ready to query, with this page's data. Free, no account.