What is the formula for correct engine size

I amiss wanting to build another unit just for housewasing
I am looking at 10 gpm with 1500 to 2000 psi but am not sure but know there is a formula to figure best engine size and pull size would prefer to not run wide open throttle either. Thanks