From Sand to Answers
Chapter Six

The building is the machine

A chip factory is not a shed full of clever tools. The whole building, from its filtered air to its trembling-proof floor, is one enormous precision instrument.

17 min read3,918 words2 interactive figures

When people picture a chip factory, they picture the machines: the giant lithography scanners, the robots, the glowing plasma. Those are amazing. But walk around the outside of a modern fabshort for fabrication plant: a factory that makes chips on silicon wafers and you notice something else. Most of the building is not about making chips at all, at least not directly. It is about air, water, gas, power and stillness.

If any of those systems falters for a few seconds, the fab can lose wafers worth millions of dollars. So the building itself has become a precision instrument. This chapter takes a tour of it, from the roof down to the basement.

A large white TSMC fab building with cooling towers on the roof
TSMC Fab 18 in Tainan, Taiwan, in 2025. This site makes chips at the most advanced processes. The round towers on the roof are part of the cooling system. Photo: 4300streetcar, CC BY 4.0, via Wikimedia Commons.

The building is part of the machine

Imagine a hospital operating theatre. Now make it the size of several football pitches. Make the air around the work thousands of times cleaner. Make the floor so still that a person walking past a machine counts as a disturbance. Then run it 24 hours a day, every day, for 20 years. That is a fab.

The building controls five things at once: particles, vibration, temperature and humidity, chemical purity and electrical power. Each one is a whole engineering discipline. A fab is the only factory where the building is as carefully engineered as the products inside it.

If you work in software, think of the fab building as the data centre and the tools as the servers. The servers get the attention, but nothing runs without the power, cooling and networking around them. A fab takes that idea to an extreme.


Choosing a site

Before anyone pours concrete, a company studies many conditions.

NeedWhy
Stable groundLithography machines must not move by more than a few nanometres. Earthquakes and soft ground are dangerous.
Plenty of waterA large fab uses tens of thousands of cubic metres a day.
Large, stable powerA large fab draws around 100 MW, and a voltage dip of a few milliseconds can ruin wafers.
Gas and chemical supplyGas companies often build plants right next to the fab.
Skilled peopleA fab needs thousands of engineers and technicians.
Public supportGovernments in many regions pay a large share of the cost of new fabs.

Every site has its own challenges, and engineers design around them. Taiwan has frequent earthquakes, so its fabs use special foundations and earthquake isolation. A site on a coastal plain must deal with soft soil and a high water table. A desert site must work hard to save water.


The structure of a fab

A fab building usually has three or more main levels. The cleanroom sits in the middle. The support systems sit above and below it.

   ┌───────────────────────────────────────────────────────┐
   │ ROOF / UPPER LEVEL                                     │
   │ Air handlers, fan filter units push clean air DOWN     │
   ├───────────────────────────────────────────────────────┤
   │ CLEANROOM LEVEL                    ↓   ↓   ↓   ↓       │
   │  [tool] [tool] [tool]   overhead transport rails ═══   │
   │  People in full gowns. Air moves down at all times.    │
   ├──────────────── waffle slab (floor with holes) ───────┤
   │ SUB-FAB LEVEL                      ↓   ↓   ↓   ↓       │
   │  Vacuum pumps, RF power, chillers, gas cabinets,       │
   │  abatement units. They connect UP to each tool.        │
   ├───────────────────────────────────────────────────────┤
   │ UTILITY LEVEL / CENTRAL PLANT                          │
   │  Ultrapure water plant, gas plant, chemical supply,    │
   │  power substations, waste water treatment              │
   └───────────────────────────────────────────────────────┘

The cleanroom level

The cleanrooma room where the number of airborne particles is tightly controlled by filtered air that flows constantly is where wafers are actually processed. It holds the main process machines (chapter 7). A large fab complex can have well over 100,000 square metres of cleanroom.

The waffle slab

The cleanroom floor is a thick concrete slab full of holes, called a waffle slaba thick concrete floor with a grid of holes that lets air flow down through it, named for its resemblance to a waffle. Clean air flows down from the ceiling, through the room and out through the holes, carrying particles away with it.

The slab is also extremely stiff. It stands on its own heavy columns, separate from the rest of the building, so the vibration of pumps and fans does not reach it.

The sub-fab

Directly below the cleanroom is the sub-fabthe floor below the cleanroom that holds the support equipment for each tool. It holds the support equipment for every process machine: vacuum pumps, radio-frequency (RF) power supplies, chillers, gas cabinets and the units that clean exhaust gas. Chapter 8 opens these up.

