A run of pipe is not just the tape measure across the ceiling. Every elbow, tee and valve behaves like a little extra length of pipe that burns pressure, and the real question is usually not distance but budget - how far can this run go before the pressure runs out?
Pipe Length Calculator answers in two directions: the effective length your fittings cost you, and the maximum run your pressure budget allows.