The analyzed piece of equipment is destroyed in the process.
Right-click on a piece of equipment in your inventory and select Analyze from the floating menu. Click Auto until the equipment you wish to analyze is on the right side. You will also need a hammer of the correct level. This will popup up a dialog with 5 playing cards facing down. Click on one of the cards to reveal it and a random bonus multiplier will be applied to your crafting experience gained.