You should attempt to obtain corrosion rate data from reliable technical sources for the pipe material, based on the type of corrosion mechanism(s) that is specific to your process. You will need to know process conditions (fluid, temperature, pressure, etc) to be able to identify the corrosion mechanisms for the pipe material. Based on the corrosion rate, an acceptable corrosion allowance can be calculated.
The sources for corrosion rates and possible corrosion mechanisms can be NACE or corrosion engineering handbooks.