From Sand to Answers
Chapter Nine

Yield and the price of a chip

One speck of dust can ruin a chip. Follow the arithmetic of good and bad chips, and you learn why a big AI chip costs so much and why only a few companies can afford to build fabs.

20 min read4,550 words1 interactive figure

Picture a finished wafer, fresh from months in the fab. It is a mirror-bright disc the size of a dinner plate, and on it sit hundreds of identical rectangles, each one a complete processor. Every one of them went through the same thousand steps, in the same machines, in the same air.

And yet some of them will never work.

Somewhere on that wafer a particle far smaller than a grain of flour landed at the wrong moment. A layer came out a few atoms too thin. A tiny wire was etched slightly too narrow. Each of these flaws can kill the rectangle it sits on, and nothing can bring it back.

This chapter is about that quiet game of chance. It turns out to explain a surprising amount: why large AI chips are so expensive, why chip designers now split chips into pieces, and why the world has only a handful of companies at the leading edge of chipmaking.


Yield in plain words

A wafer holds many copies of the same chip. While the copies are still part of the wafer, each one is called a dieone copy of a chip on the wafer, before the wafer is cut; the plural is "dies". After the wafer is cut apart, each die becomes a chip.

Not every die works. A speck of dust, a scratch, or a small error in one layer can stop a die from working. Each of these problems is called a defectany flaw that stops a die from working: a particle, a scratch, a broken wire, a bad layer.

A finished 300 mm wafer with many copies of an Intel processor die
A finished 300 mm wafer with Intel Core processors. Each small rectangle is one die. The partial dies at the round edge are lost. Photo: Intel in Deutschland, CC BY-SA 2.0, via Wikimedia Commons.

Yieldthe percentage of dies on a wafer that work correctly is the share of dies that work. If a wafer carries 100 dies and 90 of them pass their tests, the yield is 90%.

Why does one percentage matter so much? Because the fab pays roughly the same to process every wafer, but it can only sell the good chips. Every extra percent of yield is almost pure profit. Yield is the single most important number in a fab.

A software analogy helps. Think of a build that sometimes fails at random. You still pay for every build minute, but you only ship the successful builds. Halve the failure rate and your cost per shipped build drops, without anyone writing a single new line of code.

Tiles on a sheet of glass

Here is the key idea, in a picture you can hold in your head.

Imagine a large sheet of glass. A handful of small stones fall on it at random. Now you cut the sheet into tiles, and any tile with a stone on it is broken.

  • If you cut small tiles, most of them have no stone. Only a few are broken.
  • If you cut large tiles, each tile covers more glass, so each one is much more likely to have a stone. Many are broken.

Chips behave exactly like this. The number of defects on a wafer is roughly the same whatever you print on it. Large chips simply cover more of them.

 Same defects on both wafers (x = defect)

  Small chips: 2 of 18 broken         Large chips: 4 of 4 broken
 ┌──┬──┬──┬──┬──┬──┐                 ┌─────┬─────┐
 │  │  │x │  │  │  │                 │     │ x   │
 ├──┼──┼──┼──┼──┼──┤                 │  x  │     │
 │  │  │  │  │  │  │                 ├─────┼─────┤
 ├──┼──┼──┼──┼──┼──┤                 │  x  │   x │
 │  │  │  │  │x │  │                 │     │     │
 └──┴──┴──┴──┴──┴──┘                 └─────┴─────┘

The diagram is simplified, but the lesson is real. The same scattering of defects that barely dents a wafer of small chips can wipe out a wafer of large ones.


Worked example: a small chip and a large chip

Numbers make this vivid, so let us work one through. We compare two chips made on the same 300 mm wafer:

  • Chip A is 100 mm², about the size of a phone processor.
  • Chip B is 800 mm², about the size of a large AI GPU die.

Chip B is eight times larger. Is it eight times more expensive? Let us see.

Step 1: how many dies fit on the wafer?

A wafer is round, but dies are rectangles. Around the curved edge, some dies are cut off and wasted, like the broken biscuits at the edge of a round baking tray. Big dies waste more of the edge, because each one is harder to fit into the curve.

Chip A fits about 640 dies on the wafer. Chip B fits only about 64. Being eight times larger costs a factor of ten in the count, because of that extra edge loss.

