TL;DR: In Factorio, basic oil processing turns crude oil into petroleum gas for plastic and sulfur. Advanced processing adds heavy and light oil, so all three outputs need somewhere to go. Connect separate fluid systems, keep useful reserves, then crack the surplus into petroleum.
This Factorio oil processing guide starts with a working refinery rather than an exact megabase blueprint. Most early oil failures come from a wrong port, an unselected recipe, missing electricity or one full by-product output. Check those conditions before adding ten more refineries to the same blocked pipes.
| Process | Inputs per recipe | Outputs per recipe | Beginner use |
|---|---|---|---|
| Basic oil processing | 100 crude oil | 45 petroleum gas | Start plastic and sulfur |
| Advanced oil processing | 100 crude oil + 50 water | 25 heavy oil + 45 light oil + 55 petroleum gas | More petroleum plus lubricant supply |
| Heavy oil cracking | 40 heavy oil + 30 water | 30 light oil | Dispose of surplus heavy oil |
| Light oil cracking | 30 light oil + 30 water | 20 petroleum gas | Keep light oil from blocking refineries |

On this page
1. Bring crude oil to one refinery
Place pumpjacks on the marked crude-oil wells and connect them to electricity. Run crude oil through pipes or an appropriate transport connection toward the refining area. Inspect a pumpjack’s production information rather than assume every well has the same yield or every field supplies your planned number of refineries.
Build one refinery first, select basic oil processing and use the port icons to identify the crude input and petroleum output. Alt-mode makes recipe and port information easier to read. Rotating or flipping the building changes the physical arrangement, so check the icons after each change instead of copying a remembered orientation.
Keep unrelated fluids on separate lines. A water pipe connected to the crude input will not become crude merely because it reaches a refinery. If the machine reports the wrong fluid or refuses the connection, inspect the actual contents and separate the networks before rebuilding the whole area.
2. Make petroleum useful immediately
Basic oil processing produces only petroleum gas in the current base recipe. It does not require you to handle three oil fractions at this stage. The official oil-processing reference records 100 crude becoming 45 petroleum in a five-second recipe at the refinery’s normal crafting speed.
Connect the petroleum output to your plastic or sulfur production, supplying each chemical plant’s other ingredients. Plastic needs its solid ingredient as well as petroleum; sulfur also needs water. A connected petroleum pipe alone is not a complete production chain. Inspect the chemical plant when the refinery runs but your science ingredients do not appear.
Give the outputs a clear destination and a modest buffer. Storage is useful when consumers briefly pause, but a large tank farm cannot fix permanent overproduction. If petroleum storage fills because downstream production is idle, the refinery stopping is expected behavior rather than evidence of a broken recipe.
3. Rebuild the ports for advanced oil
Advanced oil processing uses crude and water and produces heavy oil, light oil and petroleum. Select the new recipe on a test refinery, identify each required port and connect every output. An old basic layout will often need extra pipes because it never had to carry all three products.
The normal recipe is 100 crude plus 50 water, producing 25 heavy, 45 light and 55 petroleum over five seconds. These are amounts per recipe, not per second. That distinction matters when comparing a refinery with a chemical plant whose cracking recipe has a different duration.
Route heavy oil toward lubricant production and a reserve tank, light oil toward a useful consumer or its own tank, and petroleum toward the established production line. Put buffers where you can inspect them. A refinery with a full heavy-oil output stops making petroleum too, even when the petroleum consumers are hungry.
4. Add cracking after preserving useful stock
Heavy oil cracking turns heavy oil and water into light oil. Light oil cracking then turns light oil and water into petroleum. These recipes run in chemical plants, not the refinery. Connect each plant’s correct fluid inputs and give the output a path into the next network.
Keep a heavy-oil reserve if you need lubricant. An always-running cracking line can consume the fraction you intended to keep. A practical starter rule is to enable the heavy cracking pump only when its storage tank exceeds a chosen threshold, such as 20,000 units. The threshold is your policy, not a required game value.
Use the same idea for light oil: crack excess while retaining what your fuel production needs. The circuit cookbook and circuit controls support these conditional arrangements. Start with one understandable tank-and-pump condition rather than a complicated priority controller you cannot debug.

5. Size the plants for your actual goal
For maximum petroleum from unmodified advanced oil processing, the official reference gives 20 refineries to 5 heavy cracking plants to 17 light cracking plants. A smaller 8:2:7 arrangement is a useful approximation. These ratios assume normal matching crafting speeds and no productivity bonuses.
They are not universal requirements for every oil district. Making lubricant, solid fuel or other products changes how much reaches the cracking plants. Modules, beacons, quality effects and alternate planetary processes can change the calculation. Begin with working ports and visible tank levels, then adjust capacity where sustained shortages appear.
Do not copy the ratio while omitting the water supply or downstream demand. A perfectly counted row of plants can sit idle because the crude field cannot feed it, the power grid is weak or the output belt is backed up. Ratios describe capacity under assumptions, not a guarantee that those assumptions hold in your save.
6. Diagnose a stopped refinery in order
Open the refinery and check its status, recipe, electricity, crude input, water input if needed, and every output. Then inspect the first downstream plant and its output. Full heavy oil usually means cracking or lubricant use is insufficient; full light oil means its consumption or light cracking needs attention.
Read one fluid network at a time. The current fluid-system reference explains fluid connections and pipeline limits; older advice about long pipes may describe different mechanics. A pump’s direction, a missing segment or a disconnected output remains worth checking before blaming distance alone.
Frequently asked questions
Can I use basic oil forever?
You can keep basic refining where it fits, but advanced processing is the normal next step when you need broader products and more petroleum from crude. Build a test refinery with all outputs connected before converting the entire district.
Does a full storage tank delete the excess oil?
No. Output backing up stops the relevant production. Provide consumption, conditional cracking or more temporary storage. Adding tanks postpones the problem if the long-term supply still exceeds demand.
Next step: Get one basic refinery feeding a real consumer, then convert one test refinery to advanced processing. Use the beginner circuit guide when you are ready to protect oil reserves with a simple condition.
Sources and version notes
- Factorio on Steam
- Oil processing – Factorio Wiki
- Fluid system – Factorio Wiki
- Tutorial:Circuit network cookbook – Factorio Wiki
Official developer, publisher and storefront pages plus separately identified editorial/community references read November 11, 2026. Recommendations reflect documented features and editorial fit; no personal playtest, price comparison, benchmark or measured SEO score is claimed. Factorio numbers refer to normal-quality Nauvis equipment in the current base mechanics; Satisfactory setup examples use the 1.0 base recipe data and standard clock speeds. Community calculator data is labelled separately from developer statements.
