Find the PK number first, count ribs, and measure only when the number is worn off.
Read the PK number
Most serpentine belts carry a metric size such as 6PK1530 next to the maker's part number: 6 ribs, PK section, 1,530 mm effective length. That is all you need for a size match.
Count the ribs
Count the V-shaped ribs across the belt's grooved side. Common automotive belts have 4 to 8 ribs.
Measure the old belt
Mark a spot, run a flexible tape around the outside of the belt and note the outside length. Subtract about 14 mm to estimate the effective length (Gates rule of thumb). A worn belt reads long, so round toward the nearest listed size.
How do I measure a serpentine belt without the old belt?
Route a string along the belt path on the pulleys, with the tensioner at its middle position, and measure the string. Treat it as an estimate.
Sources
Gates TSB 0050.
ISO 9981 PK designation.
Belt Cross Reference compiles published manufacturer data. Listings are not a guarantee of fit. Before installing, compare length basis, width, section and construction with the old belt or the equipment manual.