Go deeper: the dies-per-wafer formula

Engineers use a standard approximation:

Dies per wafer ≈ (π × r²) ÷ A − (π × d) ÷ √(2 × A)

Here r is the wafer radius (150 mm), d is the diameter (300 mm) and A is the die area in mm². The first term is the wafer area divided by the die area. The second term subtracts the dies lost around the edge.

Chip A (100 mm²)Chip B (800 mm²)
Wafer area ÷ die area70,686 ÷ 100 ≈ 70770,686 ÷ 800 ≈ 88
Edge loss942 ÷ 14.1 ≈ 67942 ÷ 40 ≈ 24
Dies per waferabout 640about 64

Step 2: how many dies work?

Now the defects. The simplest way to model them is to assume they land at random, like raindrops. This gives the Poisson yield modela simple formula that treats defects as falling at random, so the chance a die escapes them all falls off exponentially with its area.

The model has one input besides the die area: the defect densitythe average number of killer defects per square centimetre of wafer. We use 0.1 defects per square centimetre, a figure often quoted for a mature, well-run process. (It is an illustrative assumption; real values vary by fab, process and month.)

With that, Chip A comes out at about 90% yield and Chip B at about 45%. So:

  • Chip A: 640 × 0.90 ≈ 579 good dies per wafer.
  • Chip B: 64 × 0.45 ≈ 29 good dies per wafer.
Go deeper: the Poisson model

Yield = e^(−A × D), where A is the die area in square centimetres and D is the defect density per square centimetre.

Chip A: A = 1 cm², A × D = 0.1, yield = e^(−0.1) ≈ 0.905. Chip B: A = 8 cm², A × D = 0.8, yield = e^(−0.8) ≈ 0.449.

Real fabs use refined models (Murphy, negative binomial) because defects tend to cluster, which is slightly kinder to big dies. The simple model is pessimistic for large chips, but the shape of the result holds.

Step 3: what does each good chip cost?

A processed wafer at the most advanced nodes is very expensive. Industry reports in 2025 put TSMC's 2 nm wafers at about $30,000, with 3 nm wafers somewhere around $20,000 to $27,000 depending on the source. These are reported estimates, not published prices. We use $25,000 as a round middle figure.

Chip AChip B
Wafer cost$25,000$25,000
Good dies57929
Silicon cost per good chipabout $43about $860

There it is. Chip B is eight times larger, but its silicon costs about twenty times more. Two effects multiply: fewer dies fit on the wafer, and a smaller share of them work.

This is one of the main reasons a large AI chip is so expensive. And this is only the bare silicon. Memory, packaging and testing add much more later (see chapter 11).

Step 4: what if the whole wafer is one chip?

Now try something outrageous. The company Cerebras makes a single chip from almost an entire wafer: about 46,225 mm², or 462 cm².

Feed that into the formula and the yield is e^(−46), a number so close to zero that you would need to make about a hundred billion billion wafers to expect one perfect chip. A normal design of this size could never work.

And yet Cerebras ships these chips. How? With a trick called redundancy, which is the first of three ways engineers win back yield.


Three ways to win back yield

Fabs and designers do not simply accept bad dies as a loss. They have three clever ways to sell more of every wafer.

Spare parts

The first is to build in spares. Redundancyadding extra copies of parts that repeat many times, so a broken copy can be switched off and a spare used instead works like a spare tyre in a car boot.

  • Memory chips carry spare rows and columns of memory cells. During testing, a machine finds the bad rows, and a laser or an electrical fuse reroutes each one to a spare.
  • Cerebras builds its wafer from hundreds of thousands of tiny cores and adds roughly 1–1.5% extra. The on-chip network simply routes data around dead cores. A defect now costs one tiny core instead of the whole wafer. Its current chip has about 970,000 physical cores, of which 900,000 are used.
  • Large GPUs often contain more processor blocks than the product switches on. The bad blocks are quietly disabled.

In software terms, this is like running a service on a cluster with a few extra servers. When one machine fails, the load balancer routes around it, and the user never notices.

Binning

