Smelting calculator