Climate Change: Simple, Serious, Solvable › Models
Climate Damage: Compounding vs Discounting
Suppose climate change slows the world's economic growth by a hair, every year. A century later the hotter world is only a little poorer than the cooler one. What's all that damage worth today? Change the growth rates and the discount rate, and see how much it would pay to spend now to avoid it.
A cooler world, a hotter world and the gap between them
- The cooler world
- The hotter world
- Damage each year
- Its value today
Move over the graph, or select it and use the arrow keys, to read values.
Damage that slows growth. In this model, climate change doesn't knock the world's income down once. It makes the economy grow a little more slowly every year, and the loss compounds like interest. Box 14.1 in Chapter 14 of the book asks why that changes the answer so much.
This is a very simple model. It has two growth rates and a discount rate, and nothing else: no temperatures, no emissions and no cost of avoiding the damage. The About tab has every equation.
About this model
This is a very simple model of economic growth, climate damage and discounting. It compares two worlds. In the cooler world, climate change is avoided and the world's income grows at a steady rate. In the hotter world, climate damage makes it grow a little more slowly. The gap between the two incomes, year by year, is the damage.
Then the model asks what all that future damage is worth today. Economists answer with discounting, which is compound interest run backward: a dollar of damage counts for less the farther in the future it is. Add up every year's damage, discounted to today, and you get the most it would be worth spending this year to avoid it. Spend less than that, and you come out ahead.
The page opens on the example in Box 14.1 of Chapter 14, "Planetary Prosperity". The world's income is $100 trillion a year. It grows at 2.50% a year in the cooler world and at 2.49% in the hotter one. A century from now the hotter world's income is only 1.0% lower. But discount every year's loss at a hefty 4.5% a year and add them up, and the damage is worth $14.8 trillion today.
Most of the models economists use to price carbon treat damage differently. Damage there takes a bite out of each year's income, but it doesn't slow the growth that follows, and income growing exponentially soon outruns it. Several groups of economists have found that damage that slows growth itself changes the answer dramatically. Chapter 14 tells that debate, and it says why the discount rate is an ethical choice as well as a technical one.
How to use this page
The page has one view, "Damage and its value today". It has three graphs, one above the other, that share the years along the bottom. The top graph shows the world's income in the cooler world and the hotter world. The middle graph shows the damage each year, which is the gap between them. The bottom graph shows each year's damage discounted to its value today. The shaded area under it is all of those values added up.
You can change five things:
- Growth in a cooler world, from 1% to 5% a year. The page opens at 2.5%.
- How much slower a hotter world grows, from 0.01 to 1 percentage point. The page opens at 0.01, so the hotter world grows at 2.49% a year.
- The discount rate, from 0% to 7% a year. The page opens at 4.5%. Three buttons under it set rates that economists have argued for, which Chapter 14 describes: "Stern's 1.4%", "The experts' median, 2%" and "Nordhaus's 5.5%".
- The world's income this year, from $50 trillion to $200 trillion. The page opens at $100 trillion.
- The years to add up, from 50 to 300. The page opens at 100.
Move over the graph to read the numbers for one year. Or select the graph and press the left or right arrow key. The first press starts halfway along, and each press after it moves a year, or ten years with Shift. Below the graph, a few lines give the incomes at the end, the damage added up and its value today. "Back to the book's example" puts every control back where it started.
The address in your browser changes as you move the controls, so you can bookmark a view or send it to someone. Nothing is sent anywhere as you work.
This page is part of the website for Climate Change: Simple, Serious, Solvable, an open textbook by Scott Denning. It goes with Chapter 14, "Planetary Prosperity".
The equations
You don't need any of this to use the page. But the whole model is a handful of short equations, and you can follow every one of them with a calculator.
The model asks one question: if climate change slows the world's growth a little, what is all the damage it does over the coming years worth today?
You choose five things:
- rcool, the growth rate in the cooler world, as a fraction a year: 2.5% a year is 0.025
- p, the penalty: how much slower the hotter world grows, as a fraction a year, so 0.01 percentage point is 0.0001
- rdisc, the discount rate, as a fraction a year
- G0, the world's income this year, in trillion dollars a year
- T, the number of years to add up
There are only two other letters. t is the time from now, in years. And e is the number 2.718…, the base of the natural logarithm. Your calculator has a key for ex.
1. How big is the world's income each year?
An income that grows by the same share every year grows exponentially. In the cooler world, t years from now, it's
trillion dollars a year. This is the compound interest of Chapter 14, done smoothly, all through the year, instead of once a year. The hotter world grows a little more slowly, at
so its income is
At the start, when t is 0, both incomes are G0, because e0 is 1. Then the cooler world pulls slowly ahead. That's the top graph.
2. How much does the hotter world lose each year?
The damage in year t is the gap between the two incomes:
trillion dollars. That's the middle graph. The damage grows for two reasons: the gap between the growth rates compounds, and it compounds on an income that keeps getting bigger. As a share of the cooler world's income, the damage is s = D ÷ Gcool, which works out to
The share depends only on the penalty and the time, not on how fast the world grows or how rich it is. With a penalty of 0.0001, after 100 years pt is 0.01, and s is 1.0%: the hotter world's income is 1.0% lower.
3. What is one year's damage worth today?
This is Chapter 14's formula for discounting: the present value is the future value times e−rt. Here the future value is the damage in year t, so its value today is
trillion dollars. That's the bottom graph. The minus sign makes the discount shrink each year's damage more and more the farther away it is. So two things pull against each other. The damage grows as the years go by, and in the long run it grows as fast as the cooler world's income. The discount shrinks it, at the rate rdisc. When the discount rate is higher than the cooler world's growth rate, the discount wins in the end: the bottom graph rises at first and then falls. When it isn't, the bottom graph keeps rising.
4. What is all the damage worth today?
Add up the value today of every year's damage, from now to T years from now. The model adds smoothly, as the incomes grow, so the total is the area under the bottom graph. Each piece of step 3 is an exponential, and the area under an exponential has a formula of its own. Together they give
trillion dollars. The first fraction is the cooler world's income, discounted and added up over the years, for each trillion it starts with. The second is the hotter world's. V is the most it would be worth spending this year to avoid the damage. With the discount rate set to 0, the same formula adds up the damage without discounting it.
The two fractions are nearly the same size, and V is the small gap between them. So keep plenty of digits until you subtract, as the worked example below does.
Where the equations stop
When the discount rate equals one of the growth rates, the bottom of one fraction in step 4 is zero, and so is its top. The formula then reads 0 ÷ 0, which has no value. But the sum it stands for is easy: each year's income, discounted, is just G0, and T years of that is G0 × T. So the model uses T for that fraction. Try a discount rate right next to the growth rate, and the formula comes out very close to T too.
This is a toy, and it leaves a lot out.
- No temperature and no emissions. The penalty starts today and never changes. Real warming builds up over decades, and so would the damage it does to growth.
- No cost of avoiding the damage. The cooler world gets its faster growth for free. V is the most it would be worth spending, not what avoiding the damage would cost. Many economic models assume the opposite of this page: that money spent cutting emissions comes out of investment, so the world that avoids climate change grows a little more slowly. Chapter 14 tells that side too.
- One discount rate for every year. Many economists favor discount rates that fall over time, for the longest horizons.
- Steady growth for centuries. When the discount rate is no higher than the cooler world's growth, every year's damage is worth more today than the year before. Then the total keeps growing for as many years as you add up, and the number of years matters as much as anything else on the page.
A worked example
Open the page and leave the controls alone. The summary under the graph says the damage is worth $14.8 trillion today. Here's where that comes from.
- The hotter world's growth (step 1). rhot = 0.025 − 0.0001 = 0.0249.
- The cooler world, discounted and added up (step 4). rcool − rdisc = 0.025 − 0.045 = −0.02. Times 100 years, that's −2, and e−2 = 0.135335. So the first fraction is (0.135335 − 1) ÷ (−0.02) = 43.2332.
- The hotter world, the same way (step 4). rhot − rdisc = 0.0249 − 0.045 = −0.0201. Times 100 years, that's −2.01, and e−2.01 = 0.133989. So the second fraction is (0.133989 − 1) ÷ (−0.0201) = 43.0851.
- The gap (step 4). 43.2332 − 43.0851 = 0.1481. Times G0, which is 100, that's V = 14.81.
That's $14.8 trillion, the number in the summary under the graph and in Box 14.1.
A few details
- Smooth, not year by year. The model grows, discounts and adds up smoothly. Adding up whole years instead, from this year to year 99, gives $14.7 trillion on the page as it opens, against the model's $14.8 trillion.
- Money. All of it is in today's dollars. The discount rate is over and above any adjustment for inflation, as Chapter 14 says.
- The graphs. They're drawn a year at a time. The page writes damage under $1 trillion in billions.
See the equations at work
- A loss that rises and falls. On the page as it opens, read the bottom graph. Each year's damage, valued today, rises to $183 billion in year 50 and falls to $135 billion by year 100. The damage itself keeps growing, but after year 50 the discount shrinks it faster (step 3).
- The discount rate decides. Press the three buttons under the discount rate. At "Nordhaus's 5.5%" the damage is worth $8.9 trillion today. At "The experts' median, 2%" it's $70.0 trillion, and at "Stern's 1.4%" it's $107.1 trillion, 12 times as much. Nothing else changed.
- No discounting at all. Set the discount rate to 0. Every year's damage now counts in full, and over 100 years they add up to $307.2 trillion, which is the same total the summary gives as the damage not discounted.
- Ten times the penalty. Go back to the book's example and set the penalty to 0.1 percentage point. After 100 years the hotter world's income is 9.5% lower, and the damage is worth $144.5 trillion today. Set the discount rate to 2% too, and it's $678.8 trillion: these are the settings Scott's first version of this model opened on.
- Today's world. Go back to the book's example and set the world's income to $118 trillion, about what it was in 2025. Everything scales with G0 (step 4), and the damage is worth $17.5 trillion today, as Box 14.1 says.
- A longer future. Go back to the book's example and add up 300 years instead of 100. The total rises only from $14.8 trillion to $24.4 trillion, because at 4.5% a year the far future hardly counts. Now set the discount rate to 2% as well. The total is $1,282 trillion, against $70.0 trillion for 100 years at 2%, because at 2% the damage grows faster than the discount shrinks it.
Where the numbers come from
The model has no data. Its numbers are the ones in Box 14.1 of Chapter 14. World income of $100 trillion is a round number. The International Monetary Fund put it at about $118 trillion in 2025. The three discount rates under the slider are the ones Chapter 14 describes: about 1.4% a year from the Stern Review, about 5.5% from William Nordhaus, and 2%, the median that more than 200 experts on discounting recommended for the long term when Moritz Drupp and colleagues surveyed them.
The idea of damage that slows growth isn't new to this page. These papers explore it with full economic models:
Moyer, E. J., Woolley, M. D., Matteson, N. J., Glotter, M. J., and Weisbach, D. A. (2014). Climate impacts on economic growth as drivers of uncertainty in the social cost of carbon. Journal of Legal Studies 43(2), 401–425. doi:10.1086/678140
Dietz, S., and Stern, N. (2015). Endogenous growth, convexity of damage and climate risk: how Nordhaus' framework supports deep cuts in carbon emissions. The Economic Journal 125(583), 574–620. doi:10.1111/ecoj.12188
And this one is the survey of experts on discounting:
Drupp, M. A., Freeman, M. C., Groom, B., and Nesje, F. (2018). Discounting disentangled. American Economic Journal: Economic Policy 10(4), 109–134. doi:10.1257/pol.20160240
How it was checked
A set of tests comes with the model, and they run every time the page changes. Here's what they hold it to.
- The code, against a second copy. The tests have the equations written out a second time, in another programming language. At every setting they try, the two copies agree to within a billionth.
- The formula in step 4, against adding up the long way. The tests cut the years into 100,000 thin slices and add up the area under the bottom graph slice by slice. The two agree to within a millionth, including when the discount rate equals a growth rate.
- The model, against its first version. Scott's first version of this model was a web app written in R. The tests hold this page to what that app worked out at 144 settings, and they agree to within a millionth, except at the 58 settings where the app had a mistake. When a growth rate came within 1 percentage point of the discount rate, the app swapped in a gap of 1 percentage point, to avoid dividing by zero. That's right only when the gap really is 1 percentage point. On its own opening settings it said $1,569 trillion, where the right answer is $678.8 trillion. This page uses the formula's true value there instead, as the part called Where the equations stop explains.
- The model, against the book. Box 14.1 and its figure give about $15 trillion today, incomes about 12 trillion dollars a year apart after a century, and a yearly loss, valued today, that rises to about 180 billion dollars. The page as it opens gives $14.8 trillion, $12.1 trillion and $183 billion.
- This tab, against the model. Every equation above is tried with the model's own numbers. The worked example is done again from the rounded numbers a calculator would use. And each number in the text is worked out again from the model.
The code
The code is small enough to read. Two files do all the work, and they use no outside software. The comments in model.js use the same step numbers and letters as the equations above.
model.js is the science: the four steps, and a run of them a year at a time.
app.js is the page: the controls, the graph and the lines under it.
To keep a copy, save model.js or app.js.
All of the model's code is on GitHub, at github.com/airscottdenning/climate-models. You're free to use it, change it and teach with it.
Credits
By Scott Denning, for Climate Change: Simple, Serious, Solvable.
The model is Scott Denning's, and it began as a web app written in R. Claude, from Anthropic, rebuilt it to run in your browser and checked it against that app and against the book. The rebuild fixed the app's answer when a growth rate is near the discount rate, and three slips in the equations it showed.