i need a bit of help finding out how to do this problem. just tell me how and ill take it from there.

Q.A compound containing carbon, hydrogen, and Oxygen is found to be 40% carbon and 6.7% hydrogen by mass. the molar mass of this compound is between 115 g / mol. determine the molecular formula for the compound

2 answers

Use the percents as grams, find moles of each, divide by lowest number of moles to find the ratio for each. This is your empirical. Then find the molar mass of the compound and divide by 115.