Oil & gas guide

How Oil Is Refined: What Comes Out of a Barrel

How a refinery turns crude into petrol, diesel, jet fuel and more: distillation, cracking, reforming, yields per barrel, crack spreads and the biggest plants.

Updated 6 min read 1,422 words

Crude oil is almost useless as it comes out of the ground. You cannot put it in a car, a jet or a cooker. A refinery is a giant chemistry set that separates crude into fractions by boiling point, then breaks, reshapes and cleans the molecules until they meet fuel specifications. The world had a little over 100 million barrels per day of refining capacity in 2024, according to the Energy Institute Statistical Review, spread across roughly 600 to 700 sites. Here is what happens inside one, and what you get from a barrel.

What crude oil is made of

Crude is a mixture of thousands of hydrocarbons, from small molecules with four or five carbon atoms to waxy chains with 70 or more. Two properties set its value:

  • API gravity, a measure of density. Light crudes (above about 31° API) contain more of the short molecules that become petrol and jet fuel. Heavy crudes (below about 22°) contain more residue.
  • Sulphur content. Sweet crude has less than about 0.5% sulphur by weight, sour crude more. Sulphur has to be removed to meet modern fuel standards, and that costs money.

Brent and WTI are light and sweet. Many Middle Eastern grades are medium and sour, and Canadian oil sands bitumen or Venezuelan Merey are heavy and sour. A refinery is designed around the crudes it expects to buy, which is why the price gap between grades matters so much to refiners. The oil price guide explains how those benchmarks are set.

Step one: distillation

Every refinery starts with an atmospheric distillation column, a steel tower often 50 m tall. Crude is desalted, heated in a furnace to roughly 350 to 400 °C and fed into the bottom. Vapour rises through trays, cools, and condenses at different heights according to boiling point.

Fraction Approx. boiling range Becomes
Refinery gas, LPG below ~30 °C Fuel gas, propane, butane
Light naphtha ~30–90 °C Petrol blending, petrochemical feed
Heavy naphtha ~90–180 °C Feed for the reformer (petrol)
Kerosene ~150–270 °C Jet fuel, paraffin
Gasoil ~200–350 °C Diesel, heating oil
Atmospheric residue above ~350 °C Sent to vacuum distillation

Heating residue further at atmospheric pressure would start to crack it into coke, so it goes to a vacuum distillation unit. Lowering the pressure lets heavier fractions boil at lower temperatures. Out come vacuum gasoils (feed for cracking units) and a heavy vacuum residue used for bitumen, fuel oil or coking.

A simple refinery that only distils, a “topping” plant, ends up with a lot of low-value heavy oil. The money is in converting it.

Step two: conversion, breaking big molecules

Conversion units turn heavy fractions into light ones:

  • Fluid catalytic cracking (FCC) is the workhorse of petrol-heavy refineries in the US. Vacuum gasoil meets a hot powdered catalyst at around 500 °C and breaks into petrol-range molecules, LPG and light cycle oil. The catalyst is burned clean and recycled continuously.
  • Hydrocracking does a similar job under high hydrogen pressure. It makes very clean diesel and jet fuel, so it is popular in Europe and Asia where diesel demand is higher.
  • Coking heats vacuum residue until it splits into lighter liquids and solid petroleum coke. Cokers let a refinery run cheap heavy crude.

Because cracked molecules are smaller and less dense, the volume of products ends up larger than the crude that went in. US refineries get about 45 gallons of products from a 42-gallon barrel. This is the processing gain.

Step three: upgrading and cleaning

Molecules from distillation and cracking still need work before they meet specifications:

  • Catalytic reforming rearranges heavy naphtha into ring-shaped aromatic molecules with high octane. It also releases hydrogen, which the refinery uses elsewhere.
  • Alkylation and isomerisation build high-octane, low-sulphur blending components from light gases and naphtha.
  • Hydrotreating reacts fuels with hydrogen over a catalyst to strip out sulphur and nitrogen. Road diesel in the EU, the US and many Asian markets must contain no more than 10 to 15 ppm sulphur, against several thousand ppm in some crude fractions.
  • Sulphur recovery units turn the hydrogen sulphide removed in hydrotreating into elemental sulphur, which is sold to fertiliser makers.

Finally, products are blended. A litre of petrol at the pump is a recipe of reformate, FCC gasoline, alkylate, isomerate and butane, plus ethanol in many countries, tuned to hit octane, vapour pressure and emissions rules for the season. See petrol vs diesel vs LPG for what those specifications mean for drivers.

What comes out of a barrel

The US Energy Information Administration publishes average yields for American refineries. Recent years look roughly like this:

Product (US refineries, recent average) Gallons per 42-gal barrel
Finished motor gasoline ~19–20
Distillate fuel oil (mostly diesel) ~11–12
Kerosene-type jet fuel ~4
Petroleum coke ~2
Still gas (used as refinery fuel) ~1.5–2
Hydrocarbon gas liquids (propane, butane) ~1.5–2
Asphalt, residual fuel oil, lubricants, other ~4–5
Total (including processing gain) ~45

These are US numbers, and the US is unusual because it burns so much petrol. European and Indian refineries typically make more diesel than petrol, and Asian plants often run naphtha into petrochemicals. Refiners can shift yields by a few percentage points with catalyst choice and cut points, but large changes need new units.

Refinery complexity and margins

