The distance from the centerline of a toilet to any bath fixture, wall, or other obstacle should be at least 18 inches for comfort. Code generally requires at least 15 inches.