How long's a piece of string?
If you know the length of pipe we can tell you the horizontal length of the trench/tunnel.
If you know where your start and end marks are, we can tell you the length of pipe you need to buy.
Unless I'm also confused about what you want, I don't think the width and thickness of the pipe and the pipe wall are relevant.