Most codes require a height of at least 15 inches from any wall or obstruction and no greater than a 30-in. distance from any other sanitation fixture.