Figuring displacement?

Only one constant to remember with my formula. .785 as long as you know how many cylinders you have. LOL