Factorio Lab Calculator: Science Pack Production Efficiency
Optimize your Factorio research labs by calculating the precise science pack production needed for efficient research.
Factorio Lab Calculator
Enter your desired research speed and the required science packs to determine the necessary production rates.
How many science packs your labs consume per minute. A common goal is 1 science pack per second (60/min).
Select the type of science pack your labs are currently researching.
The total number of research labs in your facility.
Base lab speed is 1.0. Add module bonuses (e.g., 1.4 for 2 Speed Modules).
Number of productivity module slots in each lab (0, 1, or 2). Used for calculating base speed.
Total number of speed modules across all labs.
Total number of effectivity modules across all labs.
Number of beacons surrounding each lab.
Number of speed modules inside each beacon.
Number of effectivity modules inside each beacon.
Production Requirements
Effective Lab Speed = (Base Lab Speed + Module Speed Bonus + Beacon Speed Bonus) * (1 + Module Effectivity Bonus + Beacon Effectivity Bonus) * (1 + Productivity Bonus)
Where Base Lab Speed is affected by productivity module slots.
Required Base Production (per minute) = (Target Research Speed) * (Science Pack Research Cost) / (Effective Lab Speed)
Science Pack Research Costs & Base Speeds
| Science Pack Type | Cost per Research | Base Speed (Labs/min) |
|---|---|---|
| Red Science Pack (Automation) | 1 | 1 |
| Green Science Pack (Logistics) | 1 | 1 |
| Blue Science Pack (Military) | 1 | 1 |
| Yellow Science Pack (Chemical) | 2 | 1 |
| Purple Science Pack (Production) | 3 | 1 |
| Orange Science Pack (Space) | 4 | 1 |
| White Science Pack (Advanced) | 50 | 2 |
What is Factorio Science Pack Production Optimization?
Factorio science pack production optimization refers to the strategic process of designing and managing your factory’s output of the various science packs required for research. In the game Factorio, research is the primary means of unlocking new technologies, allowing players to advance their industrial capabilities, discover more efficient production methods, and ultimately launch a rocket to win the game. Science packs are the “currency” of research, consumed by research labs. The efficiency with which these packs are produced and delivered directly dictates the pace of technological advancement. Without effective optimization, players can find their research bottlenecked, leading to a slow and frustrating progression. This involves not just building enough labs but ensuring a steady, reliable, and scalable supply chain for each science pack type.
Who should use Factorio lab calculators:
- New Players: To get a basic understanding of how many labs and assemblers they might need for early-game research.
- Mid-Game Players: To scale up their research for more advanced technologies, especially when transitioning to higher science pack tiers.
- Late-Game Players: To fine-tune their megabase designs, aiming for very high research speeds (e.g., 1 science pack per second or more) and optimizing resource allocation.
- Speedrunners: Who need precise calculations to minimize research time and achieve target goals quickly.
- Any player who wants to avoid the common pitfall of having their research labs sit idle due to insufficient science pack supply.
Common misconceptions about Factorio science pack production:
- “Just build more labs”: While more labs increase research capacity, they are useless without a constant flow of science packs. The bottleneck is often production, not lab count.
- “All science packs are equal”: Different science packs have varying research costs and are introduced at different stages of the game. Their production complexity and resource requirements differ significantly. White science packs, for instance, require a massive industrial overhaul.
- “Base lab speed is sufficient”: As the game progresses, research costs skyrocket. Relying solely on base lab speeds (1.0) and no modules/beacons quickly becomes untenable for advanced research.
- Ignoring the impact of modules and beacons: These late-game elements dramatically increase lab throughput and can drastically alter production requirements.
Factorio Science Pack Production & Lab Calculation Formula and Mathematical Explanation
Calculating the required science pack production for Factorio labs involves understanding several key components: the target research speed, the number of labs, the speed of those labs (influenced by modules and beacons), and the research cost of the science pack itself.
Step 1: Determine Effective Lab Speed
The base speed of a lab is 1.0. This speed can be modified by modules and beacons.
Base Speed Consideration: Labs with productivity module slots (Purple and White science packs) have a base speed of 2.0 when no productivity modules are installed, but their effective speed is reduced by the module choice.
Module Speed Calculation:
- Speed Modules: Each speed module adds +50% speed (bonus = 0.5). Total speed bonus from modules = `(Total Speed Modules) * 0.5`
- Effectivity Modules: Each effectivity module reduces consumption by 10% (bonus = -0.1), but for calculating production, we focus on speed. Effectivity modules do not directly increase lab speed but reduce power consumption and pollution. For pure production calculation, we can often ignore their direct speed impact unless focusing on overall factory efficiency. However, if they are present, they *do* reduce the effective consumption speed slightly by not increasing it. For simplicity in production calculation, we’ll focus on the speed modules’ direct impact. The formula often used simplifies this:
Module Effect: If a lab has `P` productivity slots, `S` speed slots, and `E` effectivity slots, the speed multiplier is approximately:
`BaseSpeed * (1 + S * 0.5 + E * -0.1) + ProductivityEffect`
This gets complex with beacons. A more practical approach for total throughput:
Effective Lab Speed Multiplier:
Let:
- `N_labs` = Number of Labs
- `Base_Lab_Speed` = 1 (or 2 for Purple/White without productivity modules)
- `S_modules` = Total Speed Modules installed in labs
- `E_modules` = Total Effectivity Modules installed in labs
- `B_per_lab` = Beacons per Lab
- `S_beacon` = Speed Modules in Beacons
- `E_beacon` = Effectivity Modules in Beacons
The speed bonus from modules in labs: `SpeedModBonus = S_modules * 0.5`
The speed bonus from beacons: `BeaconSpeedBonus = B_per_lab * S_beacon * 1.5` (Each speed module in a beacon adds 1.5 speed)
The effectivity bonus from modules in labs: `EffectModBonus = E_modules * -0.1`
The effectivity bonus from beacons: `BeaconEffectBonus = B_per_lab * E_beacon * -0.15`
Simplified Effective Lab Speed (per lab):
`EffectiveSpeed_per_Lab = Base_Lab_Speed * (1 + S_modules / N_labs * 0.5 + E_modules / N_labs * -0.1) * (1 + B_per_lab * 0.75) * (1 + B_per_lab * S_beacon * 1.5 / (N_labs + B_per_lab)) + …`
This gets complicated quickly. A more direct calculation for total throughput:
Calculate the *total speed modification* across all labs and beacons.
Total Speed from Labs:
`TotalLabSpeed = N_labs * Base_Lab_Speed`
Total Speed Module Bonus:
`TotalModuleSpeedBonus = S_modules * 0.5 * N_labs`
Total Beacon Speed Bonus:
`TotalBeaconSpeedBonus = B_per_lab * S_beacon * 1.5 * N_labs`
Effective Total Lab Throughput Speed:
`EffectiveTotalSpeed = (TotalLabSpeed + TotalModuleSpeedBonus + TotalBeaconSpeedBonus)`
Note: Effectivity modules reduce power/pollution, not directly speed for production calculation purposes. Productivity modules add “free” items but reduce the speed at which they are produced. The calculator focuses on *required output*, so we calculate the speed needed to meet demand.
Final Effective Lab Speed (per minute):
`FinalEffectiveLabSpeed = (N_labs * Base_Lab_Speed + S_modules * 0.5 * N_labs + B_per_lab * S_beacon * 1.5 * N_labs) * (1 + E_modules / N_labs * -0.1 + B_per_lab * E_beacon * -0.15)`
This formula considers speed and effectivity modules within labs and beacons.
Step 2: Calculate Required Base Production Rate
The core of the calculation is determining how many *base units* of the target science pack need to be produced per minute to feed the labs.
Let:
- `TargetResearchSpeed` = Desired science packs per minute consumed by labs.
- `SciencePackResearchCost` = The number of science packs of the target type required to complete one research. (e.g., 1 for Red, 50 for White).
- `FinalEffectiveLabSpeed` = The calculated speed of all labs combined (from Step 1).
Calculation:
The total number of science packs consumed per minute by all labs is `TargetResearchSpeed`.
Each research consumes `SciencePackResearchCost` packs.
So, the labs require `TargetResearchSpeed / SciencePackResearchCost` researches to be completed per minute.
The total speed at which labs can complete researches is `FinalEffectiveLabSpeed / SciencePackResearchCost` (since `FinalEffectiveLabSpeed` is packs/min and we need researches/min).
Therefore, the required production rate of the *specific science pack* is:
Required Production Rate (Packs/min) = Target Research Speed (Packs/min)
This seems tautological but reflects the goal: if you want your labs to consume 60 packs/min, you need to produce 60 packs/min of that type. The complexity lies in achieving this rate with the available infrastructure.
However, if the goal is to determine the *assembler production rate* needed, we use:
Assembler Output Needed (Packs/min) = Target Research Speed (Packs/min)
This is because the `TargetResearchSpeed` is the number of packs the labs *need* per minute.
The calculator output focuses on the *total throughput required*.
Primary Result: Required Production Rate (Science Packs/Minute)
Intermediate 1: Base Lab Speed (packs/min per lab)
Intermediate 2: Effective Lab Speed (Total packs/min across all labs with modules/beacons)
Intermediate 3: Base Production Needed (if using only base assemblers without modules/beacons, for comparison)
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Target Research Speed | Desired consumption rate of science packs by labs. | Packs/min | 1 – 1000+ (highly variable) |
| Science Pack Type | The specific science pack being researched. | N/A | 1 (Red) to 7 (White) |
| Number of Labs | Total research labs available. | Labs | 1 – 1000+ |
| Base Lab Speed | Intrinsic speed of a lab. | Speed Multiplier | 1.0 or 2.0 |
| Speed Modules | Total number of speed modules in labs/beacons. | Modules | 0 – 1000+ |
| Effectivity Modules | Total number of effectivity modules in labs/beacons. | Modules | 0 – 1000+ |
| Productivity Modules | Total number of productivity modules in labs. | Modules | 0 – 2 per lab (max 2x) |
| Beacons per Lab | Number of beacons surrounding each lab. | Beacons/Lab | 0 – 10+ |
| Beacon Speed Modules | Number of speed modules within each beacon. | Modules/Beacon | 0 – 6 |
| Beacon Effectivity Modules | Number of effectivity modules within each beacon. | Modules/Beacon | 0 – 6 |
| Science Pack Research Cost | Packs required for one research of that type. | Packs | 1 – 50 |
| Effective Lab Speed | Actual total speed of all labs considering all bonuses. | Packs/min | Variable |
| Required Production Rate | Total packs of the specified type needed per minute. | Packs/min | Variable |
Practical Examples (Real-World Use Cases)
Example 1: Setting up for Blue Science (Military)
Scenario: A player wants to research technologies requiring blue science packs efficiently. They have 15 labs, and each lab is equipped with 2 speed modules and 0 effectivity modules. They plan to use beacons later.
Inputs:
- Target Research Speed: 60 packs/min (1 pack/sec goal)
- Science Pack Type: Blue Science Pack (Military)
- Number of Labs: 15
- Lab Speed (Base): 1.0
- Productivity Module Slots: 0
- Speed Modules: 15 labs * 2 modules/lab = 30 total speed modules
- Effectivity Modules: 0
- Beacons per Lab: 0
- Beacon Speed Modules: 0
- Beacon Effectivity Modules: 0
Calculation:
- Base Lab Speed: 1.0
- Total Speed Module Bonus: 30 modules * 0.5 speed/module = 15.0
- Total Base Lab Throughput: 15 labs * 1.0 base speed = 15.0
- Effective Total Speed (without beacons): 15.0 (base throughput) + 15.0 (module bonus) = 30.0 packs/min
- Research Cost for Blue Science: 1 pack
- Required Production Rate: 60 packs/min
Results Interpretation:
- Primary Result: Required Production: 60 Packs/min
- Intermediate 1: Base Lab Speed: 1.0
- Intermediate 2: Effective Lab Speed: 30.0 Packs/min
- Intermediate 3: Base Production Needed (if labs had no modules): 60 packs/min
To achieve a research speed that *consumes* 60 blue science packs per minute, the player needs to produce 60 blue science packs per minute. With 15 labs, each having 2 speed modules, the labs collectively operate at an effective speed of 30 packs/min. This means the player needs to set up assemblers capable of producing 60 blue science packs per minute to ensure the labs don’t starve.
Example 2: Scaling up for White Science (Advanced) with Beacons
Scenario: A player is building a megabase and wants a very high research speed for white science packs. They have 100 labs, each surrounded by 4 beacons, each beacon containing 6 speed modules. Labs have 2 productivity modules installed.
Inputs:
- Target Research Speed: 600 packs/min (10 packs/sec goal)
- Science Pack Type: White Science Pack (Advanced)
- Number of Labs: 100
- Base Lab Speed: 2.0 (for White Science)
- Productivity Module Slots: 2 (affect base speed calculation)
- Speed Modules: 0 (in labs)
- Effectivity Modules: 0 (in labs)
- Beacons per Lab: 4
- Beacon Speed Modules: 6
- Beacon Effectivity Modules: 0
Calculation:
- Base Lab Speed: 2.0
- Total Lab Throughput Base: 100 labs * 2.0 = 200 packs/min
- Total Speed Module Bonus (in labs): 0 modules * 0.5 * 100 labs = 0
- Total Beacon Speed Bonus: 4 beacons/lab * 6 modules/beacon * 1.5 speed/module * 100 labs = 3600 packs/min
- Total Effectivity Module Bonus (labs): 0 * -0.1 * 100 = 0
- Total Beacon Effectivity Bonus: 4 beacons/lab * 0 modules/beacon * -0.15 * 100 labs = 0
- Effective Total Speed (considering only speed bonuses): 200 (base) + 0 (lab modules) + 3600 (beacon modules) = 3800 packs/min
- Research Cost for White Science: 50 packs
- Required Production Rate: 600 packs/min
Results Interpretation:
- Primary Result: Required Production: 600 Packs/min
- Intermediate 1: Base Lab Speed: 2.0
- Intermediate 2: Effective Lab Speed: 3800.0 Packs/min
- Intermediate 3: Base Production Needed (if labs had no modules/beacons): 600 packs/min
To achieve a consumption rate of 600 white science packs per minute, the player needs to produce 600 white science packs per minute. The setup with 100 labs, productivity modules, and a dense beacon network provides an immense effective lab speed of 3800 packs/min, far exceeding the target consumption. This indicates that the player has ample lab capacity and can focus on ensuring the 600 packs/min supply chain is robust. The high effective speed also means research will be extremely fast, possibly limited by the slowest science pack if other labs aren’t similarly equipped.
How to Use This Factorio Lab Calculator
This calculator helps you determine the exact science pack production rates needed to fuel your Factorio research labs at your desired speed. Follow these steps for accurate results:
Step-by-Step Instructions:
- Set Target Research Speed: Input the total number of science packs (of any type) you want your labs to consume per minute. A common goal is 60 packs/min (1 pack per second).
- Select Science Pack Type: Choose the specific science pack (Red, Green, Blue, Yellow, Purple, Orange, or White) that corresponds to the research you are focusing on. This selection determines the research cost and base lab speed multiplier.
- Enter Lab Configuration:
- Number of Labs: Input the total count of research labs you have or plan to build.
- Base Lab Speed: This is usually 1.0. For Purple (Production) and White (Advanced) science packs, the base speed is 2.0 if productivity modules are NOT installed.
- Productivity Module Slots: Enter the number of productivity module slots available in each lab (0, 1, or 2). This affects the base speed calculation.
- Speed Modules: Sum the total number of Speed Modules installed across ALL your labs.
- Effectivity Modules: Sum the total number of Effectivity Modules installed across ALL your labs.
- Beacons per Lab: Indicate how many beacons surround, on average, each lab.
- Beacon Speed Modules: Sum the total number of Speed Modules placed inside ALL beacons that affect your labs.
- Beacon Effectivity Modules: Sum the total number of Effectivity Modules placed inside ALL beacons that affect your labs.
- Calculate: Click the “Calculate Requirements” button.
How to Read Results:
- Primary Highlighted Result (Required Production): This is the most crucial number. It tells you the exact number of science packs of the selected type that your factory’s production chain (assemblers, miners, oil, etc.) must output every minute to keep your labs fully supplied.
- Intermediate Value 1 (Base Lab Speed): Shows the intrinsic speed multiplier of the lab itself, before any modules or beacons are considered.
- Intermediate Value 2 (Effective Lab Speed): This is the total combined speed (in packs per minute) of ALL your labs, factoring in their modules and the effects of surrounding beacons. It indicates your labs’ total consumption capacity.
- Intermediate Value 3 (Base Production Needed): This value shows how many packs you would need per minute if you were only using labs with their base speed and no modules or beacons. It serves as a baseline for comparison.
Decision-Making Guidance:
- Production Focus: Ensure your factory can reliably produce the “Required Production” rate. If your current production is lower, you need to build more assemblers, improve recipes, or use modules/beacons on your production lines.
- Lab Scaling: If your “Effective Lab Speed” is significantly higher than your “Required Production,” your labs have excess capacity. You might be over-invested in labs or could reduce their number/module count if resources are scarce. Conversely, if “Effective Lab Speed” is lower than “Required Production”, your labs are the bottleneck, and you need more labs, better modules, or more beacons.
- Module & Beacon Strategy: The calculator highlights how significantly modules and beacons boost lab efficiency. Use this data to plan your module and beacon deployment for optimal research throughput.
- Balancing Science Packs: Remember this calculator focuses on one science pack type at a time. For balanced research, ensure you meet the production requirements for *all* science packs being actively researched. A common goal is to achieve a balanced output for all packs up to the current research tier.
Key Factors That Affect Factorio Lab and Science Pack Production Results
Several interconnected factors heavily influence the efficiency and output of your Factorio labs and science pack production lines. Understanding these is crucial for effective base design and scaling:
- Science Pack Research Costs: As you progress, the number of science packs required per research task increases dramatically. White science packs alone cost 50 packs per research, necessitating a massive production overhaul compared to early-game red science packs (costing 1). This escalating cost is the primary driver for scaling production.
- Lab Speed and Module Slots: Labs have a base speed (1.0x for most, 2.0x for purple/white without productivity). The number of module slots (0, 1, or 2) determines how many Speed, Effectivity, or Productivity modules can be installed per lab. More slots allow for greater efficiency gains or research speed.
- Modules (Speed, Effectivity, Productivity):
- Speed Modules: Directly increase lab speed, allowing faster research.
- Effectivity Modules: Reduce power consumption and pollution. While they don’t directly increase speed, they make existing speed more sustainable. Their impact on lab *speed* is indirect through allowing more modules overall without exceeding power limits.
- Productivity Modules: Significantly increase output by adding “free” items per research cycle, but they also reduce the lab’s speed and increase power consumption and pollution. They are essential for megabases but require careful balancing with speed.
- Beacons: Beacons provide significant buffs to modules within their range. Speed modules inside beacons provide a much larger speed boost (1.5x per module) than when placed directly in labs (0.5x per module). This makes beaconed setups the cornerstone of high-speed megabases. The density of beacons and modules within them is critical.
- Beacon Coverage: The number of beacons surrounding each lab determines how many labs benefit from the beacon’s effect. A 1:1 beacon-to-lab ratio is often considered the gold standard for maximum throughput, though resource and power constraints often dictate lower ratios.
- Power Generation: High module and beacon counts, especially with productivity modules, consume vast amounts of power. Insufficient power generation will cap your research speed regardless of your lab setup. You need a robust power infrastructure (e.g., solar, steam, nuclear) to support advanced research.
- Resource Availability and Belt Throughput: Even with fast labs, science packs must be produced. This requires raw resources, processing facilities, and efficient transportation (belts, trains, bots). Limited resources or insufficient belt/train throughput can bottleneck your science pack supply before your labs even reach their full potential.
- Beacon Module Count: The number of Speed or Effectivity modules placed *inside* each beacon dictates the magnitude of the boost. Optimizing this count balances beacon effectiveness with module material costs.
Frequently Asked Questions (FAQ)
What is the optimal number of labs for a megabase?
Should I use Speed or Productivity modules in labs?
How do beacons affect lab speed calculations?
What is the difference between base lab speed for Red/Green science and White science?
My labs are not consuming science packs as fast as my production. What’s wrong?
My production is much higher than my labs can consume. Is this bad?
How important is power for advanced research?
Does the calculator account for research speed modules (if they existed)?