Generally allow about 2-in. from the back of the tool to the wall, but be sure to leave space for any sawdust collection equipment you plan to install, including the ductwork and any attachments to it or to the tool.