Factorio Ratio Calculator: Optimize Your Production Ratios


Factorio Ratio Calculator

Optimize your Factorio production lines by calculating precise crafting ratios for any recipe.

Production Ratio Calculator

Enter the desired output per second for an item, and this calculator will determine the necessary input rates and crafting speeds.



How many items you want to produce each second.


Sum of crafting speed bonuses from modules and beacons (e.g., 1 for no bonus, 2.2 for 4 speed 3 modules in beacon). Default is 1.


Number of beacons affecting this machine.


Speed bonus (e.g., 1.4 for Speed Module 3) or Efficiency reduction (e.g., 0.1 for Efficiency Module 3).


Number of modules installed directly in the crafting machine.


Speed bonus (e.g., 1.5 for Speed Module 3) or Efficiency reduction (e.g., 0.05 for Efficiency Module 3).


Comparison of Required Machines vs. Output Rate

Recipe Details
Ingredient Required per Second (Total) Required per Second (Per Machine) Ratio (to Output Item)
Enter an item and desired output to see recipe details.

What is a Factorio Ratio Calculator?

A Factorio Ratio Calculator is an essential tool for players of the popular automation game Factorio. It helps determine the precise quantities of ingredients and the number of crafting machines required to produce a specific item at a desired rate. In Factorio, recipes consume raw materials and intermediate products to create more complex items. Maintaining the correct ratios between different production steps is crucial for building an efficient and scalable factory. Without proper ratios, you can end up with bottlenecks (where one machine produces slower than the ones feeding it) or idle machines (where the input supply is insufficient).

Who should use it:

  • New players learning the complexities of Factorio production chains.
  • Experienced players optimizing large-scale megabases.
  • Players designing specific production lines, such as for rocket parts or advanced science packs.
  • Anyone looking to avoid common Factorio factory design mistakes and ensure smooth operation.

Common Misconceptions:

  • Misconception: Simply matching the number of assemblers for each input ingredient is enough. Reality: Different ingredients have different crafting speeds and quantities per craft, requiring a calculated ratio, not just a 1:1 machine count.
  • Misconception: Using the default crafting speed is always sufficient. Reality: Modules, beacons, and research advancements significantly alter crafting speeds, and the calculator must account for these to provide accurate ratios.
  • Misconception: The calculator only shows input needs. Reality: It also calculates the number of output machines needed and the total crafting speed required, providing a complete picture.

Factorio Ratio Calculator Formula and Mathematical Explanation

The core of the Factorio Ratio Calculator relies on understanding the game’s crafting mechanics. The fundamental principle is to balance the input rate of materials with the output rate of the desired product.

Step-by-step Derivation:

  1. Desired Output Rate (D): This is the target number of items you want to produce per second.
  2. Recipe Details: Each recipe has specific values:
    • Items per Craft (I): How many items are produced in a single crafting cycle.
    • Craft Time (C): The base time (in seconds) it takes to complete one craft cycle without any bonuses.
  3. Machine Crafting Speed (S): The base speed of the crafting machine. This is usually 1 for Assembler 1, 2 for Assembler 2, and 3 for Assembler 3.
  4. Modules & Beacons: These modify the crafting speed.
    • Machine Module Speed Bonus (M_s): The percentage increase in speed from modules in the machine (e.g., 1.5 for Speed 3).
    • Beacon Module Speed Bonus (B_s): The percentage increase in speed from modules in beacons affecting the machine (e.g., 1.4 for Speed 3).
    • Number of Beacons (N_b): The count of beacons providing the bonus.
  5. Effective Crafting Speed (E): The actual speed at which a machine crafts, considering all bonuses.

    E = S * (1 + M_s + (B_s * N_b))

    (Note: If efficiency modules are used, the formula becomes more complex to account for energy consumption and production speed reduction. For simplicity, this calculator assumes speed modules or focuses on the net speed effect.)

  6. Actual Craft Time per Machine (C_m): The time it takes to craft one item with the effective speed.

    C_m = C / E

  7. Items per Second per Machine (P_m): How many items one machine produces per second.

    P_m = I / C_m = I * E / C

  8. Required Machines (R): The number of machines needed to achieve the desired output rate.

    R = D / P_m = D * C / (I * E)

  9. Total Input Required per Second (T_i): For each input ingredient, this is the total amount needed across all machines.

    T_i = R * (Ingredient Amount per Craft / C_m) = R * (Ingredient Amount per Craft * E / C)

    Or more simply: T_i = D * (Ingredient Amount per Craft / I)

  10. Input per Machine: This is the amount of an ingredient one machine consumes per second.

    Input per Machine = Ingredient Amount per Craft / C_m = Ingredient Amount per Craft * E / C

