1. Convert percentages into moles assuming that 100g of that substance is present
color(red)(C=24.77%=24.77g )" (in 100g of that substance)"
color(red)(=(24.77g)/(12g/"mol")=2.064color(white)i"mol"
color(blue)(Cl=75.15%=75.15g
color(blue)(=(75.15g)/(35.5g/"mol")=2.117color(white)i"mol"
color(green)(H=2.08%=2.08g
color(green)(=(2.08g)/(1g/"mol")=2.08color(white)i"mol"
2. Divide by the lowest number
C->color(red)(2.064/2.064~~1
H-> color(blue)(2.117/2.064~~1
Cl->color(green)(2.08/2.064=1
3. Write the empirical formula
color(red)( C_1)color(blue)( H_1)color(green)( Cl_1)
color(red)( C)color(blue)( H)color(green)( Cl)-> webq.org