20/02/2009
Factorio, a game renowned for its intricate automation and complex production chains, places a significant emphasis on the management and transportation of fluids. At the heart of many industrial processes lies oil processing, a system that can seem daunting to newcomers but is incredibly rewarding to master. Whether you're dealing with crude oil extraction, refining it into valuable fractions, or cracking those fractions for further use, understanding the flow of liquids is paramount to building a thriving factory. This guide will delve into the mechanics of fluid handling in Factorio, from the fundamental setup of pumpjacks and refineries to advanced strategies involving coal liquefaction and circuit networks. Prepare to become a true maestro of the liquid arts!
Understanding the Basics of Oil Processing
The journey into Factorio's fluid dynamics begins with crude oil. This precious resource is extracted from oil wells using Pumpjacks. These machines must be precisely placed on the centre of an oil well, indicated by a green highlight when you're holding a pumpjack. Each pumpjack produces a specific amount of crude oil per second, information readily available in the game's interface. However, crude oil itself is only the first step. To unlock its potential, it must be processed in an Oil Refinery.

The Oil Refinery: Your First Fluid Factory
The Oil Refinery is the cornerstone of your oil operations. Once placed, you'll need to assign a recipe to it. Factorio offers several recipes for processing crude oil into its primary fractions: heavy oil, light oil, and petroleum gas. The refinery's input and output locations are fixed once a recipe is selected, though you can rotate or flip the entire machine for optimal placement. Crucially, refineries will cease all production if any of their output fluid buffers become full. This means you must ensure that all produced fluids are either consumed by subsequent processes or stored in Storage Tanks. Failure to manage output can lead to a complete halt in your oil production, a situation you'll want to avoid at all costs.
Cracking the Code: Transforming Oil Fractions
Heavy oil and light oil are not end products but can be further refined into more useful substances through a process known as cracking. This is typically done in a Chemical Plant using specific cracking recipes. Heavy oil can be cracked into light oil, and light oil can be cracked into petroleum gas. This ability to transform one fluid into another is vital for balancing your production. It's a common scenario to find yourself with an abundance of one oil fraction while critically lacking another. Cracking allows you to rectify these imbalances, ensuring that your refinery continues to operate efficiently and that no valuable fraction goes to waste.
Advanced Oil Processing and Beyond
As your factory grows, you'll inevitably move towards more sophisticated oil processing methods. Advanced Oil Processing, along with Coal Liquefaction, opens up new avenues for resource utilisation and production scaling.
Advanced Oil Processing: Maximising Yield
Advanced Oil Processing offers a more efficient way to break down crude oil, yielding greater quantities of all three primary fractions. However, it also increases the complexity of managing your fluid outputs. With more products being generated, the risk of buffer overflow and production stoppage is higher. This underscores the importance of a robust fluid transportation and storage system. Ensuring that all outputs are actively being used or safely stored is key to maintaining a steady flow of resources.
Coal Liquefaction: Oil Without the Oil Well
Once researched, Coal Liquefaction provides a revolutionary capability: producing oil products without relying on crude oil extraction. This process allows you to refine coal into heavy oil, light oil, and petroleum gas. By cleverly routing the heavy oil output back into the refinery before it leaves the system, you can create a self-sustaining loop that only requires coal and steam to operate. This is particularly useful for establishing small, consistent oil production in locations far from oil fields, negating the need for extensive pipe networks or train logistics. While a single coal liquefaction setup might not produce vast quantities, a network of them can supply your entire factory, offering unparalleled flexibility in base design. The trade-offs include a slightly lower overall output compared to direct crude oil processing and the need for additional chemical plants to manage the increased heavy oil production through cracking. Furthermore, the entire system is dependent on a steady supply of coal and steam; any disruption here will bring your oil production to a halt.
Simple Coal Liquefaction: A Niche Solution
The Space Age expansion introduces 'Simple Coal Liquefaction,' a recipe that uses coal, calcite, and sulfuric acid to produce only heavy oil. This can then be cracked to obtain other oil products. On planets like Vulcanus, where standard coal liquefaction might not be immediately available, this simple version is invaluable for bootstrapping your oil production. It can provide the initial heavy oil needed to start the more complex, self-sustaining coal liquefaction process. An advantage of Simple Coal Liquefaction, especially on space platforms, is its independence from steam, which is notoriously difficult to generate in space. Calcite and sulfuric acid, on the other hand, can often be sourced from asteroids. Moreover, this recipe's sole output of heavy oil makes it ideal for players who specifically need to generate lubricant, allowing them to dedicate other processing setups to cracking heavy oil into light oil and petroleum gas.
Efficient Fluid Transport
Moving fluids across your factory floor is as critical as producing them. Factorio offers several methods for fluid transportation, each with its own advantages and disadvantages.
Pipes: The Arteries of Your Factory
Pipes are the most common method for transporting fluids over short to medium distances. They connect directly to the input and output ports of machines like refineries, chemical plants, and storage tanks. Fluid flow within pipes is subject to certain mechanics, including a maximum flow rate per pipe segment and the potential for back-pressure if outflows are insufficient. Proper pipe design is crucial to avoid bottlenecks and ensure smooth delivery.
Trains: For Long-Haul Fluid Transport
For longer distances or when dealing with massive volumes of fluids, trains become indispensable. Fluids can be stored in Fluid Wagons, which can be loaded and unloaded at Fluid Stations. This method offers scalability and flexibility, allowing you to bring oil from distant fields or transport refined products to remote outposts. Setting up efficient train logistics for fluids requires careful planning of routes, station placement, and train schedules.
Robots: The Nimble Couriers
While not directly transporting bulk fluids, construction and logistic robots can be used in conjunction with Barrels. You can load fluids into barrels at a loading station and then have robots transport these barrels to their destination, where they can be unloaded. This method is often used for smaller quantities or for specific tasks where direct piping or trains are impractical.

