1. Click on the "Divide" button in your Inventory.
2. With the cursor being shown as a green hammer, click on the item you wish to divide.
3. Choose the amount of items to be taken from the stack.
4. Click "OK" and done! Your item will be placed on the first empty space of your inventory.