You should measure from the wall to the center of the toilet bowl as well as to the back bolts. The standard rough-in size is 12 inches.