In a preparation of O2 in a laboratory, KClO3 is heated with  MnO2 as a catalyst.
2KClO3(s) → 2KCl(s) + 3O2(g)
If 46.0 g KClO3 are used, what mass in grams of O2 is produced?
Plan:  Step 1 m(KClO3)  →  n(KClO3 Step 2 n(KClO3)   → n(O2)  Step 3 n(O2)  →  m(O2)

n(KClO3)46.0 g
122.6 g mol–1
n(KClO3 = 0.375 mol
0.375 mol = n(O2)
23
n(O2) = 0.563 mol
Step 1:
n(KClO3) = m(KClO3)
M(KClO3)

Step 2:
n(KClO3) = n(O2)
23
m(O2) = 32.00 g mol–1  × 0.563 mol

m(O2) = 18.0 g (3 sig fig)

Step 3:
m(O2) = M(O2) × n(O2)