ECON 340 · Public Economics

Public Goods and Cost-Benefit Analysis

Learn why markets underprovide public goods, how to find the right amount, and how cost-benefit analysis judges a project.

Key takeaways

  • A pure public good is non-rival (my use leaves as much for you) and non-excludable (you can't keep non-payers out).
  • Free riding means markets produce too little of public goods, because each person waits for others to pay.
  • The efficient amount is where the sum of everyone's marginal benefit equals the marginal cost, not where one person's benefit does.
  • Cost-benefit analysis adds up a project's benefits and costs over time, discounting the future, and recommends it if the net present value is positive.
  • Good analysis counts real resources, not transfers, avoids double counting, and tests how sensitive the answer is to the assumptions.

The town of Millbrook has a fireworks show every July. A few years ago, the organizers tried asking for donations at the gate. Almost nobody came to the gate. Instead, families spread blankets on a hill just outside the fence, where the sky is exactly as good as inside. The show lost money, and the next year there was no show.

Nobody in Millbrook stopped liking fireworks. The trouble was that nobody could be kept from enjoying them, so nobody had a reason to pay. This is the problem of public goods, and it is the biggest reason economists give for letting governments spend money. In this lesson you will learn what makes a good "public," how to figure out how much of it society should buy, and how a tool called cost-benefit analysis helps decide whether a project is worth doing.

What makes a good public

Two questions sort every good. First, rivalry: if I use it, is there less for you? A sandwich is rival. A radio signal isn't. Second, excludability: can the seller keep non-payers out? A cinema can. A national defense system can't.

Four kinds of goods
Private goods Rival, excludable. Sandwiches, shoes. Markets work well. Club goods Non-rival, excludable. Streaming, toll roads, gyms. Sellers can charge. Common resources Rival, not excludable. Ocean fish, shared pastures. Easily overused. Public goods Non-rival, not excludable. Lighthouses, defense, fireworks. Markets fall short. Private goods Rival, excludable. Sandwiches, shoes. Markets work well. Club goods Non-rival, excludable. Streaming, toll roads, gyms. Sellers can charge. Common resources Rival, not excludable. Ocean fish, shared pastures. Easily overused. Public goods Non-rival, not excludable. Lighthouses, defense, fireworks. Markets fall short.

The top-left corner is the ordinary market. The bottom-right corner is the public good. Real goods often sit in between.

Pure public goods are rarer than people think. A city street can be a public good when empty, but a rival one at rush hour, because every added car slows the others. Many goods are "public" in degrees. The economics works best on the clear cases: national defense, basic research whose results anyone can use, flood control, a lighthouse.

The free-rider problem

A free rider is someone who enjoys a good without paying for it. In Millbrook, every family on the hill is a free rider. If most people think "the others will pay," then not enough money arrives, and the good never appears or shrinks.

Each person's choice is sensible, yet the group loses. It resembles the lighthouse puzzle in the opening lesson. The way out is to make payment compulsory through taxes, so that everyone chips in, and everyone gets the good. That solves the free-rider problem but raises a new one: how much should the government buy?

How much is the right amount?

For an ordinary good, you find the market demand by adding up what everyone will buy at each price. You add the quantities sideways. For a public good, everyone consumes the same amount, so you do the opposite: you add what each person is willing to pay for each unit, stacking the curves up. This is vertical summation.

The efficient quantity is where the total marginal benefit, summed across all people, equals the marginal cost of providing one more unit. This rule is called the Samuelson condition, after the economist Paul Samuelson.

Let's try it with numbers. Two neighbors on a dark street, Ana and Ben, are deciding how many street lamps to put on their block. Quantity is the number of lamps. The values are in hundreds of dollars.

  • Ana's marginal benefit from the Qth lamp: 9 − Q.
  • Ben's marginal benefit: 6 − Q. (Ben is home less at night.)
  • Each lamp costs 7 (that is, $700).

The total marginal benefit while both still gain (up to Q = 6) is (9 − Q) + (6 − Q) = 15 − 2Q.

Set it equal to cost: 15 − 2Q = 7, so 2Q = 8 and Q = 4. Check the first lamp: Ana values it at 8 and Ben at 5, together 13, versus a cost of 7. The fourth lamp: Ana 5 and Ben 2, together 7, equals the cost 7. So four lamps is right. A fifth would add only 4 + 1 = 5 in benefit for a cost of 7.

Adding the neighbors' values vertically
Value or cost (hundreds of $) 4 7 Ana's value Ben's value Total value Cost per lamp Best Ana alone Number of lamps Value or cost (hundreds of $) 4 7 Ana's value Ben's value Total value Cost per lamp Best Ana alone Number of lamps

Now see what happens without government. If Ana decides by herself, she buys lamps until her own value equals the cost: 9 − Q = 7, so Q = 2. Ben, who values the first lamp at 5 and every lamp below the cost of 7, buys none and enjoys Ana's lamps for free. The block gets 2 lamps instead of 4.

The total gains confirm that 4 is better. Total benefit is the area under the total-value curve. For 4 lamps: 15 × 4 − 4² = 60 − 16 = 44, and the cost is 7 × 4 = 28, so the net gain is 16. For 2 lamps: 15 × 2 − 2² = 30 − 4 = 26, and the cost is 14, so the net gain is 12. Moving from 2 to 4 lamps adds 4 (that is, $400) of gain. Free riding left that on the table.

Cost-benefit analysis

Real governments rarely know curves like these. Instead they use cost-benefit analysis: listing a project's benefits and costs, putting dollar values on them, and asking whether benefits exceed costs. The steps are:

  1. Define the project and the alternative. Compare "build" with "don't build" (or with a cheaper version).
  2. List every effect. Who gains and who loses, now and later?
  3. Put a dollar value on each. For things with markets, use prices. For things without them, such as time saved or lives protected, use careful estimates, often called shadow prices.
  4. Discount the future. A dollar next year is worth less than a dollar now, since you could invest today's dollar. Convert future amounts to present value.
  5. Add them up. The net present value (NPV) is the present value of benefits minus costs.
  6. Test the assumptions. Change the key numbers and see if the answer flips.

A worked example

A county is considering a bridge. It costs $10 million today. It saves drivers time and fuel worth $1.5 million each year for 10 years. The county uses a discount rate of 5 percent, a made-up rate for this example. To find the present value of 10 yearly payments of $1.5 million, we use the annuity factor (1 − 1.05⁻¹⁰) ÷ 0.05.

1.05 to the 10th power ≈ 1.6289
1 ÷ 1.6289            ≈ 0.6139
Annuity factor        = (1 − 0.6139) ÷ 0.05 ≈ 7.722
Present value of benefits = 7.722 × $1.5 million ≈ $11.58 million
NPV = $11.58 million − $10 million ≈ +$1.58 million

The NPV is positive, so the bridge passes. Now test the discount rate. At 8 percent the annuity factor is about 6.710, and the benefits are worth 6.710 × 1.5 ≈ $10.07 million. The NPV is only about +$0.07 million, a coin flip. At 10 percent the factor is about 6.145 and the benefits are about $9.22 million, so the NPV is about −$0.78 million, and the bridge fails.

Bridge at a 5 percent discount rate
Benefits (present value) $11.58million Construction cost ($10million) Net present value $1.58million Benefits (present value) $11.58million Construction cost ($10million) Net present value $1.58million

Example with made-up numbers.

The lesson: the answer depends on the discount rate, and reasonable people pick different rates. Good analysts show the NPV at several rates instead of hiding the choice. The discount rate matters most for projects with long timelines, such as climate policy or a dam that lasts a century. For federal guidance in the United States, the Office of Management and Budget publishes the discount rates it expects agencies to use; check its current circulars.

Common mistakes

The following errors trip up many beginners and some professionals.

  • Counting transfers as benefits. If a bridge raises land prices near it, the owners' gain is partly someone else's loss. The real benefit is the time and fuel saved. Moving money from one pocket to another is not a net gain.
  • Double counting. If you count the time saved and the higher property values that reflect that time saving, you've counted the same benefit twice.
  • Ignoring who pays and who gains. A project with a positive NPV may still hurt a group badly. Some analysts add weights so gains to poorer people count more, which links back to social welfare functions.
  • Forgetting that some benefits are hard to price. If you leave out a clean-air benefit because you can't value it, you've given it a value of zero, which is almost surely wrong. Better to include a range, or report it separately.
  • Treating the result as a verdict. CBA is a tool that organizes the evidence, not an oracle. A real decision also depends on law, fairness, and politics, as we see in the lesson on voting.

Words to know

Public good a good that is both non-rival and non-excludable.

Free rider a person who benefits from a good without paying for it.

Vertical summation adding each person's willingness to pay at the same quantity, used to find the total value of a public good.

Samuelson condition the rule that the efficient amount of a public good is where total marginal benefit equals marginal cost.

Cost-benefit analysis a method that compares the dollar value of a project's benefits and costs.

Present value the value today of money that will arrive in the future, after discounting.

Net present value (NPV) the present value of benefits minus the present value of costs.

Check yourself

  1. What two features make a good a pure public good, and why does each cause trouble for a private seller?
  2. In the lamp example, why do we add Ana's and Ben's values vertically rather than sideways?
  3. How many lamps does Ana buy alone, and how many are efficient? Show the equations.
  4. Using the formula in the text, what is the net gain from 4 lamps, and how much does it exceed the gain from 2 lamps?
  5. A project costs $10 million today and brings $1.5 million a year for 10 years. At 5 percent the NPV is about +$1.58 million. Does it pass at 10 percent, and why does the answer change?
  6. Explain why a rise in nearby land values should not simply be added to a bridge's benefits.
Show the answers
  1. Non-rival (one person's use leaves enough for others) and non-excludable (non-payers cannot be kept out); the second lets people free ride, and the first means serving one more user costs nothing, so a price shuts out people who would gain.
  2. Everyone consumes the same number of lamps, so the value of one more lamp to society is the sum of what each person would pay for it.
  3. Alone, Ana sets 9 − Q = 7 so Q = 2; efficient is 15 − 2Q = 7 so Q = 4.
  4. At 4 lamps net gain = 44 − 28 = 16; at 2 lamps it is 26 − 14 = 12; the difference is 4 (hundreds of dollars).
  5. At 10 percent benefits are about 6.145 × 1.5 ≈ $9.22 million, so the NPV is about −$0.78 million and it fails; a higher rate shrinks the value of far-off benefits.
  6. Higher land values mostly reflect the time and fuel saved, which are already counted, and partly a transfer from other places, so adding them double counts.

A free self-study program written for 4Economics with AI writing tools and not reviewed line by line by a person. It is not an accredited degree and awards no credit. Check anything you rely on against a textbook or primary source. Report an error.

In this unit: The role of government

  1. Why Have a Public SectorMarkets do a lot well, but not everything. Learn the four gaps that justify government and the limits on filling them.11 min
  2. Efficiency, Equity and Social Welfare FunctionsLearn how economists separate "bigger pie" from "fairer slices" and use social welfare functions to make value judgments explicit.10 min
  3. Correcting Externalities: Taxes, Permits and RulesSee how a Pigouvian tax, tradable permits and plain rules each fix pollution-type problems, with real arithmetic for each.11 min
  4. Public Goods and Cost-Benefit AnalysisLearn why markets underprovide public goods, how to find the right amount, and how cost-benefit analysis judges a project.10 min
  5. Voting, Majority Rule and Arrow's TheoremMajority rule can go in circles, the middle voter often wins, and Arrow proved no perfect voting system exists.10 min
  6. Public Choice: Politicians, Bureaucrats and LobbiesTreat voters, politicians, officials and lobbyists as ordinary people with goals, and see why good policy sometimes loses.10 min
  7. Federalism: Which Level of Government Does WhatLearn why some jobs belong to the nation and others to states or towns, and how grants link the levels together.10 min
  8. Education as a Public PolicyWhy governments pay for schooling, how to measure what a degree is worth, and the honest debates about vouchers and aid.10 min

In the news