weight calculation
I assume you mean max weight the aircraft can be based on engine displacement... NO. there is no calculation for that, because the design of the airframe has a lot more to do with it than the engine displacement does.
A Piper Cub (J-3) can fly on 40 hp, carrying 2 people and some luggage. (not much) The basic same airframe, as the PA-18 Super Cub has over double the horsepower, and very little added load capacity. It can fly faster, and can be more aerobatic... but its still a Cub.