Height is the height of the pour, from the top of the footing or the construction joint up to the top of the concrete, not from finished grade to finished grade if part of the wall is buried and you already counted that concrete in the footing. Thickness is the distance between the inside faces of the forms. An 8 inch wall is 8 inches of concrete, even when the forms are 2x lumber standing on edge outside that dimension.
The example is 12 ft long, 4 ft high, and 8 inches thick: 32.00 cubic feet net, 1.19 cubic yards. With 10 percent waste the order quantity is 35.20 cubic feet, 1.30 cubic yards, about 59 bags of 80 lb mix. Fifty-nine bags is a long day with a mixer and a bad idea against a hot wind. The ready-mix comparison is there so the short-load fee is visible before you decide.
This tool does not subtract openings. A door or a window is a hole in the wall, and the hole is not full of concrete. Compute each opening as length × height × the same wall thickness — the slab calculator will do that multiplication — and subtract those cubic yards from the wall yards. Do the subtraction on the with-waste figures only once, or subtract from the net and then apply waste to what remains. Doing both overstates the deduction.
A retaining wall that holds soil is not just a volume. Drainage, reinforcement, the heel and toe of the footing, and the surcharge behind the wall are engineering. The number on this page is how much concrete fills the rectangle you described. It is not a design. The same warning covers a basement wall, a shear wall, and a grade beam. Follow the local code and the structural drawings. If the drawings give you a yardage, trust the drawings and use this page to check the arithmetic.
Both faces are usually formed. Snap ties and a slight swell of the forms can add a small amount of concrete. That belongs in the waste percentage, not in a second mystery factor. Common nominal thicknesses in residential work are 6, 8, and 12 inches. Those are form sizes people buy, not a code minimum this site is stating. A pilaster is a thicker strip. Calculate the wall, calculate the pilaster as its own length × width × height, and add them.
The footing under the wall is separate. Run it through the footing calculator and add the yards. If you already combined several shapes on paper, the known-volume calculator turns that single number into bags and a cost without asking you to invent a rectangle. Set waste to zero when the number in your hand already includes it.