Every nominal pipe size hides three different numbers behind one label - the outside diameter, the wall, and the bore left for water. The schedule decides the last two, and with them the rating.
Pipe Schedule Lookup pulls the standard dimensions of steel and PVC pipe in schedules 40 and 80, and works out the bore, area and pressure rating for you.