Cylinder Volume Calculator: Understanding V = π r² h
ByMuhammad Ali•Founder of KruskalCode
05:15
6 min read

A right circular cylinder is one of the most common solids in school geometry and in everyday objects such as cans, pipes, and columns. Its volume tells you how much space fits inside the circular ends and the straight sides. This short guide explains the standard formula, walks through a concrete example, and shows how the companion calculator on ProMathTools lets you check your own numbers quickly.
Explanation
The volume of a right circular cylinder measures the three-dimensional space enclosed by two parallel congruent circles and the curved surface joining them. Mathematically, every cross-section parallel to the base is a circle with the same radius r, and the solid extends a perpendicular distance h along the axis. Multiplying the area of the circular base (π r²) by that height h gives the total volume. The reasoning is the same as stacking many thin circular slices: each slice has area π r², and h layers fill the cylinder. This model stays within the ideal solid taught in most US and UK curricula and does not try to model hollow walls, tapering, or non-circular bases.
Formula
V = π r² h, where r is the radius of the circular base and h is the perpendicular distance between the bases (the height). If you know the diameter d instead, use r = d / 2 first.
Example
Suppose a soup can is modelled as a cylinder with radius 3 cm and height 10 cm. Then V = π × 3² × 10 = 90π. Using π ≈ 3.14159, the volume is about 282.74 cm³. If you measured in inches instead, the same arithmetic would give cubic inches — the unit follows whatever consistent lengths you typed in.
How to use the related calculator
Open the cylinder volume tool and type the radius of the base in the first box and the height (axis length) in the second, using the same unit throughout. Press calculate to see the intermediate expression and the numeric volume. Read the last line as a cubic value in that unit system; compare with your written working to catch arithmetic slips or unit mix-ups.
Try the related calculator
Open toolFAQ
Why must radius and height use the same unit?
The formula multiplies lengths; mixing centimetres for radius and metres for height would distort the result. Keeping one length unit ensures the volume is expressed correctly in the matching cubic unit.
Does this work for oblique cylinders?
The standard school formula V = π r² h uses the perpendicular height between the bases. For a right circular cylinder, that height is along the axis; more advanced cases with slanted sides use the same perpendicular height if the bases stay parallel and circular.
Can I check answers in both US customary and metric?
Yes — compute once in one system, then use a volume converter if you need the answer expressed in litres, fluid ounces, or another named unit.
Is this the same as finding the volume of a prism?
A cylinder is a type of prism with circular bases. The prism idea is ‘base area × height’; here the base area is π r² instead of a triangle or rectangle.
Related articles

About the author
Muhammad Ali. Muhammad Ali is a full-stack developer and founder of KruskalCode. He builds SaaS platforms and automation systems with React and Laravel, and helps teams ship fast, scalable tools.
Need a custom calculator, dashboard, or automation workflow? Reach out to KruskalCode.