Empirical formulas are the lowest whole number ratio of compounds. The first step to finding them is to imagine you have 100g of the unknown compound. Treat each percent as a weight, since 2.22% of 100 is 2.22, you can say you have 2.22 grams of Hydrogen in 100 g of your unknown. The next thing you want to do is divide each mass by the molar mass of the element you're working on (found on the periodic table). Then divide all of those numbers by the lowest one you found.
Carbon:
![(15.87 g)/(12.011) = 1.32128](https://img.qammunity.org/2020/formulas/chemistry/middle-school/utrrm2yrjamoqk8lc67kiiinfq0zwkwcjt.png)
Hydrogen:
![(2.22 g)/(1.008) = 2.20238](https://img.qammunity.org/2020/formulas/chemistry/middle-school/zupquvk24az11t6ier8aeizd1w75nsydev.png)
Nitrogen:
![(18.5 g)/(14.007) = 1.32076](https://img.qammunity.org/2020/formulas/chemistry/middle-school/yqoeyr50b1pxxumm9ind41ge1oj5kjvoix.png)
Oxygen:
![(63.41)/(15.999) = 3.96337](https://img.qammunity.org/2020/formulas/chemistry/middle-school/nqinl0szm21dzgx53v4uhadkbh7bdicyuf.png)
The lowest number is 1.32076, so divide all of them by that.
Carbon:
![(1.32128)/(1.32076) = 1.00](https://img.qammunity.org/2020/formulas/chemistry/middle-school/mfysurgw1fsykxcw3njbrh4poryyj723jb.png)
Hydrogen:
![(2.20238)/(1.32076) = 1.66](https://img.qammunity.org/2020/formulas/chemistry/middle-school/60fb7vo0c7ff3erlp32a097vr4ztzi42uy.png)
Nitrogen:
![(1.32076)/(1.32076) = 1.00](https://img.qammunity.org/2020/formulas/chemistry/middle-school/vy6z294kmxjjphl3k7k64rz0nq7ouw6359.png)
Oxygen:
![(3.96337)/(1.32076) = 3.00](https://img.qammunity.org/2020/formulas/chemistry/middle-school/yx0li1chxj1jen8l58viwbcnym5ntqdzpy.png)
Ideally, all of these should be whole numbers. However, 1.66 is not close enough to be rounded to 2. To fix this, we need to multiply every number by a whole number that will make them all close to whole numbers. Since we only have one weird decimal, let's just find out what will make it a good, whole number.
1.66 x 2 = 3.32
1.66 x 3 = 4.98
4.98 is close enough to round to 5, so let's multiply the rest of our numbers by 3 as well.
Carbon: 1 x 3 = 3
Hydrogen: 1.66 x 3 ≈ 5
Nitrogen: 1 x 3 = 3
Oxygen: 3 x 3 = 9
These are the numbers for your final empirical formula. You can make sure it's empirical by making sure the numbers can't be simplified by a common factor.
![C_(3) H_(5) N_(3) O_(9)](https://img.qammunity.org/2020/formulas/chemistry/middle-school/qr7rnw0smkx5790rc7vfx2hmvk6ueam331.png)