How do you find an empirical formula?

What is the empirical formula of a compound with 23.3%Mg, 30.7%S and the rest oxygen?

Report as