Variable Explanations:

Here’s a breakdown of the key variables used in the calculations:

Variable Meaning Unit Typical Range
D (Desired Output Rate) The target number of final products per second. Items/sec 0.01 – 100+
I (Items per Craft) Number of items produced in one crafting cycle. Items/cycle 1 – 100s
C (Craft Time) Base time for one crafting cycle. Seconds/cycle 0.5 – 60
S (Base Crafting Speed) The inherent speed of the crafting machine. Speed Units 1 (Assembler 1) to 3 (Assembler 3)
Ms (Machine Speed Bonus) Speed increase from modules in the machine. % Increase 0 – 1.5 (Speed 3 modules)
Bs (Beacon Speed Bonus) Speed increase from modules in beacons. % Increase 0 – 1.4 (Speed 3 modules)
Nb (Beacon Count) Number of beacons affecting the machine. Count 0 – 10+
E (Effective Crafting Speed) Actual crafting speed considering all bonuses. Speed Units 1.0+
Cm (Actual Craft Time) Craft time per machine with bonuses. Seconds/cycle 0.1 – 10+
Pm (Items per Sec per Machine) Production rate of a single machine. Items/sec 0.1 – 100+
R (Required Machines) Number of machines needed for the desired output. Count 1 – 1000+
Ingredient Amount per Craft Amount of a specific ingredient consumed per craft cycle. Items/cycle 1 – 100s
Ti (Total Input Required) Total amount of an ingredient needed per second. Items/sec 1 – 1000s

Practical Examples (Real-World Use Cases)

Let’s illustrate with a couple of common Factorio scenarios:

Example 1: Producing Red Science Packs (Science Pack 1)

Scenario: You want to produce 10 Red Science Packs per second for your early-game research.

Inputs:

  • Desired Output Per Second: 10
  • Crafting Speed Modifier: 1 (No modules/beacons yet)
  • Beacon Count: 0
  • Machine Module Count: 0

Recipe Details (Red Science Pack):

  • Items per Craft: 1
  • Craft Time: 5 seconds
  • Ingredients: 1 Copper Plate, 1 Iron Plate

Calculation:

  • Base Crafting Speed = 1 (Assembler 1)
  • Effective Crafting Speed (E) = 1 * (1 + 0 + (0 * 0)) = 1
  • Items per Second per Machine (P_m) = 1 item / 5 sec * 1 = 0.2 items/sec
  • Required Machines (R) = 10 items/sec / 0.2 items/sec/machine = 50 machines
  • Total Copper Plates Needed = 50 machines * (1 Plate / 5 sec / 1) = 10 plates/sec
  • Total Iron Plates Needed = 50 machines * (1 Plate / 5 sec / 1) = 10 plates/sec

Result Interpretation: To produce 10 Red Science Packs per second using basic Assembler 1s, you need 50 Assembler 1s. Each assembler consumes 0.2 Copper Plates and 0.2 Iron Plates per second. This requires a steady supply of 10 Copper Plates and 10 Iron Plates per second.

Example 2: Producing Rocket Parts with Modules and Beacons

Scenario: You’re scaling up for the rocket launch and want to produce 1 Rocket Part per second, using Assembler 3s with Speed 3 modules and beacons.

Inputs:

  • Desired Output Per Second: 1
  • Crafting Speed Modifier: 4.2 (Assembler 3 base speed of 2, plus 2 Speed 3 modules giving +50% each = 2 * (1 + 0.5 + 0.5) = 4.0. The calculator combines these.) Let’s input the individual effects.
  • Machine Module Count: 2 (Speed 3)
  • Machine Module Effect: 1.5 (Speed 3 bonus is +50% * 2 modules = 100% = 1.0 effective speed bonus) – *Correcting formula interpretation: module effect is per module* Let’s recalculate the modifier below.
  • Beacon Module Count: 4 (Speed 3 modules in 4 beacons)
  • Beacon Module Effect: 1.4 (Speed 3 bonus per beacon)

