About Raw Calculator
From Factorio Mod PortalComputes total amount of raw resources needed to craft any item. Raw Calculator will find the shortest path (lowest cost) to craft any item. Intended use for mod developers, does not affect the game.
Raw Calculator
A Factorio mod that computes the total raw cost for items' recipes. Raw Calculator will find the shortest path (lowest cost) to craft any item. Intended use for mod developers, does not affect the game.
Features
- A RecipeBook object is created pushing all the parsed recipes from data.raw.recipe
- Raw Calculator then computes all the recipes raw cost, computing is performed across the recipe tree, bottom-up, time is ~ O(n)
- Raw Calculator already computes the minimum cost possible for recipes
- Value is expressed on total raw resources (e.g.: iron-ore=1, copper-ore=2, automation-science-pack=3)
- Results are logged in the log file
Future developments
- Add in-game GUI to show exact total raw resources
- Improve compatibility with mods (some recipes might need to be inputted manually maybe)
- Express the raw total for each of the raw resources (e.g.: automation-science-pack = 2 iron-ore, 1 copper-ore)
Highlights
From source dataFootprint
Rated a light load on a server.
License
Published under MIT.
Last update
Its author last shipped an update 5 yr ago.
Raw Calculator on Nxeon
From our catalogue- One-click install
- Supported on Nxeon Factorio servers. We download it from Factorio Mod Portal, place it, and restart the server.
- Server side
- Required on the server
- Server load
- light
- Smallest plan we suggest
- Factorio — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
- Latest build
- 0.1.0, released 2021-11-11
Run Raw Calculator on a Factorio server
Pick a server or deploy a new one above; it is installed in one click.
What kind of mod it is
From the catalogWeapons, items & crafting
New weapons, gear, items and the recipes to make them.
Runs on your server
From source side supportFactorio Mod Portal lists Raw Calculator as required on the server. Check its Factorio Mod Portal page to see whether players need it too.
Compatibility
- Game
- Factorio
- Runs on
- Serverrequired on the server
Verified at the source
- ✓Factorio Mod PortalOfficial listing, checked 2026-10-09Open ↗
- ✓AuthorRedRafe, as published on Factorio Mod Portal
- ✓LicenseMITFree
