Skip to content

Macroeconomics

Solow growth model

The Solow steady state with Cobb-Douglas technology, the golden rule and the speed of convergence, and growth accounting into capital, labour, human capital and the TFP residual.

Model id
macro.solow_growth, version 1
Domain
Macroeconomics
Evidence
standard
Cost class
instant: A closed-form calculation; a hosted run may take up to 2 seconds.

Formula

k∗=(sn+g+δ)11−α,y∗=k∗αk^* = \left(\frac{s}{n + g + \delta}\right)^{\frac{1}{1-\alpha}}, \quad y^* = k^{*\alpha}c∗=(1−s) y∗,sgold=αc^* = (1 - s)\,y^*, \quad s_{\mathrm{gold}} = \alphaλ=(1−α)(n+g+δ),t1/2=ln⁡2λ\lambda = (1 - \alpha)(n + g + \delta), \quad t_{1/2} = \frac{\ln 2}{\lambda}Δln⁡Y=α Δln⁡K+(1−α)(Δln⁡L+Δln⁡h)+Δln⁡A\begin{aligned} \Delta \ln Y &= \alpha\,\Delta \ln K + (1 - \alpha)(\Delta \ln L + \Delta \ln h) \\ &\quad + \Delta \ln A \end{aligned}

Where

k∗k^*
Steady-state capital for each effective worker capital_per_effective_worker
ss
Saving rate saving_rate
nn
Population growth rate population_growth
gg
Growth rate of technology technology_growth
δ\delta
Depreciation rate depreciation
α\alpha
Capital's share of income capital_share
y∗y^*
Steady-state output for each effective worker output_per_effective_worker
c∗c^*
Steady-state consumption for each effective worker consumption_per_effective_worker
sgolds_{\mathrm{gold}}
The golden-rule saving rate, which makes steady-state consumption largest golden_rule_saving_rate
λ\lambda
Speed of convergence to the steady state, per year convergence_speed
t1/2t_{1/2}
Half-life of the gap to the steady state, in years half_life
Δln⁡Y\Delta \ln Y
Growth of output output_growth
Δln⁡K\Delta \ln K
Growth of capital capital_growth
Δln⁡L\Delta \ln L
Growth of labour labour_growth
Δln⁡h\Delta \ln h
Growth of human capital for each worker human_capital_growth
Δln⁡A\Delta \ln A
Growth of total factor productivity: the Solow residual tfp_growth

Each symbol's field is named beside it; the inputs and outputs, with their units and bounds, are under Variables, and the citations give each formula's source.

Variables

Rates, returns and yields are decimals: 0.05 is five percent. Bounds in brackets include their end; in parentheses they exclude it.

Inputs

The steady state and convergence (steady_state): 6 inputs
Inputs of the calculation steady_state
NameDescription
CalculationcalculationtextThe steady state and convergence
Saving ratesaving_rateratio · [0, 1]s, the share of output saved and invested
Capital sharecapital_shareratio · [0.01, 0.95]Alpha, capital's share of income (the Cobb-Douglas exponent)
Depreciationdepreciationrate · [0, 0.5]Delta, per year
Population growthpopulation_growthrate · [-0.1, 0.2]n, per year
Technology growthtechnology_growthrate · [-0.1, 0.2]g, the growth of labour-augmenting technology per year
Growth accounting and the TFP residual (growth_accounting): 8 inputs
Inputs of the calculation growth_accounting
NameDescription
CalculationcalculationtextGrowth accounting and the TFP residual
Output growthoutput_growthreturn (array) · length min 1, max 500; each [-0.99, 10]Growth of real output each period, Y(t) / Y(t-1) - 1
Capital growthcapital_growthreturn (array) · length min 1, max 500; each [-0.99, 10]Growth of the capital stock each period
Labour growthlabour_growthreturn (array) · length min 1, max 500; each [-0.99, 10]Growth of labour input (persons or hours) each period
Human capital growthhuman_capital_growthreturn (array) · each [-0.99, 10]Growth of human capital per worker each period; none when left out
Labour sharelabour_sharerate (array) · each [0, 1]Labour's share of income each period; capital's is one less it
Capital sharecapital_shareratio · [0, 1]A constant capital share, in place of labour_share
Methodmethodtext'log' accounts in log growth, ln(1 + g); 'discrete' in the growth rates themselves, Solow's (1957) arithmetic

Outputs