The second trick is to sort chips into grades. After testing, each chip goes into a "bin" according to what it can do. Binningsorting tested chips into grades by how many parts work and how fast they run, then selling each grade as a different product is why one design can become a whole product family.

  • A chip with every core working and a high clock speed becomes the top model.
  • A chip with two bad cores has them switched off and becomes a cheaper model.
  • A chip that only runs reliably at a lower speed becomes a still cheaper model.

Many processor families do exactly this. Often the only difference between two products on a shop shelf is the result of a test.

Yield learning

The third method is patient detective work. When a fab starts a new process, yields are often low at first, sometimes in the range of 20% to 50%. Engineers then study every failed die, group the failures by type, trace each type to its cause and fix it.

This yield learningthe slow work of finding and removing the causes of defects, which raises yield over months and years can take one to two years. It is one of the least glamorous and most valuable skills in the industry. A fab that learns faster than its rivals earns more from every single wafer.


Why a fab costs so much to build

How much does it cost to build a building that makes chips? The honest answer is: more than almost any other factory on Earth.

A modern leading-edge fab costs from about $10 billion to more than $20 billion. A few real figures show the scale:

ExampleAmountYear
TSMC capital spending in one yearabout $40.9 billion2025
TSMC planned capital spending$52–56 billion2026 (guidance)
TSMC's announced total investment in Arizonaabout $165 billionannounced 2025
Micron's announced US manufacturing and research planabout $200 billionannounced 2025
World sales of chipmaking equipmentabout $133 billion2025 (SEMI estimate)
World sales of chipmaking equipmentabout $145 billion2026 (SEMI forecast)
Aerial view of the GlobalFoundries fab complex in Dresden, Germany
The GlobalFoundries fab complex in Dresden, Germany, from the air. The large flat buildings hold the cleanrooms. The car parks show that thousands of people work there. Photo: Fensterblick, CC BY-SA 3.0, via Wikimedia Commons.

Where the construction money goes

Most of the money does not go into the building. It goes into the machines inside it.

PartRough share of costWhy it is expensive
Machinesabout 70–80%A fab needs hundreds of machines. A standard EUV lithography machine costs up to about $200 million, and the newest high-NA version is reported at around $380–400 million. Many other machines cost $5–50 million each.
Building and cleanroomabout 15–20%The air must be far cleaner than an operating theatre, the floor must not vibrate, and a whole floor below holds pumps, gases, chemicals and water systems.
Ramp-upabout 5–10%For many months the fab makes wafers it cannot sell while thousands of engineers bring the yield up.

These shares are rough industry rules of thumb, not audited figures. You can read about the machines in chapter 7 and the building in chapter 6.

Depreciation: machines that age fast

Accountants have a word for spreading the cost of a machine across its useful life: depreciationcounting the cost of an expensive machine a little at a time, over the years it is expected to be useful. Fabs usually depreciate their machines over about five years.

That makes the early years very heavy. Take a fab that cost $15 billion, with about three-quarters of that in machines. Spread over five years, the machines alone cost more than $2 billion a year. The fab has to sell enough good chips to cover that, in good years and bad.

And the clock never stops. A new process generation arrives every two years or so, and each one needs new machines. A software team that had to replace all its servers every five years, whatever the traffic, would feel the same pressure.

Mask sets: a big bill before the first chip

Lithography prints each layer of a chip through a maska glass plate carrying the pattern for one layer of a chip, like a stencil that light shines through. A chip at an advanced node needs many dozens of masks, often 60 to more than 80.

A full mask set for a 3 nm-class chip is estimated at roughly $15–40 million, and the total cost of designing an advanced chip is often estimated in the hundreds of millions of dollars. (Both are industry estimates; companies rarely publish them.) This is a cost you pay before you have sold a single chip, so only products that sell in very large numbers can use the most advanced nodes.


The costs that continue every week

Building the fab is a one-time bill. Running it is a bill that never ends, and that ongoing money keeps a huge ecosystem of suppliers in business.

CostWhat it includesA note
Parts and consumablesQuartz rings, ceramic parts, electrodes, seals, filtersPlasma slowly eats chamber parts. Technicians swap them every few weeks; service companies clean and recoat them a few times before they are replaced.
ServiceRepair and maintenanceThe service arms of the large machine makers each earn billions of dollars a year.
MaterialsWafers, gases, chemicals, photoresist, polishing slurries and padsUsed continuously. See chapter 1.
UtilitiesElectricity, ultra-pure water, chilled water, clean airA large fab can draw as much power as a small city.
PeopleProcess engineers, technicians, maintenance staffA large fab employs thousands of skilled people.

