The cell is about 10.75" long (not including unions), and the flow switch is approximately 5.75" long. It can go horizontal or vertical. The flow switch needs to be on the same leg of the plumbing, so that you make sure there is no chance that the water goes through the flow switch but not the cell.