Gross Domestic Product of the United States (US GDP)

Gross Domestic Product (GDP) of the United States (US) both nominal and real on an annual and quarterly basis. Annual data is provided since 1930 and quarterly data since 1947. Both total GDP (levels)...

Report an issue
Downloads
3,677
Last updated
Data files
2
Total size
13.3 kB
Format
csv

Data Views

1 view

GDP percent change based on chained 2017 dollars

Source · core/gdp-us · year

year

quarter

badge

Gross Domestic Product (GDP) of the United States (US) both nominal and real on an annual and quarterly basis. Annual data is provided since 1929 and quarterly data since 1947. Both total GDP (levels) and annualized percentage change in GDP are provided. Both levels and changes are available both in current dollars (nominal GDP) and in chained 2017 dollars (real GDP). Data is sourced from US Government's Bureau of Economic Analysis (BEA) and provided in standardized CSV.

Data

Source: BEA's NIPA flat files (NipaDataA.txt, NipaDataQ.txt at https://apps.bea.gov/national/Release/TXT/), series A191RC (GDP, current dollars), A191RX (real GDP, chained 2017 dollars), A191RP and A191RL (percent change from the preceding period, current and chained dollars; quarterly changes are at seasonally adjusted annual rates). Levels are in billions of dollars. Each change is for the period on its row; the first period has no change. (Before November 2026 the change columns were shifted one period early.)

The calculation of GDP and, in particular, chained measures of GDP involves some complexities. You can read more about the benefits and issues of BEA's Chain Indexes in the BEA's 1997 Survey of Current Business.

Preparation

Requires Python. Install the requirements:

pip install -r scripts/requirements.txt

Then run the script to get the data:

python scripts/process.py

Automation

Up-to-date (auto-updates every month) gdp-us dataset could be found on the datahub.io: https://datahub.io/core/gdp-us

License

Public Domain Dedication and License.

Note we assume source data is public domain as US Federal Government.

API access

Access dataset files directly from scripts, code, or AI agents.

Each file has a stable URL (r-link) that you can use directly in scripts, apps, or AI agents. These URLs are permanent and safe to hardcode.

  1. Fetch datapackage.json to inspect schema and resources
  2. Download data resources listed in datapackage.json
  3. Read README.md for full context
/core/gdp-us/5 files
  • .gitignorehttps://datahub.io/core/gdp-us/_r/-/.gitignore
  • README.mddocumentationhttps://datahub.io/core/gdp-us/_r/-/README.md
  • data/quarter.csvhttps://datahub.io/core/gdp-us/_r/-/data/quarter.csv
  • data/year.csvhttps://datahub.io/core/gdp-us/_r/-/data/year.csv
  • datapackage.jsonmetadata & schemahttps://datahub.io/core/gdp-us/_r/-/datapackage.json