There is a lovely practical detail here. A worn part cannot wait weeks for a round trip across an ocean. Fabs want their cleaning services and spare parts close by, so a whole web of nearby suppliers grows up around every big fab. Chapter 8 looks inside those parts.


Why scale wins

A small fab needs almost the same set of machines as a large one. It needs the same range of process types, the same experts, the same cleanroom systems. But it makes fewer wafers to share those costs.

In memory, a common rule of thumb is that a fab needs on the order of 100,000 wafers a month to make DRAM at a competitive cost per bit. A fab running 20,000 wafers a month pays far more for each bit.

So the largest companies have the lowest costs. They also earn the most, which lets them spend the most on research, which keeps them ahead in the next generation. In chipmaking, being big is not just an advantage; it compounds year after year.


Memory: a business of booms and busts

Memory chips from different companies are nearly interchangeable. A buyer can switch from one supplier's DRAM to another's with little effort. That makes memory a commoditya product that buyers see as interchangeable between suppliers, so its price swings with supply and demand, like wheat or oil.

The result is a famous cycle:

 1. Demand rises    →  prices rise  →  big profits
 2. Every company builds new fabs at the same time
 3. Two or three years later, all the new fabs open together
 4. Supply overshoots demand  →  prices crash
 5. Companies lose billions  →  the weakest close or are sold
 6. Nobody builds  →  demand catches up  →  back to step 1

The history is dramatic:

  • In 2009, Qimonda, a German memory maker, went bankrupt.
  • In 2012, Elpida, Japan's last big DRAM maker, went bankrupt, and Micron bought it.
  • In 2023, Samsung and SK hynix both lost billions of dollars on memory.
  • In 2025–2026, the AI boom set off one of the strongest upswings ever. TrendForce reported conventional DRAM contract prices up about 45–50% in the last quarter of 2025, up roughly 93–98% in the first quarter of 2026, and forecast another 58–63% rise in the second quarter. Chapter 10 tells that story.

Each bust removes the companies with the thinnest cash reserves. In the 1980s, well over a dozen companies made DRAM. Today three companies, Samsung, SK hynix and Micron, earn about 90% of the world's DRAM revenue. China's CXMT is the most important newcomer in two decades, and it grew with years of state support.


Why transistors stopped getting much cheaper

For about fifty years, every new node made transistors both smaller and cheaper. This was the economic heart of Moore's lawGordon Moore's 1965 observation, later revised, that the number of transistors on a chip doubles roughly every two years.

Around the 28 nm node, in roughly 2012–2014, something changed. Transistors kept shrinking, but the cost of each one stopped falling quickly. Industry analysts trace this to three causes:

  1. Lithography became much more expensive. Engineers had to print some layers two, three or four times to get fine enough lines (a technique called multiple patterningprinting one layer in several passes, each with its own mask, to get lines finer than one pass allows). Then EUV machines arrived, at hundreds of millions of dollars each.
  2. More steps. Advanced nodes need more layers and more process steps, and each step adds time and cost.
  3. Design costs soared. Designing a chip at the leading edge now costs hundreds of millions of dollars.

Each new node still brings real gains: more performance and lower power for the same work. That is a tremendous achievement. But it no longer brings much lower cost per transistor on its own.

This shift is one big reason the industry now splits chips into chipletssmall chips made separately and packaged together so they act as one larger chip. Put only the parts that truly need the newest node on the newest node, make the rest on cheaper processes, and join them in an advanced package. Chapter 11 explains how.


Why this is so hard

Step back and the difficulty comes from five directions at once.

ReasonWhat it means
PhysicsThe smallest features of a transistor are a few nanometres wide, only a few tens of atoms. Tiny changes in temperature or vibration change the result.
PrecisionA chip goes through more than 1,000 process steps. At 99% success per step, almost nothing would survive. Each step has to be much closer to perfect.
MoneyA fab costs $10–20 billion or more, and its machines age in about five years. The spending must continue in bad years too.
TimeA fab takes three to four years to build, and a new process takes years to reach good yield. Decisions made today show their results three to five years later.
Know-howMuch of the knowledge is not written down anywhere. It lives in the experience of thousands of engineers, and it cannot be bought quickly.
Go deeper: why 99% per step is not enough