The steady state and convergence (steady_state): 10 outputs
Outputs of the calculation steady_state
NameDescription
CalculationcalculationtextThe steady state and convergence
Capital per effective workercapital_per_effective_workerratio · [0, 1e+15]k*
Output per effective workeroutput_per_effective_workerratio · [0, 1e+15]y* = k* ** alpha
Consumption per effective workerconsumption_per_effective_workerratio · [0, 1e+15]c* = (1 - s) y*
Capital output ratiocapital_output_ratioratio · [0, 1e+15]k* / y* = s / (n + g + delta)
Golden rule saving rategolden_rule_saving_rateratio · [0, 1]The saving rate that maximizes c*: alpha
Golden rule capitalgolden_rule_capitalratio · [0, 1e+15]k* at the golden-rule rate; None when it passes the bound
Golden rule consumptiongolden_rule_consumptionratio · [0, 1e+15]c* at the golden-rule rate; None when its capital does
Convergence speedconvergence_speedrate · (0, 1]Lambda = (1 - alpha)(n + g + delta): the share of the gap to the steady state closed a year
Half lifehalf_lifeyears · (0, 1e+06]Years to close half the gap to the steady state, ln 2 / lambda
Growth accounting and the TFP residual (growth_accounting): 10 outputs
Outputs of the calculation growth_accounting
NameDescription
CalculationcalculationtextGrowth accounting and the TFP residual
Output growthoutput_growthrate · [-100, 100]Output growth, the average per period
Capital contributioncapital_contributionrate · [-100, 100]Capital's share times capital growth, the average per period
Labour contributionlabour_contributionrate · [-100, 100]Labour's share times labour growth, the average per period
Human capital contributionhuman_capital_contributionrate · [-100, 100]Labour's share times human capital growth, the average per period
TFP growthtfp_growthrate · [-100, 100]The residual: output growth less the contributions
TFP sharetfp_shareratio · [-1e+15, 1e+15]TFP growth over output growth; None with no output growth
TFP indextfp_indexindex_level (array) · length max 500; each (0, 1e+15]TFP at the end of each period, relative to its start (1.0)
Average capital shareaverage_capital_shareratio · [0, 1]The capital share, averaged over the periods
Periodsperiodscount · [1, 500]Periods accounted for

Calculator

Run the model on your own inputs, starting from its example. Rates are decimals: 0.05 is five percent. The run goes to the pyeconomics API on this site: your values travel only in the request, and nothing is stored.

Loading the calculator…

Worked example

Alpha of one third, n of 1%, g of 2% and delta of 5% a year.

Example textbook_steady_state. Inputs:

{
  "calculation": "steady_state",
  "capital_share": 0.3333333333333333,
  "depreciation": 0.05,
  "population_growth": 0.01,
  "saving_rate": 0.25,
  "technology_growth": 0.02
}

Outputs:

{
  "calculation": "steady_state",
  "capital_output_ratio": 3.125,
  "capital_per_effective_worker": 5.524271728019901,
  "consumption_per_effective_worker": 1.3258252147247764,
  "convergence_speed": 0.053333333333333344,
  "golden_rule_capital": 8.50517271799714,
  "golden_rule_consumption": 1.3608276348795434,
  "golden_rule_saving_rate": 0.3333333333333333,
  "half_life": 12.996509635498972,
  "output_per_effective_worker": 1.7677669529663687
}

Assumptions

  • Constant returns and Cobb-Douglas technology, with technology labour-augmenting; the steady state is in units of effective labour.
  • Growth accounting weights each period's input growth by that period's share (one less the labour share, or a constant capital share), averages over the periods, and leaves TFP as the residual.
  • Profiles: default binds 30 years of the Penn World Table's US growth of real GDP (rgdpna), the capital stock (rnna), persons engaged (emp) and human capital (hc), and its labour share; ca, de, fr, gb, it and jp bind the same for those economies.

Limitations

  • The residual measures everything the inputs miss, mismeasurement included, not technology alone.
  • The PWT labour share is the share of the year that ends the growth period, not a two-year average; persons engaged are not hours.
  • A steady state needs n + g + delta above zero; one that would pass 1e15 per effective worker, or a half-life past a million years, raises DomainError, as does a TFP index that leaves (0, 1e15]. A golden rule past 1e15 leaves its levels None, with a warning.

Evidence

Status: standard. Textbook consensus, such as bond duration or the CAPM formula.

Every model declares one status: standard (textbook consensus), practitioner (a widely used convention), contested (under active debate), rejected (failed out of sample) or historical (a superseded methodology).

Syllabus

The 2027 CFA® Program's topic areas this model relates to, as factual tags. Each links to CFA Institute's page for its level; pyeconomics holds none of the curriculum's text.

Data

