A projector throw distance calculator is an online tool that allows you to input the screen size and projector model to determine the ideal placement.
https://vocal.media/writers/how-a-projector-throw-distance-calculator-can-improve-your-home-theater-experience