If each of 1,000 steps succeeds 99% of the time, the chance all of them succeed is 0.99^1000 ≈ 0.00004, or about 1 in 23,000. At 99.9% per step it is about 37%. At 99.99% per step it is about 90%. This toy calculation treats each step as a single pass-or-fail event, which real steps are not, but it shows why fabs obsess over tiny improvements.


Who carries the cost

These are the companies that carry the cost and the risk of building fabs. The table is a snapshot, not a ranking.

CompanyHeadquartersRoleNotes
TSMCTaiwanFoundry (makes chips for other companies)The leader in advanced logic. Capital spending about $40.9 billion in 2025.
Samsung ElectronicsSouth KoreaMemory and foundryLargest DRAM maker by revenue (about 38.5% in early 2026, per TrendForce).
SK hynixSouth KoreaMemoryThe leader in HBM, the stacked memory used by AI chips.
MicronUSAMemoryAnnounced about $200 billion of US manufacturing and research in 2025.
IntelUSAChips and foundryBuilding fabs in the USA and Europe.
CXMTChinaDRAMThe fastest-growing DRAM maker of recent years.
SMICChinaFoundryChina's largest foundry; limited by export controls on advanced machines.
GlobalFoundriesUSAFoundrySpecialty and mature nodes. Stepped back from the leading-edge race in 2018.

A short history

  • 1965: Gordon Moore publishes his prediction about transistor counts.
  • 1970s–1980s: Many American and Japanese companies make memory. Prices fall fast with each generation.
  • 1985: Intel leaves the DRAM business under Japanese competition and turns its focus to processors.
  • 1987: TSMC is founded in Taiwan to make chips only for other companies, the start of the foundrya company that manufactures chips designed by other companies model.
  • 1990s–2000s: Fab costs climb from hundreds of millions to billions of dollars. Many chip companies stop running their own fabs and become fablessa chip company that designs chips but pays a foundry to make them.
  • 2009 and 2012: Qimonda and Elpida go bankrupt after memory price crashes.
  • About 2012–2014: Near the 28 nm node, the cost per transistor stops falling quickly.
  • 2018: GlobalFoundries halts development of its leading-edge node, citing the cost.
  • 2019: EUV lithography enters high-volume production.
  • 2022–2023: A memory bust; Samsung and SK hynix lose billions.
  • 2025–2026: The AI boom drives a powerful memory upswing and record fab investment.

Open questions

The economics of chipmaking keep surprising even the people inside it. A few questions I find fascinating:

  • How big can a useful chip get? Cerebras proved that a wafer-sized chip can work with enough spares. Chiplets offer another route. Which approach will the largest AI systems favour in ten years?
  • Can yield learning get faster? Fabs increasingly use machine learning to spot defect patterns in inspection images and test data. How much could that shorten the one-to-two-year ramp of a new process?
  • Will the memory cycle ever calm down? Long-term supply contracts with AI buyers might smooth the booms and busts, or they might simply make the next bust larger. Nobody knows yet.
  • What happens to cost per transistor next? New transistor shapes, backside power delivery and 3D stacking all promise gains. Will any of them bring back steady cost declines, or is performance per watt now the main prize?
  • How much does it cost to build a fab outside today's clusters? Many governments are funding new fabs. The building is the easy part; the experienced people and nearby suppliers take longer. How quickly can a new ecosystem grow?

What to remember

  • Yield is the share of dies that work, and it is the most important number in a fab: the fab pays for every wafer but sells only the good chips.
  • Defects land at random, so large chips catch more of them. In our example, a chip eight times larger cost about twenty times more in silicon.
  • Engineers win back yield with spare parts, binning and yield learning; with enough spares, even a wafer-sized chip can work.
  • A leading-edge fab costs $10–20 billion or more, mostly for machines that age in about five years, and the running costs never stop.
  • Scale wins, and memory's booms and busts have left three companies making most of the world's DRAM. Since about 28 nm, transistors no longer get much cheaper, which is why chiplets and advanced packaging matter so much.

