Fork of Recursive Resource Calculator by Herddex. An in-game calculator, opened with ALT + X by default, which can be used to automatically compute the information you need to build a final product at a given rate of production: precise number of machines for each intermediate product, required production rates for all said intermediate products, approximate pollution and energy costs, with options for specifying module configurations, as well as machine types.
Providing the player with new tools or adjusting the game interface, without fundamentally changing gameplay.
Version: 1.1.16
Date: 2026.09.13
Info:
- Same code as 1.1.15, released for Factorio 2.1. Not yet tested in a Factorio 2.1 game.
Version: 1.1.15
Date: 2026.09.13
Info:
- Released for Factorio 2.0. The same code also runs on Factorio 2.1 (see 1.1.16).
- First release as RRC-Fork, a fork of RecursiveResourceCalculator by Herddex. The game treats it as a
different mod: sheets saved with RecursiveResourceCalculator do not carry over. Disable the original
while this one is enabled, since both open on the same key.
Features:
- Each report row shows exactly the chosen machine's module slots at the machine's quality, and
each slot offers only modules that both the machine and the recipe accept. Modules can have quality.
- Beacon groups: each group sets a beacon and its quality, how many beacons reach one machine, how
many machines share each beacon, and the modules inside the beacon. Effects follow the beacon's
distribution effectivity, quality bonus, profile and beacon counter.
- Energy consumption includes beacons, counted once per physical beacon.
Changes:
- Module counts from older saves are converted once into whole slots in their stored order.
Fractions, modules the machine or recipe refuses, and modules past the machine's slots are
dropped, so machine counts in old sheets change.
- Beacon effects are computed exactly. Factorio 2.0 rounds them internally, so its machine tooltip
can differ slightly.
Version: 1.1.14
Date: 2026.09.13
Info:
- Same code as 1.1.13, released for Factorio 2.1. Not yet tested in a Factorio 2.1 game.
Version: 1.1.13
Date: 2026.09.13
Info:
- Released for Factorio 2.0. The same code also runs on Factorio 2.1 (see 1.1.14).
Features:
- Sheets can target fluids: each input row has a fluid button next to the item button.
- Each sheet has a "Round up machines" checkbox that shows machine counts as whole machines.
Rates, energy and pollution stay exact; the exact count is shown in the tooltip.
Changes:
- Recipes with additional crafting categories can use machines of any of their categories.
- Queued recomputations run oldest first, so the calculator is centered after its sheets.
- When a pivot is missing the solver reorders rows, and it cross-checks its answer with a
largest-pivot elimination, keeping the answer that fits the equations better.
Bugfixes:
- Fixed some solvable systems being reported as having no solution.
- Fixed systems mixing tiny and huge amounts getting wrong machine counts, depending on the
order in which recipes were processed.
- Fixed a crash on configuration change when a mod turned a chosen crafting machine into
another kind of entity.
Version: 1.1.12
Date: 2026.09.13
Info:
- Same code as 1.1.11, released for Factorio 2.1. Not yet tested in a Factorio 2.1 game.
Bugfixes:
- Fixed products with a chance being counted at 100% on Factorio 2.1, where the probability
of a product is described by independent and shared probabilities.
Version: 1.1.11
Date: 2026.09.13
Info:
- Released for Factorio 2.0. The same code also runs on Factorio 2.1 (see 1.1.12).
Changes:
- Items and fluids produced by one recipe and consumed by another are now shown at their net
rate (consumption minus production), not only when production exceeds consumption.
- Rows of intermediate products show the output rate of their recipe.
- The same item entered in several input rows of a sheet is now summed.
Bugfixes:
- Fixed recipes listing the same product several times (e.g. spoilage variants) needing many
times too many machines and showing a negative production rate.
- Fixed catalysts (e.g. Kovarex enrichment process) being computed as if the ingredient
replaced the product.
- Fixed productivity bonuses being multiplied instead of added, and not being capped at the
recipe's maximum productivity.
- Fixed productivity being applied to catalyst amounts, and to randomized amounts before
averaging.
- Fixed extra count fractions not being weighted by product probability.
- Fixed the quality of the chosen crafting machine being ignored for machine counts and lost
from the machine button.
- Fixed byproducts whose recipe is selected but unused missing from the report.
- Fixed empty sheets showing an empty report.
- Fixed small recipe amounts crashing the solver or being rejected as unsolvable.
- Fixed a crash on configuration change after a mod adding modules was removed.
- Fixed productivity research recomputing the wrong players, which crashed in multiplayer.
- Fixed the calculator's count of pending computations never decreasing.
- Fixed a crash when a player with pending computations is removed.
- Fixed crashes with crafting machines that have no effect receiver or emit no pollution.
Version: 1.1.10
Date: 2026.08.19
Info:
- Updated to Factorio 2.1.
Version: 1.1.9
Date: 2026.06.17
Bugfixes:
- Fixed an incorrect product amount computation formula.
Version: 1.1.8
Date: 2025.08.25
Bugfixes:
- Fixed researched recipe productivity bonuses not being taken into account.
Version: 1.1.7
Date: 2025.08.03
Bugfixes:
- Changed the default key binding for opening the calculator to ALT + X so that it won't
conflict with the default keybinding for copper wire anymore.
Version: 1.1.6
Date: 2025.02.15
Bugfixes:
- Fixed a crash triggered by recipes that have "research-progress" as a product.
Version: 1.1.5
Date: 2024.12.02
Bugfixes:
- Fixed a rare timing crash triggered when the game saves while the calculator still has
backlogged computations to do.
Version: 1.1.4
Date: 2024.10.26
Minor Features:
- Hovering over a recipe choosing button now displays the selected recipe's tooltip.
- Added quality to the tracked module effects.
Version: 1.1.3
Date: 2024.10.22
Bugfixes:
- Fixed a crash triggered by recipes which could only be crafted manually.
Version: 1.1.2
Date: 2024.10.22
Bugfixes:
- Fixed a crash triggered on game configuration change.
Version: 1.1.1
Date: 2024.10.21
Info:
- Updated to Factorio 2.0.
- Temporarily disabled module filtering.
- Quality modules not yet supported.
Version: 1.1.0
Date: 2024.10.21
Major Features:
- Added the ability to solve "complex" recipe systems. Limitations:
1) The calculator will show an error message whenever a unique solution does not exist.
2) The calculator now requires that each involved product be assigned a unique recipe, and
that each used recipe is associated to a unique product. Selecting recipes in the correct
order is therefore required to handle complex recipe systems.
Minor Features:
- Sheets can now have multiple final products set.
- Removed "Totals" section, as its functionality can now be achieved by setting all final
products in one sheet.
- Changed crafting machine selection to be unique per recipe, instead of unique per crafting
category, as this caused some annoying behavior with some mods.
Optimizations:
- The calculator now uses Sparse Gaussian Elimination instead of the old recursive
decomposition algorithm, to allow for solving "complex" recipe systems.
This also significantly improves performance.
Version: 1.0.8
Date: 2021.12.30
Bugfixes:
- Fixed a crash triggered by the removal of mods that add new crafting categories to the game.
Version: 1.0.7
Date: 2021.11.30
Bugfixes:
- Empty input textfields in the calculator's sheets will no longer trigger an
"Invalid production rate" error on (re)calculation. They will just be interpreted as
production rates of zero.
Changes:
- Default module counts are now set to 1 instead of 0.
- Byproducts in reports no longer have a choose-recipe-button in their row, since it is
redundant in that case anyway.
Locale:
- Added Czech and Romanian localizations.
Version: 1.0.6
Date: 2021.11.25
Minor Features:
- The time unit for the target production rates can now be chosen between "/m" and "/s"
using a drop-down to the right of the production rate textfield, which replaces the previous
"/m" static label.
Version: 1.0.5
Date: 2021.11.22
Bugfixes:
- Fixed a crash caused by the on_player_removed event handler. Moreover, the handler should now
do the proper cleanup whenever a player is removed from the game.
Version: 1.0.4
Date: 2021.11.19
Changes:
- Numbers shown in the report now use a fixed decimal precision instead of the default
behavior of displaying all the representable decimal digits of the number, except for
trailing zeroes (which caused really long and ugly numbers to be shown in many cases,
especially when using modules). Precision is set to 3 by default, but it can be set between 1
and 6 inclusive in the Mod Settings. The setting is per save.
Version: 1.0.3
Date: 2021.11.14
Bugfixes:
- Fixed a crash related to items/fluids that had production rates of zero, usually caused by
"barreling" and "un-barreling" recipes. Entries with production rates of zero will be
eliminated from now on.
Version: 1.0.2
Date: 2021.10.21
Bugfixes:
- Fixed a crash triggered by recipes which can only be crafted manually.
Locale:
- Added a label for recipes which can only be crafted manually.
- Changed the label "Undecomposable" to "Not decomposable".
Version: 1.0.1
Date: 2021.10.18
Bugfixes:
- Fixed the infinite recursion crash that occurred with some recipes of some
overhaul mods, by no longer allowing the Decomposer to enter cycles.
Minor Features:
- Recipes with the allow_decomposition property set to false can now be used by the mod too.
Locale:
- Added a tooltip to the choose_recipe_button to better inform the player about how the recipe
can be unselected. This replaces the default tooltip (which displays the recipe itself).
Changes:
- Removed the keybind for "completely" resetting the calculator (CTRL + ALT + C by default),
because it was only useful for debugging and it's not needed anymore.
Version: 1.0.0
Date: 2021.10.15
Info:
- Initial release