Nominal pipe size is not the OD
A 1/2″ pipe has an outside diameter of 0.840″. Nominal pipe size (NPS) is a historical label: the outside diameter is fixed per size and the wall thickness — the schedule — changes the inside diameter. From 14″ up, NPS equals the OD.
Identifying an unknown pipe
Measure the outside diameter with calipers and enter it. Schedule 40 is standard wall; Schedule 80 is heavier wall with the same OD and a smaller bore, so both fit the same fittings.