If I know the percentage by weight of elements in a formula I can calculate the relative ratios of atoms in the formula no problem.(adsbygoogle = window.adsbygoogle || []).push({});

What I can't figure out is how to turn that ratio into an empirical formula.

To put it mathematically how do I turn a decimal number into a an approximate fraction of small integers?

#.## = ?/?

Thanks

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Determining an empirical formula

**Physics Forums | Science Articles, Homework Help, Discussion**