Toilet Rough-In Guide: How to Measure 10, 12 or 14
Rough-in is the distance from the finished wall to the center of the floor bolts. Twelve inches is standard, and 10 and 14 exist in older homes. Measure from the wall surface, not the baseboard. Then check bowl length, seat height, and clearances: 15 inches from center to each side, 21 in front.
Read the guide