The rule
The trap has to be big enough to drain the fixture quickly. The floor is the size in Table 702.1, the same table that lists drainage fixture units. The ceiling is one pipe size larger than that.
On top of that, the trap has to match the trap arm. A 1-1/2 inch trap goes on a 1-1/2 inch arm. You don't step down at the trap or reduce into it.
Typical table sizes: lavatory 1-1/4 inch, bathtub 1-1/2 inch, kitchen sink 1-1/2 inch, laundry sink 1-1/2 inch, clothes washer standpipe 2 inch, shower 2 inch, and floor drain 2 inch.
On the job
- Many lavatories end up with a 1-1/2 inch trap and arm. That's legal, because it's exactly one size above the 1-1/4 inch minimum. A 2 inch trap on a lavatory is two sizes up and not allowed.
- Look up the fixture in Table 702.1 each time. Bar sinks, special purpose sinks, and bidets have more than one row.
- Match the trap adapter to the arm. A reducer at the trap is what an inspector will point at.
The inspector and your city's adopted edition have the final word.