Thanks, Havasu! I would like to add that the sources for the information are Petersen Products
PVC for the PVC chart (which contains more information about the PVC-- including temperature tolerance ranges, wall thickness, larger pipe sizes, pressure tolerance, etc).
ABS info came from The Engineering Toolbox
ASTM D2661 - Acrylonitrile-Butadiene-Styrene (ABS) Schedule 40 Plastic Drain, Waste, and Vent Pipe and Fittings
UPC and IPC came from googling the codes and I would like to have a disclaimer that some jurisdictions may have local codes that supersede those rules, so it is always best to check. I do know that some places that use IPC have a limit of 6' instead of 8' for the 2" lines and that the developed length will have to be shorter if one uses 1/4" slope instead of 1/8" slope for the larger pipes. I want to add that the total developed length of the trap arm MUST be less than the nominal diameter of the pipe when sloped.
I'm thinking of doing a CPVC chart for water supply lines; It has the same outer diameter as PVC but a different inner diameter. I believe CPVC has thicker walls than PVC according to this site
https://www.professionalplastics.com/professionalplastics/CPVCPipeSizesandSpecifications.pdf
I can try to convert that to the same type of chart if people don't want to load a .pdf
Editing because I forgot to mention that to find the wall thickness, subtract ID from OD. If you want to know the nominal OD of the female ends of the pipes (basically the part where it flares to allow another pipe to be inserted) you can add the wall thickness to the outer diameter to get an approximation to know how big of a hole to drill.
Editing again because I updated with a chart for CPVC. The PDF from Professional Plastics still has more pipe sizes and additional useful information.