An SPM calculator for Factorio converts a production rate in items per minute into the number of machines needed, or estimates output from a known machine count. Enter the recipe’s crafting time, machine speed, productivity bonus, and target rate to see the required machine count; the result is a planning estimate, not a game-integrated readout.
Formula
In Factorio, a recipe with crafting time t seconds produces one recipe output per craft. A machine with crafting speed s completes crafts at a rate of s / t crafts per second. For a recipe that produces one item per craft, its output rate is:
Rate per machine = 60 × s × (1 + p / 100) ÷ t, in items per minute.
To meet a target rate r, divide the target by that rate:
Machines required = r × t ÷ [60 × s × (1 + p / 100)].
- t is the recipe’s displayed crafting time in seconds.
- s is the machine’s crafting-speed value, such as 0.5 for a stone furnace or 1 for an assembling machine with base speed 1.
- p is the total productivity bonus as a percentage. For example, a 20% bonus is entered as 20, not 0.20.
- r is the desired output rate in items per minute.
This formula assumes one item per craft. If a recipe produces multiple items, multiply the per-machine rate by the recipe’s output count. For a recipe with several outputs, calculate each output separately. The calculator’s first result is a fractional machine count; in a build, round it up to a whole machine.
Worked Example
With the defaults, the recipe takes 5 seconds, the machine speed is 1, productivity bonus is 0%, and the target is 60 items per minute.
Rate per machine = 60 × 1 × (1 + 0 / 100) ÷ 5 = 12 items/min.
Machines required = 60 × 5 ÷ [60 × 1 × (1 + 0 / 100)] = 300 ÷ 60 = 5.00 machines.
So five machines running continuously at the stated speed meet the example target, before considering material shortages, downtime, or other production constraints.
Assumptions
- The recipe produces exactly one item per craft.
- Machines run continuously and have the entered crafting speed.
- The productivity percentage is a total bonus applied to recipe output; no other speed or output modifiers are included.
- The calculation describes average output over time, not the timing of individual completed crafts.
What SPM Means in Factorio
SPM usually means science packs per minute, especially when players discuss a factory’s science throughput. It is a rate, not a count of machines or a universal measure of factory size. A factory making 60 red science packs per minute has a different set of production demands from one making 60 of every science pack per minute.
People also use items per minute for plates, circuits, belts, or other products. The same basic rate calculation applies, but the recipe chain matters: science packs need ingredients, and those ingredients need their own production. A calculator for one recipe does not automatically prove the whole factory can sustain the target.
In ordinary conversation, a stated SPM target may refer to science packs consumed by labs, packs produced, or the factory’s nominal capacity. Clarify which meaning is intended. If the aim is research progress, lab consumption and the science-pack mix matter as well as production capacity.
How to Choose the Inputs
- Use the recipe time, not an assumed machine cycle. Check the recipe’s crafting-time value in the game. The displayed time is the baseline duration before machine speed and modifiers.
- Enter the machine’s actual crafting speed. The value differs by machine type and may be changed by modules, research, or other game effects. Use the effective speed if known; otherwise, use the machine’s base speed and treat the answer as a baseline.
- Enter productivity as a percentage. A +20% productivity effect goes in as 20. Productivity adds output over time; it does not make the machine craft faster. Speed effects belong in the machine-speed input.
- Match the target to the recipe output. If one craft makes two items, the formula needs that factor of two. For example, a 5-second recipe at speed 1 makes 24 items/min with two items per craft, before productivity.
- Round up for a practical machine count. A result of 5.4 means six machines are needed to meet or exceed the target under the model. The extra capacity may produce more than the requested rate.
Limits and Common Mistakes
The calculator treats production as a steady average. Machines actually finish discrete crafts, so a short observation can show a rate above or below the long-run average. Belts, inserters, power, input supply, output blocking, and machine downtime can all reduce real throughput. A calculated machine count is therefore a recipe-level estimate, not a guarantee that the factory will deliver the target.
Do not confuse crafting speed with productivity. Speed changes how quickly a craft finishes. Productivity increases the output credited per craft or over a production cycle, depending on the game mechanic. Entering a productivity bonus as extra speed gives the wrong result, and entering 0.2 instead of 20 for a 20% bonus barely changes the calculation.
Recipe output quantity is another frequent source of error. This calculator assumes one item per craft. If a recipe yields multiple items, include that quantity by adjusting the rate calculation: multiply the output-per-machine result by the number of items produced, or divide the required machine count by that quantity. For recipes with probabilistic or variable outputs, use an appropriate average yield rather than assuming a guaranteed single item.
Finally, check whether the game version or settings have changed recipe times, machine speeds, or productivity rules. The formula is simple, but its inputs are game-dependent. For a full science target, calculate each relevant recipe and then check whether the material and transport networks can support the combined rates.
Frequently Asked Questions
What does SPM mean in Factorio?
SPM commonly means science packs per minute, a measure of science production or consumption rate. It can also be used loosely for other items per minute, so confirm what a particular target includes.
How many machines do I need for 60 items per minute?
It depends on recipe time, machine speed, productivity, and output per craft. With the calculator’s defaults—5 seconds, speed 1, no productivity, and one item per craft—the answer is five machines.
Should I round a machine count up or down?
Round up when the goal is to meet or exceed a target. A fractional result represents average capacity; a partial machine is not usually a practical build, although a lower count can be enough if the target is only approximate.
Does productivity make machines faster?
No. Productivity raises output without shortening the craft time. Use the productivity input for the output bonus and the crafting-speed input for speed effects.
Does this calculate a complete science factory?
No. It estimates the machines for one recipe and target output. A complete factory also needs ingredient production, transport capacity, power, and the relevant science-pack mix and lab demand.
Related
Formula used
in t | Recipe crafting time | s | 5 | 0 in s | Machine crafting speed | - | 1 | 0 in p | Productivity bonus | % | 0 | 0 in r | Target production rate | items/min | 60 | 0 out m | Machines required | machines | r * t / (60 * s * (1 + p / 100)) | 2 out q | Rate per machine | items/min | 60 * s * (1 + p / 100) / t | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Gas Correction Factor Formula and Calculator0.9829
- Gas Correction Factor Calculator and Table1.2534
- Gas Correction Factor Calculator: Formula and Uses107.322 same as input
- Gas Temperature: Calculate It from Pressure and Volume298.15 K
- Gas Cv Calculator: Heat Capacity Ratio and Formula20.786 J/(mol·K)
- Density Temperature Correction Calculator and Formula999.25 kg/m^3