Recipe Details (Rocket Part):

  • Items per Craft: 1
  • Craft Time: 10 seconds
  • Ingredients: 100 Steel Plate, 100 Rocket Fuel, 100 Copper Cable

Calculation:

  • Base Crafting Speed (S) = 2 (Assembler 3)
  • Machine Module Speed Bonus (M_s) = 2 modules * 1.5 (Speed 3) = 3.0 (total speed bonus from modules)
  • Beacon Module Speed Bonus (B_s) = 1.4 (Speed 3)
  • Beacon Count (N_b) = 4
  • Effective Crafting Speed (E) = 2 * (1 + 3.0 + (1.4 * 4)) = 2 * (1 + 3.0 + 5.6) = 2 * 9.6 = 19.2
  • Actual Craft Time per Machine (C_m) = 10 sec / 19.2 = 0.521 seconds/craft
  • Items per Second per Machine (P_m) = 1 item / 0.521 sec = 1.92 items/sec
  • Required Machines (R) = 1 item/sec / 1.92 items/sec/machine = 0.521 machines (round up to 1 machine)
  • Total Steel Plates Needed = 1 machine * (100 Plates / 0.521 sec) = 192 plates/sec
  • Total Rocket Fuel Needed = 1 machine * (100 Fuel / 0.521 sec) = 192 fuel/sec
  • Total Copper Cables Needed = 1 machine * (100 Cables / 0.521 sec) = 192 cables/sec

Result Interpretation: With a highly augmented setup (Assembler 3, 2 Speed 3 modules, 4 Speed 3 beacons), a single machine can produce almost 2 Rocket Parts per second. Therefore, to achieve 1 Rocket Part per second, you only need 1 machine. This machine will consume approximately 192 Steel Plates, 192 Rocket Fuel, and 192 Copper Cables per second.

How to Use This Factorio Ratio Calculator

Using the Factorio Ratio Calculator is straightforward. Follow these steps to optimize your production:

  1. Select the Output Item: Use the dropdown menu to choose the item you want to calculate the production ratios for.
  2. Enter Desired Output: Input the number of items you wish to produce per second in the “Desired Output Per Second” field. This is your primary production goal.
  3. Input Modifiers:
    • Crafting Speed Modifier: If you are using Assembler 3s or have researched crafting speed upgrades, enter the total modifier. For basic Assembler 1, this is 1. For Assembler 3, it’s 2. For Assembler 2, it’s 1.2.
    • Beacon and Module Effects: Enter the number of beacons and modules you plan to use, and select their respective effects (Speed or Efficiency). The calculator will compute the combined speed bonus.
  4. View Results: The calculator will automatically update to show:
    • Main Result (Items per Second per Machine): How many of the desired items a single, configured machine can produce.
    • Input Count Per Second: The total required input rate for each ingredient of the recipe.
    • Required Machines: The total number of crafting machines needed to meet your desired output.
    • Total Crafting Speed: The effective speed multiplier applied to the crafting process.
  5. Analyze the Table: The table below the calculator breaks down the requirements per ingredient:
    • Required per Second (Total): The total consumption rate for that ingredient across all your machines.
    • Required per Second (Per Machine): How much of that ingredient a single crafting machine consumes.
    • Ratio (to Output Item): This indicates how many units of the ingredient are needed for each unit of the desired output item, factoring in all recipe and speed variables.
  6. Interpret the Chart: The chart visualizes the relationship between the number of machines and the output rate, helping you understand scalability.
  7. Copy Results: Use the “Copy Results” button to quickly share your calculated ratios or save them for later.
  8. Reset: Click “Reset” to clear all fields and start a new calculation.

Decision-Making Guidance: Use the results to plan your factory layout. The “Required Machines” tells you how many assemblers to build. The “Total Input Required” dictates the capacity of your mining, smelting, and intermediate production lines feeding into these assemblers. Ensure your upstream processes can match these demands.

Key Factors That Affect Factorio Ratio Results

