Crafting Cost Calculator - Raw Materials and Recipe Tree

Pick any craftable item and a quantity to break it all the way down to raw materials. See the full recipe tree and a total shopping list with stack counts, straight from the game recipe data.

Target item
Quantity
Loading recipe data...

How the Recipe Tree Expansion Works

Pick a target item and a quantity, and the calculator walks the recipe backward: it finds a recipe that produces the item, scales it up to whole crafts, then does the same for every ingredient, and keeps going until it reaches raw materials. The result is shown two ways, as a collapsible recipe tree with the count at each step, and as one flat shopping list of raw materials with stack counts.

The numbers come straight from the game's own recipe files, not from a wiki, so they match what Minecraft actually requires. Every recipe type is read: shaped and shapeless crafting, furnace smelting, blasting, smoking, stonecutting and smithing. For a target that needs Q of an item, the tool finds a recipe whose result is that item and scales it by ceil(Q divided by output), because you cannot craft a fraction of a batch. A crafting table makes one piston per craft, so 10 pistons is 10 crafts; planks come 4 per log, so 30 planks is 8 logs with 2 planks left over. The tool rounds up at every step like this and shows the leftover honestly.

Some ingredients have no recipe at all, like diamonds, obsidian and a nether star. Others are only obtained by smelting or stonecutting, like iron ingots, glass and cobblestone. Both are treated as raw leaves by default and appear in the shopping list as is. If you want to go deeper, for example turning iron ingots into raw iron or planks into logs, open that node in the tree and pick a different recipe or ingredient, and the totals update.

Raw Cost of Popular Items

These are the raw materials for one of each item, computed by the same expansion the calculator runs. Planks roll down to logs in the raw total, which is why a piston shows 1 log rather than 3 planks. Build any of these in the tool above to see the full tree and to scale the quantity.

ItemRaw materials (one item)
Beacon5 glass, 3 obsidian, 1 nether star
Piston4 cobblestone, 1 log, 1 iron ingot, 1 redstone
Hopper5 iron ingots, 2 logs (1 chest)
Enchanting Table4 obsidian, 2 diamonds, 1 book (3 sugar cane, 4 rabbit hide)
Observer6 cobblestone, 2 redstone, 1 nether quartz
TNT5 gunpowder, 4 sand
End Crystal7 glass, 1 ender pearl, 1 blaze rod, 1 ghast tear

A common mix-up: a beacon needs no diamonds. It is 5 glass, 3 obsidian and 1 nether star. The recipe people think of with 2 diamonds is the enchanting table. The calculator settles these arguments because it reads the actual recipe rather than memory.

Stacks, Cycles and Honest Counts

The raw-materials table shows each total as a plain count and as stacks of 64 plus the leftover, so 130 cobblestone reads as 2 stacks plus 2. That makes it easy to know how many trips or chest slots a project needs before you start gathering.

Iron, gold and copper create a problem for naive calculators: an ingot crafts into a block and a block crafts back into nine ingots, and an ingot splits into nine nuggets and back, so a tool that followed every recipe would loop forever. This calculator detects when a recipe would re-enter an item already on the current branch and stops there, marking the node so you can see why. It also treats storage-block and nugget recipes as raw leaves by default, since expanding a block into 9 ingots and back into a block is never what you want. A recursion depth cap of 12 is the final backstop, and the tool tells you if a branch ever hits it.

1. Search and pick the item you want, then set the quantity.

2. Read the recipe tree to see each step, or jump straight to the raw-materials total for the shopping list.

3. Open any node to swap the recipe or ingredient, for instance to expand iron ingots into ore or to choose a different wood, and the counts recompute instantly.

Frequently Asked Questions

How many diamonds do you need for a beacon?

Zero. A beacon needs 5 glass, 3 obsidian and 1 nether star, with no diamonds at all. People often confuse the beacon recipe with the enchanting table, which does use 2 diamonds. The nether star comes from killing the Wither, and the 3 obsidian and 5 glass are the cheap part. Pick Beacon in the calculator to see the full tree.

How much iron do you need for a hopper?

A hopper needs 5 iron ingots and 1 chest. The chest is 8 planks, so in raw terms a hopper is 5 iron ingots plus 2 logs worth of planks. The 5 iron is the part that matters since iron is the limiting material; the calculator shows the chest expanding into planks and the planks rolling down to logs in the raw total.

What is a Minecraft crafting calculator?

It is a tool that takes a craftable item and works backward through its recipe, and the recipes of every ingredient, until it reaches raw materials you mine, drop or smelt. Instead of crafting by hand and guessing, you get an exact shopping list. This calculator reads the game's real recipe files, so the counts match what Minecraft actually requires.

How many logs do you need for a crafting recipe?

One log crafts into 4 planks, so the number of logs is the planks needed divided by 4, rounded up. A crafting table needs 4 planks, which is 1 log. A chest needs 8 planks, which is 2 logs. Because crafting rounds up, making 5 planks still costs 2 logs and wastes 3 planks. The calculator does this rounding at every step and shows the leftover honestly.

How does the recipe tree expansion work?

Starting from your target, the tool finds a recipe whose result is that item, scales it by the quantity you need rounded up to whole crafts, then repeats for every ingredient. Items with no further recipe, or only a smelting or stonecutting recipe, are treated as raw leaves by default, such as iron ingots, cobblestone and glass. You can open any node and switch to a different recipe or ingredient to expand further.

How do you avoid infinite loops with iron and gold blocks?

Iron, gold and copper can be compressed from ingots into blocks and back, and ingots split into nuggets and back, which would loop forever. The calculator detects when a recipe would re-enter an item already in the current branch and stops there, and it treats storage-block and nugget recipes as raw leaves by default rather than expanding a block into 9 ingots into a block. A depth cap of 12 is a final backstop.

Minecraft Crafting Cost Calculator - Raw Materials