Gross Domestic Product (GDP) and GDP per Capita

Initializing live version
Download to Desktop

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram Player or other Wolfram Language products.

This Demonstration calculates the gross domestic product (GDP) based on the four components of the GDP equation:


GDP = consumption + investments + government expenditure + (exports – imports).

The GDP value divided by the population size equals the GDP per capita. While simplistic, this model provides a very clear visual representation of the most widely used metric of economic activity.


Contributed by: Farhan Hossain (March 2019)
Open content licensed under CC BY-NC-SA



Snapshot 1: an economy where imports are greater than exports, leading to a negative net export value

Snapshot 2: a high-performing economy that has a low GDP per capita due to a large population

Snapshot 3: another typical possibility

Torrey Pines High School, Advanced Topics in Mathematics II, 2018–2019

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.