Engineers compare refineries with the Nelson Complexity Index, which scores each unit relative to crude distillation (which scores 1) and weights it by capacity. A topping plant scores 1 to 2. A typical US Gulf Coast refinery is around 10 to 13. Reliance’s Jamnagar complex in India, the largest refining site in the world at about 1.4 million barrels per day, is reported at around 21. High complexity lets a refinery buy cheap heavy, sour crude and still make premium fuels.

Refining margins are tracked with crack spreads, the gap between product and crude prices.

3-2-1 crack spread ($/bbl) = (2 × gasoline price + 1 × diesel price − 3 × crude price) ÷ 3 (prices in $/bbl; 1 gallon price × 42 = $/bbl)

Illustrative example: Gasoline $2.40/gal = $100.80/bbl, diesel $2.70/gal = $113.40/bbl, crude $75/bbl (2 × 100.80 + 113.40 − 3 × 75) ÷ 3 = (201.60 + 113.40 − 225) ÷ 3 = $30/bbl

That $30 is a gross figure. Energy, catalysts, labour, maintenance and capital costs come out of it. Margins swing hard: diesel cracks spiked in 2022 after sanctions on Russian products, and fell back in 2023 to 2025 as new refineries started in the Middle East, India, China and Africa (Nigeria’s 650,000 b/d Dangote plant among them).

Refineries also use a lot of energy themselves. Furnaces, steam and hydrogen production typically consume the equivalent of several percent of the crude processed, which makes them some of the largest industrial emitters in many countries.

Malaysia’s refineries

Malaysia refines a mix of domestic and imported crude. PETRONAS runs refineries in Melaka and Kertih (Terengganu), and the Pengerang Integrated Complex in Johor hosts a 300,000 b/d refinery and petrochemical plant built under the RAPID project. It started operating in 2019 and is a joint venture between PETRONAS and Saudi Aramco. Pengerang was designed to make Euro 5 fuels and to feed petrochemical crackers on the same site. Malaysian pump prices for RON95, RON97 and diesel are tracked on the Malaysia fuel prices page, and the country’s energy mix is on the Malaysia country profile.

Where refining is heading

Oil demand for road fuel is flattening as electric cars spread, especially in China, while demand for petrochemical feedstocks and jet fuel keeps growing. The IEA’s Oil 2025 report expects global demand to plateau around the end of this decade. Refiners are responding in three ways:

  • Integrating with petrochemicals, so more of each barrel becomes plastics and chemicals rather than fuel.
  • Converting units to process vegetable oils and waste fats into renewable diesel and sustainable aviation fuel. See biofuels explained.
  • Closing older, simpler plants, particularly in Europe, Australia and California.

The short version

A refinery separates crude by boiling point, cracks heavy molecules into lighter ones, upgrades them for octane and strips out sulphur. From a 42-gallon barrel, a US refinery makes about 45 gallons of products, almost half of it petrol. Complexity decides which crudes a plant can run profitably, and crack spreads tell you whether it is making money. To compare what those fuels contain in energy terms, try the fuel energy content calculator, and see how oil fits each country’s mix on the world energy map or the oil dashboard.

Calculators for this topic

Frequently asked questions

How much petrol comes from one barrel of crude oil?
In the United States, a 42-gallon barrel of crude yields about 19 to 20 gallons of finished motor gasoline, roughly 11 to 12 gallons of distillate (mostly diesel) and about 4 gallons of jet fuel, according to the EIA. Refineries elsewhere, especially in Europe and Asia, are set up to make more diesel and less petrol.
Why does a barrel of crude make more than 42 gallons of products?
This is called processing gain. Cracking breaks heavy molecules into lighter ones that take up more space, so the volume of products is larger than the volume of crude, even though the mass stays the same. US refineries produce about 45 gallons of products from each 42-gallon barrel.
What is a crack spread?
A crack spread is the difference between the price of refined products and the price of the crude used to make them. The common 3-2-1 spread assumes three barrels of crude make two barrels of gasoline and one barrel of diesel. It is a rough measure of refining margins before operating costs.
What is the largest oil refinery in the world?
Reliance Industries' Jamnagar complex in Gujarat, India, is the largest single refining site, with capacity of about 1.4 million barrels per day across its two refineries. It is also one of the most complex, able to process heavy, high-sulphur crudes into high-value fuels and petrochemicals.
What is the difference between sweet and sour crude?
Sweet crude has a low sulphur content, usually below 0.5% by weight, while sour crude has more. Sour crude needs more hydrotreating to meet modern fuel standards such as 10 ppm sulphur diesel, so it normally sells at a discount to sweet grades.
Does Malaysia refine its own oil?
Yes. Malaysia has several refineries, including PETRONAS plants in Melaka and Kertih and the 300,000 barrel-per-day refinery at the Pengerang Integrated Complex in Johor, which started up in 2019 as a joint venture between PETRONAS and Saudi Aramco.

Sources & references

  1. U.S. EIA — Oil and petroleum products explained: refining crude oil
  2. U.S. EIA — Refinery yield, Petroleum Supply Monthly
  3. Energy Institute — Statistical Review of World Energy 2025
  4. IEA — Oil 2025: Analysis and forecast to 2030
  5. PETRONAS — Pengerang Integrated Complex

Figures in this guide are typical ranges drawn from the sources above; your own numbers depend on location, prices and equipment. Use the linked calculators for site-specific estimates.