Walras’s Law: Markets and Money

Table of Contents

    Walras’s law explains why shortages and surpluses in different markets cannot be analyzed as entirely independent plans. A household that wants to buy more of one thing must finance that purchase by selling something, buying less of something else or changing its financial holdings. Adding those budget constraints reveals a relationship across the whole modeled economy.

    The relationship is useful when checking an economic model: the value of excess demand must sum to zero when every relevant item is included and budgets balance. It does not mean every market already clears. This guide works through three goods, then shows why treating money as an asset changes which markets must be counted.

    What Is Walras’s Law?

    A Constraint Across Markets

    Walras’s law states that the price-weighted sum of excess demands is zero in the specified budget-consistent system. Positive excess-demand values in some markets must be offset by negative values elsewhere. Individual quantity gaps can remain large even when their total value is zero.

    Excess demand is the amount people want to acquire or consume minus the amount available under the model’s supply definition, evaluated at the same set of prices. Positive excess demand indicates a shortage; negative excess demand indicates excess supply. A zero gap means the market clears at those prices. [3]

    These are plans, rather than a claim that all proposed trades have happened. The law can hold at prices where plans conflict and markets do not clear. Stanford’s general-equilibrium lecture makes this distinction explicit. [2] For the one-market shortage and surplus framework, start with supply and demand.

    Walras’s Law Formula

    For each good i, let pi be its price, Di(p) its total desired quantity and Si(p) its total supplied quantity at the complete price list p. Define zi(p) = Di(p) − Si(p). With n markets:

    Value-Weighted Aggregate Excess Demand
    Σi=1n pi × zi(p) = 0
    Add the value of each market’s excess demand, using one consistent set of prices and a common unit of value.

    The prices matter because quantities of different goods cannot simply be added. Ten kilograms of wheat, five kilograms of apples and eight meters of cloth are not interchangeable units of output. Multiplying each quantity gap by its own price makes their values comparable.

    Where the identity comes from

    Begin with a closed pure-exchange economy: people trade goods they already own, without production, government, foreign trade or financial assets. For household h, xhi is desired final consumption of good i and ehi is its initial endowment. Assume its budget is exhausted:

    Each Household’s Budget Equality
    Σi=1n pixhi = Σi=1n piehi
    The value of desired consumption equals the value of the household’s initial goods.

    Add this equality across households. Total desired consumption of each good becomes Di; its total endowment becomes Si. Subtract the total endowment value to obtain the excess-demand formula. The author-hosted market-clearing chapter develops this aggregation directly. [1]

    Affordability alone is insufficient for the equality. If people leave part of their wealth unallocated, explain why. In the usual nonsatiated-consumer setup, wanting additional consumption makes the budget bind. If the unspent amount is intended as money or another asset holding, that item belongs in the budget system.

    A Three-Market Excess-Demand Example

    Consider a hypothetical economy with wheat, apples and cloth over one trading round. These are its only three goods; there is no money asset, borrowing or production. Prices are quoted in invented accounting units (AU), a measurement convention rather than something people can hold.

    Supply is the initial endowment. Demand is desired final consumption, including goods people keep for themselves; neither column measures gross trading turnover. All prices are positive, and the plans use the same price list.

    Hypothetical plans at candidate prices
    Market and unit Price (AU/unit) Supply Demand Excess demand Value gap (AU)
    Wheat (kg) 2 100 110 +10 +20
    Apples (kg) 4 50 55 +5 +20
    Cloth (m) 5 40 32 −8 −40
    Total value gap — — — — 0

    The two shortages have values of 20 AU each; the cloth surplus has a value of 40 AU. They offset in value even though none of the three markets clears.

    Check the Values

    Wheat: 2 × (110 − 100) = +20 AU.

    Apples: 4 × (55 − 50) = +20 AU.

    Cloth: 5 × (32 − 40) = −40 AU.

    Walras’s law: 20 + 20 − 40 = 0 AU.

    Total endowment value is 2 × 100 + 4 × 50 + 5 × 40 = 600 AU. Desired consumption costs 2 × 110 + 4 × 55 + 5 × 32 = 600 AU.

    To check individual budgets too, suppose there are two households. Each owns half the endowment, worth 300 AU, and desires half the demand column. Each desired bundle costs 2 × 55 + 4 × 27.5 + 5 × 16 = 300 AU. Both budgets balance, but both households cannot obtain their proposed wheat and apples: their combined demands exceed the available quantities.

    The table establishes consistency with the identity. It does not specify preferences, calculate demand responses to new prices or prove that a particular adjustment will clear the markets.

    Why Clearing n − 1 Markets Clears the Last

    Suppose all but one of the n markets clear at the same candidate prices. Their excess-demand terms are zero, so Walras’s law reduces to:

    The Remaining Market
    pn × zn(p) = 0
    If pn > 0, then zn(p) = 0.
    A strictly positive remaining price lets us infer quantity clearing from a zero value gap.

    For example, suppose a candidate solution clears wheat and apples, and cloth still has a price of 5 AU per meter and an endowment of 40 meters. Budget consistency requires 5 × (Dcloth − 40) = 0, hence Dcloth = 40 meters. This is a conditional check on a proposed solution, rather than a forecast of how the earlier imbalances disappear. [1]

    This redundancy helps when solving general-equilibrium models: one market-clearing equation follows from the others and the budgets. The omitted market still belongs to the economy; its condition is implied, rather than discarded.

    Check Coverage and the Remaining Price

    The result concerns all markets in the complete model. Clearing two selected goods markets in a larger system cannot establish that an omitted money, bond or labor market clears. If the last price is zero, pnzn = 0 does not require zn = 0; some equilibrium definitions allow excess supply of free goods. [3]

    Money vs a Numeraire

    A numeraire chooses the price yardstick

    A numeraire is the good used to express relative prices, conventionally with its price set to one. Divide the example’s prices by cloth’s price of 5. Wheat, apples and cloth then have prices of 0.4, 0.8 and 1 in cloth-based units. The weighted gaps become 0.4 × 10 + 0.8 × 5 − 8 = 0. Relative prices and affordable bundles have not changed. [1]

    Choosing cloth as the numeraire does not require people to use cloth as currency. Money’s functions include serving as a unit of account, a medium of exchange and a store of value; a normalization selects a unit, without automatically modeling payments or asset holdings. [4] The separate money supply and money creation lesson explains actual monetary instruments and banking.

    Money holdings belong in the budget

    Now change the model. Quote goods prices in currency, give households initial currency holdings, and allow them to want currency at the end of the round. Assume a fixed total currency stock, positive currency value, and a reason to hold final balances. Exclude currency issuance, banks, bonds, borrowing, government, production and foreign trade. This budget illustration does not establish why fiat money has value in an equilibrium.

    Each household’s desired goods expenditure plus desired final cash must equal its endowment value plus initial cash. Summing across households gives:

    Goods and Desired Money Holdings
    Σi pi(Di − Si) + (Md − M0) = 0
    Md is total desired final currency; M0 is the existing initial stock. Both are measured in currency units.

    Here the first sum covers nonmoney goods. The money term is desired net accumulation over the round. Money’s nominal price is one currency unit per currency unit, rather than an interest rate; its real purchasing power is a separate question. Initial and final balances are stocks, not annual spending flows.

    Excess Supply of Goods, Excess Demand for Money

    Suppose goods endowments are worth 600 currency units, initial currency is 100 and desired final currency is 130. Budget-consistent desired goods expenditure is 600 + 100 − 130 = 570.

    The goods value gap is 570 − 600 = −30; the money gap is 130 − 100 = +30. Together, −30 + 30 = 0. The full planned budget balances: 570 + 130 = 600 + 100 = 700.

    Every nonmoney good could be in excess supply if people planned to acquire proportionally less of each and hold more money instead. Those plans cannot all be achieved with a fixed currency stock. One person’s receipt of existing currency is another’s payment. The identity identifies the conflicting plans; it does not determine the resulting price or output adjustment.

    Once bonds, lending or a money issuer are added, their budget entries must be included consistently. The IS-LM model supplies a separate behavioral framework for goods and money-market equilibrium. Walras’s law alone does not supply its spending or money-demand schedules.

    Walras’s Law vs Other Equilibrium Tools

    Which question does each framework answer?
    Framework Main question What else is needed?
    Partial equilibrium How do price and quantity balance in one market, holding other influences fixed? Its supply and demand schedules; broader feedbacks may matter.
    Walras’s law Do the value gaps across all modeled markets respect the budgets? Behavior and market-clearing conditions to solve an equilibrium.
    General equilibrium Which prices and allocations make choices consistent across markets simultaneously? Preferences, endowments, technologies where relevant, and explicit model assumptions.
    Circular-flow accounting How do recorded income and expenditure flows reconcile? Separate treatment of plans, including unintended inventory changes.

    The circular flow of income organizes recorded sector flows. Walras’s law here restricts desired bundles at candidate prices. Similarly, a deadweight loss from taxation calculation asks a welfare question; a zero aggregate value gap does not establish that an allocation maximizes welfare.

    How to Apply Walras’s Law

    1. Define the economy and timing. List goods, assets, agents and the trading period. Distinguish initial holdings from desired final holdings.
    2. Write complete budgets. Identify endowments and every source and use of purchasing power. In a production model, include firms and the profits distributed to their owners.
    3. Use consistent candidate prices. Calculate every excess demand from plans evaluated at that same price list. Do not combine one market’s before-change plan with another’s after-change plan.
    4. Weight the gaps by prices. Check signs and units, then sum their values. A nonzero total signals inconsistent inputs, missing budget items or a different set of assumptions.
    5. Test the separate conclusion. For n − 1 clearing, verify full coverage and the remaining positive price. For a prediction, specify the additional behavior and adjustment process.

    Common Mistakes

    • Adding raw quantity gaps. Offset values in a common unit; unrelated goods cannot be pooled as one physical quantity.
    • Reading a zero sum as zero shortages. The three-market example has a zero total value gap and three nonclearing markets.
    • Counting only selected markets. Money and other asset choices cannot be omitted when they finance the plans being studied.
    • Treating a numeraire as a monetary system. Choosing quotation units does not specify money supply, money demand or the price level.
    • Mixing desired and completed trades. Actual purchases have sellers; unexecuted demands and offers are the relevant gaps in this lesson.
    • Turning an identity into an adjustment forecast. A budget relationship supplies neither the speed nor the direction of the whole system’s response.

    Limitations: Existence, Stability and Full Employment

    Existence and uniqueness require more. The identity constrains excess-demand functions but does not, by itself, find a price list that clears every market or prove there is exactly one. Existence results use additional assumptions and mathematical arguments; Starr’s treatment explicitly adds continuity to its stated excess-demand framework. [3]

    Stability is a different question. A model can possess an equilibrium without a proposed price-adjustment process converging to it. The Caltech authors’ discussion of the Scarf example describes an adjustment process that orbits around equilibrium. This is a model-specific counterexample to automatic convergence, not a claim that every real market follows a cycle. [5]

    Actual full employment does not follow. The three-good illustration has no labor market. In a richer model, labor supply, hiring, wages, money and financial constraints must be specified. One cannot infer that everyone who wants a job has one merely because an aggregate budget identity holds. Rationing and realized income constraints also require care when translating desired plans into observed outcomes.

    Use the Identity Within Its Stated Model

    Walras’s law is a consistency condition, not a guarantee of rapid adjustment, efficient outcomes or a particular policy result. A prediction about inflation also requires monetary assumptions beyond choosing a numeraire; the quantity theory of money addresses that separate question.

    Frequently Asked Questions

    Yes, in the stated complete model with budget equalities. At candidate prices, shortages can coexist with surpluses whose values offset. Equilibrium separately requires clearing in each positive-price market, rather than just a zero sum of their values.

    When the budgets balance and n minus one markets clear at the same prices, the identity reduces to the remaining price times its excess demand equaling zero. If that price is strictly positive, its excess demand must also be zero. An omitted market or a zero remaining price prevents that inference.

    Not all positive-price items in the complete budget system can have strictly negative excess demand while their weighted sum is zero. But all nonmoney goods can have excess supply when desired money holdings provide the offsetting positive term. The distinction depends on whether money and other financial choices have been counted.

    No. A model can quote prices in units of cloth or another good without using that item to settle transactions. Choosing a numeraire is a normalization. Modeling currency as an asset additionally requires holdings, budgets and assumptions about why people want it.

    No. Budget consistency does not establish that desired goods sales occur, that hiring reaches full employment or that prices adjust toward equilibrium. The money-holdings example shows how excess supply of goods can coexist with a zero aggregate value gap. Explaining a recession requires a richer behavioral model and evidence.

    Sources

    1. Matthias Doepke, Andreas Lehnert and Andrew Sellgren: Macroeconomics, chapter 5, The Market-Clearing Model, author-hosted manuscript. Sections 5.1–5.3: pure exchange, price normalization and the redundant market-clearing equation.
    2. Jay Bhattacharya, Stanford Econ 11: Lecture 17, Spring 2001. Slides 9–12: nonequilibrium budget identity, relative prices and equation-counting caveats.
    3. Ross M. Starr: Existence of General Equilibrium in an Economy With an Excess Demand Function, December 9, 2009 lecture document. Excess-demand definitions, budget structure, free goods and additional existence assumptions.
    4. Federal Reserve Education: Functions of Money, undated public transcript. Unit of account, medium of exchange and store of value.
    5. Anderson, Granat, Plott and Shimomura: Global Instability in Experimental General Equilibrium: The Scarf Example, March 2000 working-paper record and author abstract. A specified adjustment process can orbit rather than converge to equilibrium.

    Sources accessed November 15, 2026 UTC. Numerical examples and the money-budget extension are independently derived hypothetical illustrations, not reported U.S. market data.

    Disclaimer

    This article is for educational and informational purposes only and does not constitute investment or policy advice. The simplified models and hypothetical quantities do not predict actual prices, employment or economic outcomes. Applying them requires appropriate assumptions and evidence.