Measure length and width to the inside of the forms, not to the outside of the lumber and not to a chalk line that sits in the gravel. Thickness is the concrete itself. A compacted stone base under the slab is a different material and does not belong in this volume. If the base is low in the middle, the concrete gets thicker there and the straight math underestimates the pour, which is one reason the waste field exists.
The loaded example is 12 ft × 10 ft at 4 inches. That is 120 square feet times 4/12 of a foot, or 40.00 cubic feet. Divide by 27 and the net volume is 1.48 cubic yards. Ten percent waste, applied once, makes 44.00 cubic feet and 1.63 cubic yards, about 74 bags of 80 lb mix at 0.60 cubic feet each. At the placeholder prices the ready-mix total, including the short-load fee, is lower than the bags. Edit the prices before you treat that as anything but a comparison.
A four-inch shortcut is worth knowing and worth not misusing. At exactly 4 inches, one cubic yard covers 81 square feet, because 27 divided by 4/12 is 81. The 120 square foot example divided by 81 is 1.48 yards, matching the net line. The shortcut has no waste in it, and it is wrong at any other thickness. A 6 inch slab covers 54 square feet per yard. Do the multiplication, or change the thickness field and read the new yardage.
Common practice, which is not a code, puts a patio or a light walk at about 4 inches and a residential driveway at about 5 to 6 inches. A garage that will see a truck, a slab that turns down to carry a wall, and any pad under a point load are outside that habit. Local code and a structural engineer set those thicknesses and the steel. This page will total 4 inches or 8 inches with the same honesty. It will not tell you which one is legal on your street.
Slope the subgrade, not the top, when you can. A slab that is 4 inches at one edge and 6 inches at the other is not a single thickness. Break it into strips, run each strip here, and add the with-waste yards. Wire mesh and rebar displace a little concrete and are ignored. Control joints and a broom finish do not change the order. A thickened edge is a continuous footing beside the slab, not a thicker average. Calculate the field and the edge separately, then add them, or type the sum on the known-volume page.
Openings are rare in a slab, but a pit or a plumbing block-out should be subtracted. Figure that void as its own length × width × depth and take it off the yards. For a wall with doors, the wall calculator has the same warning. Ready-mix is usually the less miserable way to place anything near a yard or more, because mixing dozens of bags against a setting clock is how cold joints happen. The bag count is still there for a small pad.