Several factors significantly influence the ratios calculated and the overall efficiency of your Factorio factory:

  1. Crafting Speed of Machines: The base speed of Assembler 1, 2, or 3 is the fundamental starting point. Higher-tier assemblers inherently require fewer machines for the same output.
  2. Recipe Complexity (Items per Craft & Craft Time): Recipes with more items produced per craft cycle or shorter craft times require fewer machines. Conversely, slow, single-item recipes demand more machines.
  3. Modules (Speed vs. Efficiency):
    • Speed Modules: Directly increase crafting speed, reducing the number of machines needed but increasing power consumption. Crucial for high-throughput designs.
    • Efficiency Modules: Reduce power consumption and pollution, but also slow down crafting speed. This necessitates more machines to achieve the same output, increasing factory footprint and resource requirements. The calculator’s “Effective Crafting Speed” reflects this trade-off.
  4. Beacons: These structures provide significant speed boosts to nearby machines via modules. A well-placed beacon setup can drastically reduce the number of required crafting machines, making them vital for megabases. The calculator accounts for the number of beacons and their module effects.
  5. Research Upgrades: Various technologies increase crafting speeds, unlock advanced machines (like Assembler 3), and improve module effectiveness. Always ensure your research is up-to-date.
  6. Power Availability: High module and beacon usage dramatically increases power demand. Insufficient power generation will lead to brownouts or blackouts, halting production and invalidating calculated ratios. Factor this into your power grid planning.
  7. Resource Availability & Throughput: Even with perfect ratios, if your mines, belts, or trains cannot supply the required input materials fast enough, your machines will sit idle, and actual output will be lower than calculated. Bottlenecks upstream are as detrimental as incorrect ratios.
  8. Pollution: While not directly affecting ratios, high pollution levels from many machines and modules can attract more biters, requiring robust defenses, which adds another layer of factory planning. Efficiency modules help mitigate this.

Frequently Asked Questions (FAQ)

  • Q: What is the difference between Speed and Efficiency modules in the calculator?

    A: Speed modules increase crafting speed (reducing machine count) but increase power draw and pollution. Efficiency modules decrease power draw and pollution but slow down crafting speed (requiring more machines). The calculator uses the “Effective Crafting Speed” to show the net result of these modules.

  • Q: Do I need to account for belt throughput limits?

    A: Yes. The calculator provides the theoretical required input/output per second. You must ensure your logistics (belts, trains, drones) can physically move those items. A fully compressed blue belt can carry 40 items/sec. If your calculation requires 50 plates/sec for an ingredient, two blue belts are insufficient.

  • Q: How does the “Crafting Speed Modifier” work with modules and beacons?

    A: The calculator combines them. The base modifier (e.g., Assembler 3 = 2) is multiplied by the bonuses from modules and beacons. The formula `E = S * (1 + M_s + (B_s * N_b))` shows how these stack additively for speed bonuses.

  • Q: Can I use this for oil processing?

    A: This calculator is primarily for item crafting recipes. Fluid mechanics, refinery speeds, and cracking ratios require different calculations, often focusing on fluid/second rates and percentages.

  • Q: What if the “Required Machines” number is a fraction?

    A: Always round up to the nearest whole number. You cannot build a fraction of a machine. Building one less machine than calculated will result in an output rate lower than your desired target.

  • Q: Does the calculator consider Productivity modules?

    A: This version primarily focuses on Speed and Efficiency modules for direct ratio calculation. Productivity modules increase output per craft cycle but significantly slow down crafting time. Incorporating them requires a more complex calculation that adjusts the “Items per Craft” and “Craft Time” dynamically.

  • Q: How do I calculate ratios for intermediate products feeding into another recipe?

    A: First, calculate the required output rate for the final product. Then, determine the total input rate needed for each intermediate ingredient. Use those input rates as the “Desired Output Per Second” for the intermediate ingredient’s recipe in a new calculation.

  • Q: What’s the best strategy for balancing ratios?

    A: Aim for a slight overproduction on upstream components (e.g., 110% of needed) to account for potential fluctuations or power dips. Use beacons and higher-tier assemblers for critical, high-volume recipes to minimize factory footprint.

© 2023 Your Website Name. All rights reserved.



Leave a Reply

Your email address will not be published. Required fields are marked *