Define the aggregate zone
Use trench width and only the depth that will actually contain drainage stone.
Keep soil backfill and bedding zones separate when different materials are specified.
Calculate gross trench volume
Multiply stone-zone width by depth by total run length using consistent units.
Segment the run when trench dimensions change.
Subtract pipe displacement
A large pipe occupies part of the aggregate zone and can be modeled as a cylinder along the run.
Do not subtract geotextile or small fittings as if they displaced meaningful bulk volume.
Convert to purchasing units
Convert cubic feet to cubic yards for bulk ordering.
If the supplier sells by ton, use the supplier's current density or tons-per-yard value for the exact aggregate.
Verify drainage details
Aggregate gradation, filter fabric, pipe slope, outlet, footing relationship, and local requirements affect the assembly.
The takeoff estimates material and does not design the drainage system.