Why put them downstairs? They make heat, noise and vibration, and they do not need the cleanest air. Each tool upstairs connects to its helpers below through holes in the waffle slab, a bit like a server rack connected to its power and cooling under a raised floor.

Keeping still: vibration control

A lithography machine prints lines smaller than 20 nanometres and must line up each layer with the one beneath to within one or two nanometres (chapter 7). A truck on a nearby road can disturb it. So can a person walking nearby.

Engineers fight vibration in several ways:

  • Separate foundations for the cleanroom floor.
  • Isolation pads under the most sensitive machines.
  • Generous distance from roads and railways.
  • Pumps and fans mounted on separate structures.

It is a little like building a recording studio, except the "noise" being kept out is movement measured in billionths of a metre.


How clean is a cleanroom?

How many specks of dust are in the air you are breathing right now? In ordinary city air, a cubic metre can hold tens of millions of particles larger than a tenth of a micrometre (a rough figure that varies a lot by place and day).

Cleanrooms are graded by the international standard ISO 14644-1, which runs from ISO 1, the cleanest, to ISO 9. Each class sets the maximum number of particles allowed in one cubic metre of air. A particle of 0.1 µmmicrometre: a millionth of a metre; a human hair is roughly 50–100 µm wide is about a thousand times thinner than a hair.

ClassMaximum particles of 0.1 µm or larger in 1 m³ of airWhere you find it
ISO 110Inside a sealed wafer carrier or a machine's clean cabinet
ISO 31,000Clean zones of a modern fab
ISO 5100,000Older fabs; some hospital operating areas
Ordinary city airtens of millions (rough)Outside

Each class is ten times stricter than the one above it. ISO 1 air is millions of times cleaner than the air outside.

Why does this matter so much? One particle landing on a wafer can block a line or bridge two wires, and that can kill a chip. Chapter 9 shows how particles eat into yield.

Fan filter units

The cleanroom ceiling is tiled with fan filter unitsceiling panels that each hold a small fan and a very fine filter, together pushing clean air down into the room. Their filters are HEPA or ULPA grade. A ULPA filterultra-low particulate air filter: one that stops at least 99.999% of particles of about 0.12 µm and larger catches at least 99.999% of particles around 0.12 µm in size.

Air flows down from the ceiling to the floor at a steady, gentle speed. This is laminar flowair moving smoothly in one direction, in parallel layers, without swirling. The air in the room is replaced hundreds of times every hour.

People are the biggest source of dirt

A human body sheds millions of particles every minute: skin flakes, hair, fibres, droplets from breathing. So everyone in the cleanroom wears a full gown, hood, mask, gloves and boots, and walks through an air shower on the way in. Make-up and ordinary paper and pencils stay outside.

Two people in white cleanroom suits in a room with yellow light
A cleanroom with yellow light. The workers wear full suits, hoods and gloves. Yellow light does not affect photoresist, so lithography areas use it. Photo: Unknown author (uploaded by Duk), Public domain, via Wikimedia Commons.

Minienvironments and FOUPs

Here is the clever part. Modern fabs do not make the whole room ISO 1. That would be enormously expensive. Instead they keep the wafers inside small, very clean spaces and let the room around them be somewhat less clean.

  • A FOUPfront-opening unified pod: a sealed plastic box that carries 25 wafers of 300 mm between machines is a sealed plastic box that holds 25 wafers, each 300 mm across. Wafers stay in their FOUP between machines.
  • Each machine has a small, very clean cabinet at its front, called a minienvironmenta small enclosed space at the front of a tool with its own filtered air, where wafers are taken out of their box or EFEM (equipment front-end module). A robot inside opens the FOUP and moves wafers into the tool.

The wafers only ever see very clean air inside a closed system. If you write software, this is the idea behind containers: rather than making the whole server pristine, you give each workload its own sealed, controlled environment. Entegris, Shin-Etsu Polymer and Miraial make most FOUPs.

An empty black plastic wafer cassette with many thin slots
An open wafer cassette for 200 mm wafers. Each thin slot holds one wafer. A FOUP holds 300 mm wafers in a similar way, but it is a closed box with a door. Photo: 邱銘乾, CC BY-SA 3.0, via Wikimedia Commons.

Wafer transport: automated overhead transport

A large fab has thousands of FOUPs on the move at any moment. A full one weighs roughly 8 kg. In a modern 300 mm fab, people do not carry them.

Instead an AMHSautomated material handling system: the network of robots, rails and storage that moves wafer boxes around a fab does the work. Small vehicles run on rails hanging from the ceiling. Each one stops above a machine and lowers a FOUP straight onto its load port. Automatic storage towers called stockers hold FOUPs waiting for their next step. In a large fab, the rail network runs for many kilometres.

