The distance between the front and back legs of a front-loading washing machine can vary depending on the brand and model of the machine. Generally, front-loading washing machines have an approximate depth (front to back) of 27 to 32 inches (68.6 to 81.3 centimeters). However, keep in mind that this measurement might not be the exact distance between the front and back legs, as some parts of the machine might extend beyond the legs.
If you need to know the specific distance between the front and back legs of your front-loading washing machine, it's best to refer to the manufacturer's specifications or the user manual. These documents typically provide detailed measurements and diagrams for the appliance. If you don't have the user manual, you can usually find it on the manufacturer's website or by searching for the model number of your washing machine online.