Unfortunately it is not as straight forward as just converting 7HP to cc. The 7HP may be an approximate rating, as was common in earliers years with engines, or it may be 7BHP (Brake horse power).
What is the make & model of the engine, what is it's age & what has it come off?
More information needed, & some good clear photographs would be a great help.