Stretch a tape measure across the length and width of the driveway. Multiplying these numbers will give you the square footage. For instance, a 10-foot-wide driveway that is 20 feet long is 200 square feet.
Decide on the depth of the rock layer. A rock foundation should be at least 8 inches thick for a driveway. If the entire driveway is rock, the depth should be about 12 inches. Convert this number to the decimal fraction of a foot. For example, an 8-inch layer is .67 feet.
Multiply the square footage by the thickness to figure the cubic feet. A 200-square-foot driveway with a .67-foot depth has 134 cubic feet.
Divide cubic feet by 27 to convert it into cubic yards, as this is the unit of measure rocks are typically sold in.
Add 10 percent to the total to factor in spillage or any slight adjustments you may make to the size.