The main suppliers are Daifuku and Murata Machinery, both from Japan. Watching their vehicles glide overhead in silence, never colliding, is one of the quiet pleasures of a fab tour.

MES: the fab's operating system

The MESmanufacturing execution system: the software that tracks every wafer and decides what each machine does next is the software brain of the fab. It knows where every wafer is and what has happened to it. It decides which machine processes which FOUP next, and records every step.

A wafer goes through a thousand or more steps over about three months. The MES makes sure each wafer gets exactly the right recipe at each step. It is something like a job scheduler and a database rolled into one, and it is one of the largest real-time systems in any industry. Applied Materials and Critical Manufacturing are among the suppliers, and large chipmakers write much of their own software.


Utilities: water, gases, chemicals and power

Ultrapure water

Fabs rinse wafers after many steps, and the water must be ultrapure waterUPW: water with almost all dissolved salts, particles, gases and organic matter removed, the cleanest water people make.

Ordinary water conducts electricity because it contains dissolved salts. Truly pure water barely conducts at all. Engineers measure purity by resistivityhow strongly a material resists electric current; the purer the water, the higher it is. Ultrapure water reaches 18.2 MΩ·cm (megohm-centimetres), the theoretical maximum for water at 25 °C. You literally cannot make it purer by that measure.

Producing it takes a long chain of steps:

 City/river water ─► Filters ─► Reverse osmosis ─► Ion exchange ─►
 UV light ─► Degas ─► More ion exchange ─► Ultrafilters ─► To the tools

Kurita and Organo of Japan and Veolia of France are large suppliers of these plants. Fabs also recycle much of their water, and some recycle well over half.

Rows of white plastic pipes, valves and filters in an ultrapure water plant
Part of an ultrapure water plant. The white pipes are a special plastic (PVDF) that releases almost no particles or ions into the water. Photo: Wikikart99, CC0, via Wikimedia Commons.

Gases

A fab uses two kinds of gas.

TypeExamplesHow it arrives
Bulk gasesNitrogen, oxygen, argon, hydrogen, heliumHuge volumes. Nitrogen often comes from an on-site plant that separates it from air.
Specialty gasesSilane, nitrogen trifluoride (NF₃), tungsten hexafluoride (WF₆), ammonia, neon mixtures for lasersSmall volumes in cylinders. Many are toxic, flammable or corrosive.

Nitrogen is the biggest by volume. Fabs blanket wafers in it to keep air and moisture away.

Specialty gases are dangerous, so each travels through double-walled pipes, and gas cabinets carry sensors and automatic shut-off valves. The main gas companies are Linde, Air Liquide, Air Products and Taiyo Nippon Sanso, with strong specialty suppliers in Korea and Japan.

Chemicals

Fabs use large amounts of very pure liquid chemicals: sulfuric acid, hydrogen peroxide, hydrofluoric acid, ammonia solution, isopropyl alcohol and many more. Purity for metals is often measured in parts per trillionone part in a million million; about one second in 32,000 years.

A chemical distribution system stores these liquids and pumps them to each tool. Every pipe, valve and tank must avoid shedding even a trace of particles or metal into the liquid.

Electrical power

A large fab draws a lot of power. A single EUV lithography machine uses roughly 1 MW, about as much as several hundred homes. A large leading-edge fab can draw around 100 MW, day and night.

Power quality matters as much as quantity. A dip in voltage lasting a few milliseconds can stop machines, and wafers inside them at that moment may be scrapped. So fabs use:

  • Two or more connections to the power grid.
  • Their own substations.
  • UPSuninterruptible power supply: batteries or flywheels that keep equipment running through a short power cut systems and voltage-sag protection.
  • Backup generators for safety systems.

Waste: abatement and water treatment

Fab processes produce exhaust gases that are toxic, or that are very strong greenhouse gases. Some fluorinated gases trap heat thousands of times more strongly than carbon dioxide.

Each tool sends its exhaust to an abatement unita machine that burns, heats or washes waste gases to make them safe before release in the sub-fab. Edwards and Ebara make many of these units. Waste water carries acids, fluoride and metals, and the fab treats it before release, recovering and recycling as much as it can.

Fabs have made real progress here, with better abatement, more recycling and a gradual shift towards gases with less climate impact. It is one of the most active areas of improvement in the industry.


A worked example: water and power for one large fab

How big is "big"? Let us put a large leading-edge fab next to everyday things. These numbers are rough and vary a lot with the process and how much the fab recycles.

