Carbohydrates can be represented by the stoichiometric formula (CH2O)n, where n is the number of carbons in the molecule. In other words, the ratio of carbon to hydrogen to oxygen is 1:2:1 in carbohydrate molecules.