Where this goes wrong
Rounding the fraction away. Magnetite's mole ratio, 1.725 ÷ 1.296 = 1.33, rounded to 1 : 1 gives FeO — 77.7% Fe against the measured 72.4%. 1.33 is 4⁄3: multiply every count by 3 → Fe₃O₄.
Stopping at the empirical formula. 40.0% C, 6.7% H, 53.3% O gives CH₂O, 30.03 g/mol. A measured molar mass of 180.16 g/mol demands n = 6: the molecular formula is C₆H₁₂O₆.
Scaling without checking n. C₁₂H₂₄O₁₂ weighs 12 × 30.03 = 360.4 g/mol — double the 180.16 given. Upside down, 30.03 ÷ 180.16 = 0.167, and no molecule holds a sixth of a unit. n × empirical mass must rebuild the molar mass.
Crossing the mole amounts. Magnetite holds 1.296 mol Fe and 1.725 mol O per 100 g. The larger count belongs to O, so O takes the larger subscript: Fe₃O₄, never Fe₄O₃. Each subscript comes from its own element's moles.