A refinery is an industrial facility that takes a raw material and purifies or transforms it into usable products. The most common type is a petroleum refinery, which converts crude oil into fuels like gasoline, diesel, and jet fuel, along with hundreds of other products. But refineries also exist for sugar, salt, and metals. The core idea is always the same: separate a complex mixture into its useful parts and remove impurities.
How a Petroleum Refinery Works
Every petroleum refinery follows three basic steps: separation, conversion, and treatment. Crude oil arrives as a thick, dark mixture of thousands of different hydrocarbon molecules. The refinery’s job is to sort those molecules by size and weight, reshape the less useful ones into higher-value products, and clean everything up to meet quality and safety standards.
In the separation stage, crude oil is pumped through furnaces and heated to extreme temperatures. The hot liquid and vapor then enter a distillation tower, a tall column where different components naturally separate based on their boiling points. The lightest molecules, like those that become gasoline and propane, vaporize and rise to the top. Medium-weight molecules that become kerosene and jet fuel collect in the middle. The heaviest components, like thick residual oils used for asphalt, settle at the bottom.
Each product has a characteristic boiling range. Gasoline components boil between roughly 24°C and 221°C (75°F to 430°F). Jet fuel falls in the 150°C to 270°C range. Diesel sits higher, between 190°C and 360°C. These ranges overlap somewhat, which is why refining requires careful control rather than a single clean cut.
Conversion: Turning Heavy Oil Into Lighter Fuels
Distillation alone doesn’t produce enough gasoline or diesel to meet demand. A barrel of crude oil naturally contains a large share of heavy molecules that aren’t very useful on their own. So refineries use conversion processes to break those heavy molecules into lighter, more valuable ones.
The most important conversion method is called cracking. Using intense heat, high pressure, and chemical catalysts, cracking splits large hydrocarbon molecules into smaller ones. Fluid catalytic cracking, which takes place in massive reactor vessels, currently produces the majority of the world’s gasoline supply, along with a significant share of the raw materials used to make plastics.
Not all conversion involves breaking molecules apart. Some processes do the opposite. Alkylation, for instance, combines small gaseous byproducts from cracking into larger molecules that make high-quality gasoline components. Reforming reshapes low-value molecules called naphtha into high-octane gasoline blending components. Together, these processes let refineries squeeze the maximum value out of every barrel of crude oil.
What Comes Out of a Refinery
A single 42-gallon barrel of crude oil yields about 44.65 gallons of refined products (the total exceeds 42 gallons because some processing steps cause the molecules to expand in volume). The breakdown, per barrel, looks roughly like this:
- Gasoline: 19.57 gallons, nearly half of total output
- Diesel and heating oil: 12.47 gallons
- Jet fuel: 4.41 gallons
- Petroleum coke: 2.06 gallons (used in industrial heating and electrodes)
- Hydrocarbon gas liquids: 1.55 gallons (propane, butane, and petrochemical feedstocks)
- Asphalt and road oil: 0.84 gallons
- Lubricants, waxes, and specialty products: smaller fractions that add up
Beyond fuels, refineries produce the chemical building blocks for plastics, synthetic rubber, fertilizers, pharmaceuticals, and clothing fibers. Naphtha and other light oils serve as feedstocks for petrochemical plants, which transform them into everything from polyester to aspirin. Modern life depends on refineries for far more than just filling gas tanks.
The Scale of Modern Refineries
Petroleum refineries are among the largest and most expensive industrial facilities ever built. The world’s biggest, the Jamnagar complex in India, covers more than 7,500 acres and processes 1.4 million barrels of crude oil per day. That’s more than double the capacity of North America’s largest refinery, Marathon’s Galveston Bay facility in Texas, which handles about 631,000 barrels daily.
These complexes operate around the clock, running continuous processes that can take weeks to safely shut down and restart. The sheer volume of material flowing through them, combined with the high temperatures and pressures involved, makes safety and maintenance a constant priority.
Refineries Beyond Oil
The word “refinery” applies to any facility that purifies raw materials. Sugar refining, for example, takes raw sugar from cane or beets and removes plant fibers and molasses to extract pure sucrose crystals. The process typically requires about four rounds of extraction to pull out as much sucrose as possible. The leftover molasses gets sold separately for use in animal feed, baking, and distilling. Carbon filters used during purification are recharged and reused, making the process relatively efficient.
Metal refining works on a similar principle. Raw ore is heated and chemically treated to separate the desired metal from rock and impurities. Salt refining removes minerals and contaminants from mined or evaporated salt to produce the pure table salt you use at home. In every case, the goal is the same: start with something impure and end with something useful.
Environmental and Health Concerns
Petroleum refineries release a range of air pollutants that affect surrounding communities. Benzene, a known cause of leukemia, is one of the most concerning. Formaldehyde, which can cause cancers of the nose, throat, and sinuses, is also released as a gas during refining. Other emissions include fine particulate matter, sulfur dioxide (which can affect fetal development during pregnancy), and various compounds classified as probable carcinogens.
In the United States, the EPA regulates refinery emissions under several rules that require facilities to monitor air quality along their perimeter, known as fenceline monitoring. These regulations set limits on specific pollutants and require refineries to report their emissions data publicly. Communities near refineries tend to have higher rates of respiratory illness, and ongoing monitoring helps identify when facilities exceed safe emission levels.
How Refineries Are Changing
As pressure grows to reduce carbon emissions, refineries are adopting new technologies to shrink their environmental footprint. Carbon capture and storage systems can trap CO₂ before it reaches the atmosphere. The most effective current methods can capture up to 99% of carbon dioxide from exhaust streams, though making these systems commercially viable at full scale remains a challenge. Some refineries are also integrating hydrogen production and processing biofuels alongside traditional petroleum products, positioning themselves as broader energy hubs rather than purely fossil fuel operations.

