I conducted elemental analysis for some agricultural wastes for use in the production of bio-oils. The C,H,N,S,O have been determined but need to calculate the H/C and O/C ratios.
The atomic mass of carbon is ~12 AMU and that of hydrogen is ~1 AMU, the C/H ratio is calculated by multiplying the atomic mass of each element by the number of atoms of that element, and dividing the result for carbon by the result for hydrogen. It is done by doing. say if value of carbon content is 67% then it should be divided with atomic weight of carbon which is 12 which should be 5.58. In similar way for N, H and O all the % calculated values should be divided with their respective atomic weight and then with theses calculated values ratios should be calculated. So, to calculate the molar ratio of H/C, you can do by [%H/1(g/mol)]/[%C/(12g/mol)]. For example: %H = 1, %C = 80, so molar ratio of H/C = 0.15.