Horsepower Estimate?

That is the problem with these "guess my horsepower" questions that have incomplete data.
Isn't there a formula where you can estimate the HP based on a quarter mile run given the car's weight and other factors like gear ratio and .......
Its weight and mph=hp period
Everything else is just about et gears/verter/traction/tunning
mph might change abit if it does you refigure it
you take your weight and mph= hp
Then look up weight and that hp will tell you the quickest et you can run if everything is perfect aka traction/gearing/verter /tunning
At some point when everythings perfect and you get that best et for that mph, at that point you need more power to go quicker