{"slug":"aapl-market-cap-and-share-count","qid":"shares_by_year","label":"shares_by_year","post_title":"aapl-market-cap-and-share-count","post_url":"/blog/lang/ur/aapl-market-cap-and-share-count#q-shares_by_year","columns":["report_year","basic_shares_bn","diluted_shares_bn"],"rows":[{"report_year":"2021","basic_shares_bn":16.392,"diluted_shares_bn":16.519},{"report_year":"2022","basic_shares_bn":15.893,"diluted_shares_bn":15.956},{"report_year":"2023","basic_shares_bn":15.51,"diluted_shares_bn":15.577},{"report_year":"2024","basic_shares_bn":15.082,"diluted_shares_bn":15.151},{"report_year":"2025","basic_shares_bn":14.748,"diluted_shares_bn":14.81}],"shape":"ranking","sql":"SELECT\n    toString(toYear(period_end))                                                             AS report_year,\n    round(argMax(toFloat64(basic_shares_outstanding),   (period_end, filing_date)) / 1e9, 3) AS basic_shares_bn,\n    round(argMax(toFloat64(diluted_shares_outstanding), (period_end, filing_date)) / 1e9, 3) AS diluted_shares_bn\nFROM global_markets.stocks_income_statements\nWHERE has(tickers, 'AAPL')\n  AND period_end >= '2021-01-01'\n  AND basic_shares_outstanding   > 0\n  AND diluted_shares_outstanding > 0\nGROUP BY report_year\nORDER BY report_year","computed_at":"2026-09-30T15:35:41.929738+00:00","elapsed":0.002586737}