Is it just divide the HP by the vehicle's weight?

Can someone enlighten me on this subject?