Water. One TSMC fab in Arizona was reported in 2026 to use about 4.75 million US gallons (about 18,000 m³) a day, with about two-thirds of it recycled. Industry sources say a very large fab can use up to about 10 million gallons (about 38,000 m³) a day. Take 30,000 m³ a day as a round figure for a large fab.

  • 30,000 m³ is 30 million litres a day, or about 12 Olympic swimming pools.
  • At roughly 150 litres per person per day for household use (a typical figure in many cities), that is the household water of about 200,000 people.

Power. Take an average draw of 100 MW.

  • 100 MW for a year is about 876 million kWh.
  • An average US home uses about 10,500 kWh a year, according to the US Energy Information Administration.
  • So the fab uses about as much electricity as 80,000 such homes. Homes in many other countries use less, so the equivalent number there would be larger.
Go deeper: the arithmetic

Water: 30,000 m³ × 1,000 L/m³ = 3 × 10⁷ L. Divided by 150 L per person ≈ 200,000 people. An Olympic pool holds about 2,500 m³, so 30,000 m³ ≈ 12 pools. Power: 100 MW × 8,760 hours = 876,000 MWh = 8.76 × 10⁸ kWh. Divided by 10,500 kWh per home ≈ 83,000 homes. The 100 MW figure is an estimate. One analysis by TechInsights works out to roughly 100 MW of average draw for a leading-edge EUV fab, and estimates that EUV tools themselves account for only about 11% of a fab's electricity.

Numbers like these are why governments and utilities plan water and power years before a fab opens.


How long it takes to build a fab

PhaseApproximate time
Design and permits6–12 months
Building and cleanroom construction18–30 months
Installing and qualifying machines6–12 months
Ramping up to full volume12–24 months

From decision to full production, a new fab usually takes three to five years, and sometimes longer. Micron broke ground on its first New York fab on 16 January 2026 and expects production from it around 2030.

Aerial view of a very large fab site under construction in a desert
TSMC Fab 21 near Phoenix, Arizona, under construction in November 2023. The site is larger than many towns. Note the cranes, the cooling towers and the car parks for thousands of workers. Photo: Hunter Trick (TrickHunter), CC BY-SA 4.0, via Wikimedia Commons.

Fab size is measured in wafer starts per monthhow many new wafers a fab begins processing each month; the standard measure of capacity. TSMC calls its largest 300 mm fabs "GIGAFAB" facilities, a term it has defined as more than 100,000 wafers a month at full capacity.


Why this is hard

  • Many systems must be perfect at once. Air, water, gas, chemicals, power and vibration all affect the wafers, and a failure in any one can scrap them.
  • Sheer size. A large fab needs as much water and power as a small city.
  • Safety. The fab handles toxic, flammable and corrosive materials in large quantities, and its safety record depends on flawless engineering and discipline.
  • Time. Three to five years from decision to full output, during which the market can change completely.
  • Rare skills. Only a few construction firms in the world can build a leading-edge cleanroom, and only a few engineers know how to run its utilities.

A map of the main companies

CompanyBased inRoleNote
ExyteGermanyFab design and cleanroom constructionOne of the largest fab builders in the world
KineticsUSAProcess utilities, gas and chemical systemsBuilds pipe systems for gases and chemicals
TaikishaJapanCleanroom air systemsStrong in air handling
JacobsUSAEngineering and designDesigns fabs and other large technical plants
KuritaJapanUltrapure water systemsA leader in UPW
OrganoJapanUltrapure water systemsA leader in UPW
VeoliaFranceWater treatment and UPWLarge global water company
LindeGermany/USABulk and specialty gasesOne of the largest gas companies
Air LiquideFranceBulk and specialty gasesOne of the largest gas companies
Air ProductsUSABulk and specialty gasesBuilds on-site gas plants
DaifukuJapanAutomated overhead transportA leader in fab transport
Murata MachineryJapanAutomated overhead transportA leader in fab transport
EntegrisUSAFOUPs, filters, chemical handlingLarge supplier of contamination control
Edwards (Atlas Copco)UK/SwedenVacuum pumps and abatementA leader in sub-fab equipment
EbaraJapanVacuum pumps and abatementA leader in sub-fab equipment

