Worked out from QUIKRETE Concrete Mix No. 1101 Technical Data Sheet (bag yields, ASTM C138 density) and 6 other sources.
Footing, wall and pier dimensions must come from a structural design or a prescriptive code table, not from a volume estimate.
Footing, wall and column dimensions must come from a design by a qualified engineer or from a prescriptive table in the code adopted locally (e.g. IRC Table R403.1). This tool quantifies concrete for dimensions you supply; it does not size structural elements.
How this is worked out
5 steps
footing: 40 ft x 2 ft x 1 ft
Volume = 80 cu ft = 2.963 cu yd = 2.2653 m3
Adding 10% waste: 88 cu ft = 3.2593 cu yd (order 3.5 cu yd)
Bags: 88 cu ft / 0.6 cu ft per 80 lb bag = 146.67 -> 147 bags
Weight: 80 cu ft x 150 lb/ft3 = 12000 lb
Results are general information, not financial, tax, legal, medical or engineering advice.