Different pipes carry water to and from your toilet, and each pipe has a different diameter. If you plan to install your own toilet, you have to know which size pipe to use for each plumbing route. According to my experience, 4 inches pipes are often used for toilet pan. You can try for it.