Optimal Ratios and Production Balancing
Achieving peak efficiency in oil processing often comes down to understanding and implementing optimal production ratios. These ratios ensure that no resources are wasted and that your production lines are perfectly balanced.
Petroleum Gas Production Ratios
For petroleum gas production, specific ratios are recommended for different processing methods:
- Advanced Oil Processing: An optimal ratio is 20:5:17 (Refineries: Heavy Oil Cracking: Light Oil Cracking). A close approximation is 8:2:7.
- Coal Liquefaction: The optimal ratio is 60:39:55 (Coal Liquefaction: Heavy Oil Cracking: Light Oil Cracking). A practical approximation is 12:8:11.
These ratios are based on the assumption that all involved buildings operate at the same speed without any module bonuses. When using modules, especially productivity modules, these ratios can shift, and experimentation may be required to find the perfect balance for your specific setup.
The Impact of Modules and Beacons
Modules and beacons can significantly alter production rates and efficiency. Productivity modules increase the output of items per crafting cycle but also slow down the crafting speed. Speed modules, often used in beacons, increase the crafting speed of buildings within their range. When combining these, the initial optimal ratios may no longer hold true. For instance, using productivity modules on refineries and chemical plants will require more cracking capacity to keep up with the increased output of heavy and light oil. The provided table illustrates how different module configurations affect consumption and output, highlighting the need for careful calculation and adjustment.
| Module Configuration | None | Config 1 (*) | Config 2 () |
|---|---|---|---|
| Oil Refinery Crude Oil Consumption (per second) | 100 | 91 | 171 |
| Oil Refinery Water Consumption (per second) | 50 | 45.5 | 85.5 |
| Heavy oil output (per second) | 25 | 29.575 | 55.575 |
| Light oil output (per second) | 45 | 53.235 | 100.035 |
| Petroleum output (per second) | 55 | 65.065 | 122.265 |
| Heavy oil cracking Heavy oil consumption (per second) | 40 | 40 | 40 |
| Heavy oil cracking Water consumption (per second) | 30 | 30 | 30 |
| Light oil output from cracking (per second) | 30 | 30 | 30 |
| Light oil cracking Light oil consumption (per second) | 30 | 30 | 30 |
| Light oil cracking Water consumption (per second) | 30 | 30 | 30 |
| Petroleum output from cracking (per second) | 20 | 20 | 20 |
| Total Petroleum Gas output (per second) | 19.5 | 136.193 | 255.923 |
(*) Config 1: 3 Productivity modules 3 in each production building and 8 Beacons with 2 Speed modules 3 each.
() Config 2: 3 Productivity modules 3 in each production building and the highest achievable number of Beacons with 2 Speed modules 3 each.
Factorio's Evolving Fluid Mechanics
Factorio's development is an ongoing process, and the mechanics surrounding oil processing have seen significant changes over time. Understanding this history can provide valuable context for current gameplay.
Key Historical Changes
- 0.17.60: Basic oil processing was simplified to only produce petroleum gas.
- 0.17.0: Coal liquefaction recipe was adjusted, changing its output and consumption rates.
- 0.15.0: Coal liquefaction was introduced, offering a new method for oil production.
- 0.9.1: Heavy oil cracking and light oil cracking recipes were added, enabling fluid transformation.
- 0.9.0: Basic oil processing and Advanced oil processing were introduced, revolutionising fluid handling.
Developer Insights: Refining the Refining Process
Game updates often bring significant reworks to core mechanics. The changes to basic oil processing, for instance, were made to streamline the early game experience. By simplifying the initial oil setup, developers aimed to reduce the complexity for new players, making the progression towards advanced oil processing a more natural and less overwhelming step. The goal was to ensure that by the time players are required to set up more complex refineries for chemical science packs, they have already grappled with and understood the fundamental principles of fluid management. This smoother learning curve, while initially controversial, is intended to benefit all players in the long run. Furthermore, changes like adding light oil to the Rocket Fuel recipe and moving Sulfur to the Chemical Science Pack recipe were strategic decisions to better integrate oil products into the overall tech tree and provide clearer progression paths.
Frequently Asked Questions
Q1: How do I stop my oil refinery from stopping?
A: Ensure that all output fluids (heavy oil, light oil, petroleum gas) are being transported away from the refinery. If an output buffer is full, the refinery will stop. Use storage tanks or connect the outputs to consuming machines.
Q2: What is the best way to transport fluids long distances?
A: For long distances, trains with fluid wagons are the most efficient method. For shorter distances, pipes are generally sufficient.
Q3: When should I use Coal Liquefaction?
A: Coal Liquefaction is excellent when you are far from oil deposits, need a self-sufficient oil source, or want to supplement your crude oil processing. It's also useful for providing a small, consistent supply of oil products anywhere on the map.
Q4: How do I balance my oil production if I have too much heavy oil?
A: Use chemical plants to crack heavy oil into light oil, and then crack the light oil into petroleum gas. This allows you to convert excess heavy oil into more valuable products.
Q5: What are the optimal ratios for oil processing?
A: For petroleum gas, common ratios are 8:2:7 (Refinery: Heavy Oil Cracking: Light Oil Cracking) for advanced processing and 12:8:11 for coal liquefaction. These ratios can change when using modules and beacons.
If you want to read more articles similar to Mastering Fluids in Factorio: A Comprehensive Guide, you can visit the Automotive category.
