The balanced chemical equation for the decomposition of potassium chlorate is:
$$2KClO_3(s) \rightarrow 2KCl(s) + 3O_2(g)$$
According to the stoichiometry of the balanced equation, 2 moles of potassium chlorate produce 3 moles of oxygen gas.