To determine how much carpet you need to buy, measure your room, and calculate the square footage. If the carpet has a pattern that repeats, find the length of the pattern and buy one length extra to ensure the pattern matches up between different rolls.