This model can read its data for you: each bound field names a data series, and the sources listed can fill it, in the order they are tried. This website reads only the sources whose terms let it serve their data (marked "hosted"); every source is available when you run pyeconomics on your own computer.

Profile: Default
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, the United Statespwt.rgdpna.us.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, the United Statespwt.rnna.us.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, the United Statespwt.emp.us.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, the United Statespwt.hc.us.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, the United Statespwt.labsh.us.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: Canada (ca)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, Canadapwt.rgdpna.ca.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, Canadapwt.rnna.ca.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, Canadapwt.emp.ca.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, Canadapwt.hc.ca.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, Canadapwt.labsh.ca.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: Germany (de)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, Germanypwt.rgdpna.de.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, Germanypwt.rnna.de.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, Germanypwt.emp.de.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, Germanypwt.hc.de.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, Germanypwt.labsh.de.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: France (fr)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, Francepwt.rgdpna.fr.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, Francepwt.rnna.fr.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, Francepwt.emp.fr.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, Francepwt.hc.fr.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, Francepwt.labsh.fr.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: United Kingdom (gb)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, the United Kingdompwt.rgdpna.gb.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, the United Kingdompwt.rnna.gb.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, the United Kingdompwt.emp.gb.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, the United Kingdompwt.hc.gb.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, the United Kingdompwt.labsh.gb.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: Italy (it)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, Italypwt.rgdpna.it.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, Italypwt.rnna.it.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, Italypwt.emp.it.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, Italypwt.hc.it.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, Italypwt.labsh.it.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)
Profile: Japan (jp)
FieldConceptRead asSources (licence class; hosted)
output_growthPWT real GDP, Japanpwt.rgdpna.jp.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
capital_growthPWT real capital stock, Japanpwt.rnna.jp.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_growthPWT employment, Japanpwt.emp.jp.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
human_capital_growthPWT human capital index, Japanpwt.hc.jp.annualthe last 30 observations on or before the date; real time: as published by the datetransform pct_change
  • Penn World Table (hosted-safe; hosted)
labour_sharePWT labour share, Japanpwt.labsh.jp.annualthe last 30 observations on or before the date; real time: as published by the date
  • Penn World Table (hosted-safe; hosted)

Citations

  1. Solow, R. M. (1956). A Contribution to the Theory of Economic Growth. Quarterly Journal of Economics, 70(1), 65-94. doi:10.2307/1884513 (Section IV, the Cobb-Douglas example and its equilibrium ratio)
  2. Solow, R. M. (1957). Technical Change and the Aggregate Production Function. Review of Economics and Statistics, 39(3), 312-320. doi:10.2307/1926047 (Equation (4) and Table 1: the residual and the index A(t), 1909-1949)
  3. Mankiw, N. G., Romer, D. and Weil, D. N. (1992). A Contribution to the Empirics of Economic Growth. Quarterly Journal of Economics, 107(2), 407-437. doi:10.2307/2118477 (Section III: the speed of convergence, (n + g + delta)(1 - alpha))
  4. Phelps, E. S. (1961). The Golden Rule of Accumulation: A Fable for Growthmen. American Economic Review, 51(4), 638-643; reprinted in Studies in Macroeconomic Theory, Vol. 1, Academic Press (1980), 23-28. doi:10.1016/b978-0-12-554002-5.50007-8 (The saving rate that maximizes steady-state consumption)
  5. Feenstra, R. C., Inklaar, R. and Timmer, M. P. (2015). The Next Generation of the Penn World Table. American Economic Review, 105(10), 3150-3182. doi:10.1257/aer.20130954 (Real GDP, capital stock, persons engaged, human capital, labour share)

Changelog

  • Version 1: First version.

Use it elsewhere

Documentation
The model's reference page
REST API
GET or POST /v1/models/macro.solow_growth/run
MCP tool
run_model with the model's id, macro.solow_growth. Connect an assistant
Command line
pyeconomics models run macro.solow_growth --help

The worked example, from Python and from the command line:

Python
import pyeconomics

inputs = {
    "calculation": "steady_state",
    "capital_share": 0.3333333333333333,
    "depreciation": 0.05,
    "population_growth": 0.01,
    "saving_rate": 0.25,
    "technology_growth": 0.02,
}
result = pyeconomics.run("macro.solow_growth", inputs)
print(result.to_json())
Command line
pyeconomics models run macro.solow_growth --inputs - <<'JSON'
{
  "calculation": "steady_state",
  "capital_share": 0.3333333333333333,
  "depreciation": 0.05,
  "population_growth": 0.01,
  "saving_rate": 0.25,
  "technology_growth": 0.02
}
JSON