Minimum size requirements for powder rooms is simple.  Toilet placement must have 30" side to side clearance.  At least 21" must be clear in front of toilet.  Depending on the location, pocket doors or swinging the door out may be the only option.  For those with a vanity, allow enough room for finished door casing.