Crafting Cost Tree Calculator

Pick any craftable item and break it all the way down to raw materials with a full recipe tree, stack counts, and alternate-recipe switching.

Pick a Target Item

Only craftable items are listed — raw materials (logs, ore, mob drops) have nothing to expand, so they are not valid targets. The tree below always recalculates for the full quantity you enter.

Recipe Tree

Flattened Shopping List

MaterialCountStacks

How the Recipe Tree Expansion Works

The calculator starts at your target item and walks backward: it looks up a recipe for that item, figures out how many whole crafts are needed to cover the quantity you asked for, and then repeats the same lookup for every ingredient that recipe calls for. Each ingredient becomes its own branch of the tree, and the process keeps recursing — ingredient of an ingredient of an ingredient — until it bottoms out on raw materials that have no recipe at all: ore, logs, mob drops, and other gathered resources.

Scaling always rounds up to whole crafts. If a recipe makes 4 items per craft and you only need 7, that is still 2 full crafts (you cannot make a fractional item), which means 1 extra item is produced as harmless surplus. That rounding happens fresh at every single node in the tree, so small overages can compound as they cascade down through several layers — the tree view shows you exactly where.

Whenever an item has more than one valid way to make it — smelting ore in a furnace versus a blast furnace, or a stick from planks versus a stick from bamboo — a small dropdown appears at that node. Switching it re-runs the recursive expansion for everything below that point using the newly chosen recipe, and both the tree and the flattened shopping list update immediately to match. Nothing above that node changes, since the parent only cares how many of that ingredient it needs, not how they were made.

The shopping list at the bottom is just the tree flattened: every raw-material leaf, no matter how deep it sits or how many different branches it appears under, gets summed into one running total. Counts are then expressed as full 64-item stacks plus a remainder, matching how you would actually gather and carry the materials in-game.

Recipe data covers a curated subset of common items (~35) to demonstrate the real recursive expansion algorithm and stack-count math faithfully — not every one of the game’s 1,500+ recipes. Quantities always round up to whole crafts, since you can’t craft a fractional item.

Quick guides

How to use this tool, and the questions players ask most.

How does crafting work in Minecraft?

Crafting requires placing ingredients into a 2x2 inventory grid or a 3x3 crafting_table grid in specific patterns. Shaped recipes require an exact layout, while shapeless recipes like flint and steel function in any grid arrangement.

How do you unlock all crafting recipes with commands?

The command /recipe give @p * unlocks all recipes immediately for the executing player. Alternatively, recipes unlock individually in vanilla survival when a player holds at least 1 required ingredient in their inventory.

How do alternate recipes change raw material requirements?

Items with multiple recipe paths alter your base material lists, such as crafting dyed wool directly versus using white wool with dye. Selecting different sub-recipes alters your gathering totals, which the Crafting Cost Tree Calculator calculates across all tiers.

How many iron ingots are needed to craft an anvil?

Crafting a standard anvil requires exactly 31 iron ingots. The recipe consists of 3 iron blocks—crafted from 9 ingots each, totaling 27 ingots—and 4 individual iron ingots arranged in a 3x3 crafting grid.

What raw materials are needed to craft a sticky piston?

A sticky piston requires 3 wooden planks, 4 cobblestone, 1 iron ingot, 1 redstone dust, and 1 slime ball. Smelting 1 raw iron in a furnace produces the needed iron ingot.

More on 9Minecraft

Other tools on 9Minecraft you may find useful.

More Calculators tools

Other tools on 9Minecraft you may find useful.