Sources

  • Dies-per-wafer approximation and Poisson yield model: standard textbook formulas, e.g. Hennessy, J. L. & Patterson, D. A., Computer Architecture: A Quantitative Approach (chapter on cost of an integrated circuit). Calculations in this chapter are my own.
  • TechNode (9 October 2025). "TSMC sets 2nm wafer price at $30,000, far below earlier 50% increase speculation." Also reports 3 nm averages of $25,000–27,000 (other reports put 3 nm nearer $18,000–20,000). https://technode.com/2025/10/09/tsmc-sets-2nm-wafer-price-at-30000-far-below-earlier-50-increase-speculation/
  • Cerebras (2024). "100x defect tolerance: how Cerebras solved the yield problem." 970,000 physical cores, 900,000 active. https://cerebras.ai/blog/100x-defect-tolerance-how-cerebras-solved-the-yield-problem
  • WikiChip Fuse (2019). "A look at Cerebras Wafer-Scale Engine." About 1–1.5% spare cores for redundancy. https://fuse.wikichip.org/news/3010/a-look-at-cerebras-wafer-scale-engine-half-square-foot-silicon-chip/2
  • Cerebras WSE-3 chip page: 46,225 mm². https://www.cerebras.ai/chip
  • TSMC Q4 2025 results (15 January 2026), as reported by DigiTimes: 2025 capex about $40.9 billion; 2026 guidance $52–56 billion. https://www.digitimes.com/news/a20260116PD232.html
  • TSMC (4 March 2025). "TSMC intends to expand its investment in the United States to $165 billion to power the future of AI" (reproduced by iConnect007). https://iconnect007.com/article/144319/tsmc-intends-to-expand-its-investment-in-the-united-states-to-165-billion-to-power-the-future-of-ai/144316/flex
  • Micron / US Department of Commerce (12 June 2025). Micron's approximately $200 billion US manufacturing and R&D plan. https://content.govdelivery.com/accounts/USDOC/bulletins/3e4c251
  • SEMI (16 December 2025). "Global semiconductor equipment sales projected to reach a record of $156 billion in 2027": $133 billion in 2025, $145 billion in 2026. https://www.aap.com.au/aapreleases/cision20251216ae45080
  • Tom's Hardware (2024–2025), reporting on ASML pricing: low-NA EUV systems up to about $200 million (ASML statements); high-NA EXE systems reported at about $380–400 million. https://www.tomshardware.com/tech-industry/semiconductors/asml-looks-to-increase-prices-of-its-low-na-euv-tools-beyond-existing-productivity-based-model-company-wants-to-capture-the-value-of-all-the-advantages-its-tools-offer-not-just-wafer-throughput-improvements
  • TrendForce (1 June 2026). "Rapid contract price surge drives 1Q26 DRAM industry up 81% QoQ": conventional DRAM contract prices +93–98% in 1Q26; +58–63% forecast for 2Q26; Samsung 38.5%, SK hynix 28.8%, Micron 22.4% of DRAM revenue. https://www.trendforce.com/presscenter/news/20260601-13070.html
  • TrendForce (via iConnect007, early 2026). "Price rally drives 4Q25 DRAM revenue up 29.4%": conventional DRAM contract prices +45–50% in 4Q25. https://iconnect007.com/article/148959/price-rally-drives-4q25-dram-revenue-up-294-samsung-regains-no-1-market-share/148956/aep
  • Moore, G. E. (1965). "Cramming more components onto integrated circuits." Electronics 38(8). https://www.computerhistory.org/collections/catalog/102770822
  • Computer History Museum, "1970: Semiconductors compete with magnetic cores" and related timeline pages on Intel's 1985 DRAM exit. https://www.computerhistory.org/siliconengine/
  • AnandTech (27 August 2018). "GlobalFoundries stops all 7nm development: opts to focus on specialized processes." https://www.anandtech.com/show/13277

Estimates in this chapter: the 0.1 per cm² defect density; the $25,000 wafer price (a middle figure from reported ranges); the shares of fab construction cost; the $15–40 million mask set and the hundreds-of-millions design cost; the 100,000 wafers a month DRAM rule of thumb; the 20–50% early yields of a new process; and the number of DRAM makers in the 1980s.


Previous: 8. Inside the machines · Next: 10. Memory chips