To calculate the amount of potassium chlorate needed to produce 112.5g of oxygen, you first need to determine the molar ratio between potassium chlorate and oxygen. Then, use this ratio to convert the grams of oxygen to grams of potassium chlorate using the molar masses of each compound.