What dimensions does the floor or wall have?
My bathroom has a rectangular shape. It is exactly 7 inches wide and 11 inches deep. The walls do not have any door.
Some people do have rooms with an odd or not rectangular shape. In that case it is necessary to make a template of the area to be tiled.