to calculate engine power figure? there's a little more to it than that i'm afraid. though it might give you a rough idea..
Everything between the flywheel and the dyno roller affects your ATW power figure. That includes your driveline, gearbox (including gear selection), and your wheel diameter and weight, tyre grip and inflation... not just a simple formula.