Drainage design is the art of giving water a downhill story it cannot refuse. Underground drains run at steady falls, commonly around 1 in 40 for foul lines serving homes and 1 in 60 to 1 in 100 for surface water where silt must keep moving or settle in traps designed for cleaning, never in the pipe. Too steep is also a fault: water outruns solids and leaves them behind. Every change of direction and junction earns an inspection chamber, because a drain you cannot reach is a blockage with a date. Pipe sizes step up as flows gather, 100 millimetres for a house, 150 for shared runs, and the layout is drawn, photographed and filed before the trench closes, because the plan is the only map the future gets.
Rain is clean compared with foul water and the two systems are kept apart wherever modern rules apply. Roofs discharge to gutters and downpipes, then to soakaways, watercourses or surface sewers, in that order of preference in many regions. A soakaway is a pit or crate system set in free draining ground, sized by a percolation test and set well away from buildings, at least 5 metres from foundations in common guidance, because soaking the ground under a footing is sabotage with paperwork. Permeable paving, swales and rain gardens slow the flood before any pipe is asked. Where the ground is clay and the test fails, the honest answer is storage and controlled discharge, not a deeper hole and hope.
Foul lines carry the building's soil and waste to a sewer or a treatment plant, and their rules are hygiene written in geometry: vented stacks, trapped gullies, roddable runs, and no rain diluting the system beyond design. Septic tanks and treatment plants serve off mains homes and demand their own sizing, siting and emptying discipline. Inside the building, every appliance traps against sewer air, and every trap keeps its seal because the vent system protects it. None of this is glamorous and all of it is decisive: a house with failed drainage is unsellable and unliveable in equal measure, while good drainage is never thought of again. Spend the thinking underground, where the money cannot be seen and the failures cannot be hidden. Think first, dig once, and sleep soundly while it rains.