A short history

  • 1960. Willis Whitfield, a physicist at Sandia National Laboratories, sketches the laminar-flow cleanroom: clean air sweeping through the room in one direction. His 1961 prototype is about a thousand times cleaner than the rooms of its day, and the idea spreads around the world within a few years.
  • 1960s–1970s. Early fabs use wafers 25–75 mm across, carried by hand in open boxes.
  • 1980s. Japanese fabs make huge gains in cleanliness and yield and become leaders in memory chips.
  • 1990s. Fabs move to 200 mm wafers. Minienvironments and sealed wafer boxes start to replace ultra-clean whole rooms.
  • 2001–2002. The first 300 mm fabs start production. FOUPs and automated overhead transport become standard.
  • 2000s–2010s. The largest foundries build gigafabs of 100,000 or more wafers a month.
  • 2020s. Governments in many regions offer large subsidies for new fabs.
  • 2026. Micron breaks ground on its New York megafab.

Open questions

  • How low can a fab's water footprint go? Recycling rates keep rising, and new reclamation plants aim to cut fresh-water demand sharply. Could a large fab one day run almost entirely on its own recycled water?
  • Can fabs run on clean power? A fab needs huge amounts of electricity that never flickers. Matching that with wind and solar needs storage, smart grids and long-term contracts. Which regions will manage it first?
  • Gentler gases. Some process gases are powerful greenhouse gases. Better abatement helps, and chemists are searching for replacements that do the same job with less impact. How far can that go?
  • Smaller, faster fabs? Today's fabs are enormous and take years to build. Could modular or "minimal" fabs make chips more flexibly for smaller markets, and at what cost per chip?
  • How clean is clean enough? As features shrink, ever smaller particles matter. Does the trend towards sealed minienvironments eventually make the big cleanroom unnecessary?

What to remember

  • A fab is a building that works as one machine, controlling dust, vibration, temperature, water, gases, chemicals and power all at once.
  • Wafers travel in sealed FOUPs and only see near-perfect air inside each machine, so the room itself does not need to be ISO 1.
  • The sub-fab below the cleanroom holds the pumps, power supplies and abatement units that each tool needs.
  • A large fab can use the household water of about 200,000 people and the electricity of tens of thousands of homes.
  • A new fab takes three to five years from decision to full production.

Sources

  • ISO 14644-1:2015 class limits, as reproduced by cleanroom.net: ISO 1 = 10, ISO 3 = 1,000, ISO 5 = 100,000 particles ≥ 0.1 µm per m³, matching the standard's formula Cₙ = 10ᴺ × (0.1/D)^2.08. https://cleanroom.net/faqs/what-are-the-iso-classes-of-air-cleanliness-by-particle-concentration/
  • Sandia National Laboratories (2012). "Modern-day cleanroom invented by Sandia physicist still used 50 years later." https://newsreleases.sandia.gov/cleanroom_50th/ ; Sandia Lab News (4 April 2024), "Willis Whitfield: a simple man with a simple solution that changed the world." https://www.sandia.gov/labnews/2024/04/04/willis-whitfield-a-simple-man-with-a-simple-solution-that-changed-the-world/
  • AZFamily (24 August 2026). "Arizona's chip footprint grows, but TSMC's water demand sparks questions." First Phoenix fab about 4.75 million gallons per day, 65% recycled. https://www.azfamily.com/2026/08/24/arizonas-chip-footprint-grows-tsmcs-water-demand-sparks-questions/
  • Area Development (Q3 2024). "Semiconductors' fragile relationship with water may be tested." A fab can use up to 10 million gallons per day. https://www.areadevelopment.com/advanced-manufacturing/q3-2024/semiconductors-fragile-relationship-with-water-may-be-tested.shtml
  • TechInsights. "EUV Lithography: A Power-Hungry Path to Innovation." EUV tools up to about 1,170 kW; about 11% of fab energy; leading-edge fab totals. https://www.techinsights.com/blog/euv-lithography-power-hungry-path-innovation
  • US Energy Information Administration. "Electricity use in homes." Average US household about 10,500 kWh per year. https://www.eia.gov/energyexplained/use-of-energy/electricity-use-in-homes.php
  • TSMC Form 20-F for 2010 (GIGAFAB defined as capacity over 100,000 12-inch wafers per month). https://www.sec.gov/Archives/edgar/data/0001046179/000095012311035858/h05002e20vf.htm
  • The Register (16 January 2026). "Micron breaks ground on humungous NY DRAM fab." First production expected around 2030. https://www.theregister.com/2026/01/16/micron_fab_breaks_ground/

Estimates in this chapter that rest on rough figures rather than a single measured source: particle counts in city air; the 30,000 m³/day and 100 MW round figures for a "large fab"; the 150 litres per person comparison; FOUP weight; construction phase durations; cleanroom area.


Previous: 5. Drawing a billion switches · Next: 7. Layer by layer: printing with light