A hydrocarbon is a compound containing only carbon and hydrogen atoms (like CH₄ or C₃H₈). On the AP Chemistry exam, hydrocarbons appear most often in combustion stoichiometry problems, where burning a sample in excess O₂ produces CO₂ and H₂O in ratios that reveal the compound's formula.
A hydrocarbon is exactly what the name says, a molecule built from only hydrogen and carbon. Methane (CH₄), propane (C₃H₈), and octane (C₈H₁₈) are all hydrocarbons, and they're the main ingredients in fossil fuels like natural gas and gasoline.
In AP Chem, the hydrocarbon itself is rarely the point. It's the perfect test subject for combustion stoichiometry. When a hydrocarbon burns completely in excess oxygen, every carbon atom ends up in a CO₂ molecule and every hydrogen atom ends up in an H₂O molecule. Because atoms are conserved (EK 4.5.A.1), the moles of CO₂ tell you exactly how much carbon was in the original sample, and the moles of H₂O tell you the hydrogen (each H₂O carries 2 H). That's why hydrocarbon combustion is the classic setup for finding an empirical formula from experimental data.
Hydrocarbons live in Topic 4.5 (Stoichiometry) in Unit 4: Chemical Reactions, supporting learning objective 4.5.A, which asks you to explain changes in amounts of reactants and products using a balanced equation. Hydrocarbon combustion is the CED's favorite vehicle for this skill because it forces you to use everything at once. You balance the equation (often with fractional or doubled coefficients), apply mole ratios from the coefficients (EK 4.5.A.2), and lean on conservation of atoms to work backward from products to the original compound. If a question says 'a hydrocarbon is burned,' it's really a stoichiometry and atom-conservation question wearing a costume.
Conservation of Atoms (Unit 4)
This is the engine behind every hydrocarbon problem. All the carbon in the fuel becomes carbon in CO₂, and all the hydrogen becomes hydrogen in H₂O, so measuring the products is the same as measuring the original compound.
Limiting and Excess Reactants (Unit 4)
Combustion problems almost always say 'in excess oxygen' so the hydrocarbon is the limiting reactant. That phrase guarantees complete combustion, meaning every mole of fuel converts fully to CO₂ and H₂O.
Alkanes, Alkenes, and Alkynes (Unit 4)
These are the three families of hydrocarbons you'll see by name. Alkanes have only single C-C bonds (CₙH₂ₙ₊₂), alkenes have a double bond, and alkynes have a triple bond. For stoichiometry purposes they all burn the same way.
Dimensional Analysis (Unit 4)
Converting grams of CO₂ collected into moles of carbon, then into mass percent of carbon in the sample, is pure dimensional analysis. Hydrocarbon combustion is where this skill gets its hardest workout.
Hydrocarbons show up two main ways. First, multiple-choice questions give you combustion data and ask you to reason about composition. For example, if 1.0 mol of a hydrocarbon yields 2.0 mol of CO₂ and 2.0 mol of H₂O, the compound must contain 2 carbons and 4 hydrogens (C₂H₄), because each CO₂ carries one C and each H₂O carries two H. Second, questions ask you to balance a combustion equation, like propane (C₃H₈) plus O₂ producing CO₂ and water, and then use those coefficients in mole-ratio calculations. You may also be asked which quantities you need to find the mass of carbon in a sample from the mass of CO₂ collected (the molar masses of CO₂ and carbon, plus the CO₂ mass), or how an experimental error would shift the calculated mass percent of carbon. The skill being graded is always LO 4.5.A reasoning, not memorizing fuel names.
A hydrocarbon contains ONLY carbon and hydrogen (CH₄, C₃H₈). A carbohydrate, like glucose (C₆H₁₂O₆), also contains oxygen. This matters in combustion analysis. For a pure hydrocarbon, all the sample's mass is accounted for by the C in CO₂ and the H in H₂O. If the compound contains oxygen too, you have to find the oxygen mass by subtraction, which is a different (and trickier) calculation.
A hydrocarbon contains only carbon and hydrogen atoms, with no oxygen or anything else in the molecule.
Complete combustion of a hydrocarbon in excess O₂ always produces only CO₂ and H₂O.
Conservation of atoms means moles of CO₂ equal moles of C in the sample, and moles of H₂O equal half the moles of H.
The phrase 'in excess oxygen' tells you the hydrocarbon is the limiting reactant and combustion is complete.
To find the mass of carbon in a sample from CO₂ collected, you need the mass of CO₂ plus the molar masses of CO₂ and carbon.
Balanced combustion coefficients (like C₃H₈ + 5O₂ → 3CO₂ + 4H₂O) are the mole ratios for every stoichiometry calculation that follows.
A hydrocarbon is a compound made of only carbon and hydrogen atoms, like methane (CH₄) or propane (C₃H₈). In AP Chem, hydrocarbons mostly appear in Unit 4 combustion stoichiometry problems tied to learning objective 4.5.A.
No. By definition a hydrocarbon contains only C and H. If a molecule has oxygen, like ethanol (C₂H₅OH) or glucose (C₆H₁₂O₆), it is not a hydrocarbon, and combustion-analysis math changes because oxygen mass must be found by subtraction.
Alkane is a subcategory. All alkanes are hydrocarbons with only single bonds (CₙH₂ₙ₊₂ formula), but hydrocarbons also include alkenes (one double bond) and alkynes (one triple bond). Hydrocarbon is the umbrella term.
Only carbon dioxide (CO₂) and water (H₂O). Every C atom in the fuel ends up in a CO₂ molecule and every H atom ends up in an H₂O molecule, which is why product amounts let you reconstruct the hydrocarbon's formula.
Use atom conservation. Moles of CO₂ give moles of C, and moles of H₂O times 2 give moles of H. For example, 1.0 mol of hydrocarbon producing 2.0 mol CO₂ and 2.0 mol H₂O must be C₂H₄.
Connect this key term to the AP exam workflow: review the course, practice questions, and check related study tools.
Review units, study guides, and course resources.
Check this vocabulary in multiple-choice context.
Apply key concepts in written AP responses.
Estimate the exam score you are working toward.
Review the highest-yield facts before practice.
Put the full course together before test day.