Geometry
How To Calculate The Volume Of A Cylinder
Cylinder volume is the area of the circular base multiplied by the height. Nearly every wrong answer comes from one of two places: a diameter used where a radius belongs, or units that were never made consistent before being cubed.
Quick Answer
V = pi x r^2 x h
- r
- Radius of the circular base — half the diameter
- h
- Perpendicular height between the two circular faces
- pi
- About 3.141592653589793, the ratio of circumference to diameter
- d
- Diameter, equal to 2r, used in the alternative form
- V
- Volume, in cubic units, equal to pi r squared h
Square the radius, multiply that by pi, then multiply by the height. A radius of 3 with a height of 10 gives a base area of 28.27433388 and a volume of 282.74333882, alongside a curved side of 188.49555922 and a total surface area of 245.04422698. Doubling the radius to 6 while leaving the height at 10 gives 1130.97335529, exactly four times as much, because the radius is squared and the height is not.
What Is The Volume Of A Cylinder?
The formula V = pi r squared h is nothing more than the base area multiplied by the height, written in one line. A circular base of radius 3 covers 28.27433388, and stacking that disc through a height of 10 gives 282.74333882. The multiplication by height is the only thing separating a cylinder from a circle: area describes the floor, volume counts how many floors you have. Every other result in this topic is a variation on that single product. Read it as area first and height second, and it stops being something to memorise.
Notice that the radius is squared while the height is not, and that this asymmetry is not arbitrary. Area needs two lengths multiplied together, so r times r; volume needs three, so r times r times h. That is why doubling the height merely doubles the volume while doubling the radius multiplies it by four. With r = 6 and h = 10 the volume reaches 1130.97335529, exactly four times the 282.74333882 you get at r = 3. Anyone sizing a tank should internalise this: widening beats lengthening, and it beats it quadratically. The converse is equally useful, since halving the radius removes three quarters of the volume, which is why a slightly wider pipe carries dramatically more than a narrower one.
Pi enters because the base is a circle, and nowhere else. It is the ratio of a circumference to its diameter, roughly 3.141592653589793, and the area of any disc is pi times the radius squared. Nothing about the third dimension introduces a second constant. People sometimes expect one to appear once height is involved, and it is worth stating plainly that the height simply scales an area that has already been computed. Carrying pi to fifteen digits costs nothing on a calculator and removes a source of drift that would otherwise be squared and then multiplied.
A cylinder, strictly, means a right circular cylinder: two parallel congruent circular faces joined by a curved surface, with the axis perpendicular to both. That perpendicularity is what lets the height be measured directly down the side. When the shape leans, it becomes an oblique cylinder, and the same formula still holds provided h is the perpendicular distance between the two faces rather than the length of the slanted edge. Taking the slanted measurement is a genuine and frequent error, because it is the one a tape measure naturally returns. Drums, silos and straight-sided glasses are right cylinders; a leaning column of coins or a drum cut at an angle is not, and that distinction decides which length you may legitimately call h.
Volume units are cubic, and this is where practical work most often goes wrong. Measure in metres and the answer is cubic metres; a tank of radius 1 metre and height 2 metres holds 6.28318531 cubic metres, and because one cubic metre is 1000 litres that is 6283.18531 litres. The conversion factor between volume units is the cube of the length factor, so one cubic metre is a million cubic centimetres rather than a hundred. Mixing a radius in centimetres with a height in metres produces a number that looks plausible and is wrong by a large power of ten. Writing the unit beside every intermediate figure makes that mismatch visible before it gets multiplied into the final answer.
Working from the diameter has its own form: V = pi d squared h divided by 4. It is algebraically identical to halving first, and it is the better choice when the measurement you actually hold was taken across the object with a tape measure or read off packaging. The danger is mixing the two forms. A radius of 3 put into the diameter formula yields a quarter of the right answer, while a diameter of 6 put into the radius formula yields 1130.97335529, four times the correct 282.74333882. Squaring is what turns a factor-of-two slip into a factor-of-four error. When choosing between the two forms, ask which one matches the number actually in your hand rather than which one you happen to remember more clearly.
Two neighbouring shapes are worth keeping in mind as checks. A cone with the same base and the same height holds exactly one third of the cylinder, so alongside 282.74333882 it holds 94.24777961. A sphere sitting inside the cylinder that exactly contains it occupies two thirds of that cylinder's volume. These ratios are fixed regardless of the actual measurements, which makes them excellent sanity checks: if your cylinder does not come out at triple the matching cone, something upstream is wrong. Neither ratio depends on the value of pi you used, so they test your geometry rather than your arithmetic.
Surface areas are computed from the same two inputs but are different quantities entirely, and confusing them is a category error. For r = 3 and h = 10 the curved side covers 188.49555922 and the total including both ends covers 245.04422698. Those are square units, not cubic ones. It is also worth noticing that the curved part scales with the first power of the radius while the two ends scale with the square, so the proportion of total area contributed by the ends changes as the cylinder grows. Area tells you how much sheet material or paint to buy; volume tells you how much the vessel holds, and there is no conversion between the two.
Precision should follow the measurement you started from. Carry pi at full precision through every intermediate step, then round once at the end: if the radius was read to the nearest centimetre, quoting 282.74 is honest whereas quoting 282.74333882 claims accuracy that never existed. As a final habit, run a scaling check. Halve or double the radius mentally and confirm the volume moves by a factor of four rather than two. That single test catches the diameter-versus-radius mistake instantly, and it costs a few seconds. Round once at the end, and state which unit the final number is in.
Formula
V = pi x r^2 x h
The standard form: square the radius, multiply by pi to get the base area, then multiply by the height. Only the radius is squared.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| r | Radius of the circular base | length | Centre to edge. Halve the diameter before squaring. |
| h | Perpendicular height of the cylinder | length | Distance between the two circular faces, not the slanted edge. |
| V | Volume enclosed | cubic units | Quadruples when the radius doubles; only doubles when the height doubles. |
V = pi x d^2 x h / 4
Equivalent to halving the diameter first. Use it when the measurement you hold was taken across the object.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| d | Diameter of the base | length | Twice the radius. This is the figure usually printed on packaging. |
| h | Perpendicular height | length | Unchanged from the standard form; it is never squared. |
| V | Volume enclosed | cubic units | Identical to the radius form, provided d is genuinely the diameter. |
Lateral A = 2 pi r h, total A = 2 pi r h + 2 pi r^2
Both come from the same inputs as the volume but are measured in square units. The two ends are the base area counted twice.
| Symbol | Meaning | Unit | Notes |
|---|---|---|---|
| Lateral A | Area of the curved side only | square units | Unrolls into a rectangle of width 2 pi r and height h. |
| Total A | Curved side plus both circular ends | square units | The quantity you need for material or paint estimates. |
| r | Radius shared with the volume formula | length | Same value as in V = pi r squared h; never substitute the diameter here. |
How To Calculate The Volume Of A Cylinder
- 1
Decide whether you hold a radius or a diameter
A radius runs centre to edge; a diameter runs edge to edge through the centre. Packaging, pipes and drums are almost always quoted by diameter, so halve it before touching anything else. If the diameter is 6, the radius is 3.
- 2
Square the radius, then multiply by pi
This gives the base area. For a radius of 3, squaring gives 9 and multiplying by pi gives 28.27433388. Keep pi at full precision here and round nothing yet.
- 3
Multiply the base area by the perpendicular height
For a height of 10, that is 28.27433388 times 10, giving 282.74333882. The height enters only once, which is why it affects the result far less dramatically than the radius does.
- 4
Make the units consistent and state them cubed
Both lengths must share a unit before you multiply. Metres give cubic metres, centimetres give cubic centimetres, and one cubic metre is 1000 litres. Converting afterwards means cubing the length factor, not just applying it.
- 5
Sanity-check by doubling the radius
A radius of 6 with the same height gives 1130.97335529, exactly four times 282.74333882. If your check doubles rather than quadruples, you have almost certainly used a diameter somewhere it did not belong.
Examples
Example 1: A cylinder of radius 3 and height 10
- Radius
- 3
- Height
- 10
| Step | Calculation | Result |
|---|---|---|
| Radius squared | 3^2 | 9 |
| Area of the circular base | 3.141592653589793 x 9 | 28.27433388 |
| Volume — base area times height | 28.27433388 x 10 | 282.74333882 |
| Curved side area | 2 x 3.141592653589793 x 3 x 10 | 188.49555922 |
| Total surface area including both ends | 188.49555922 + 2 x 28.27433388 | 245.04422698 |
Result: A volume of 282.74333882, built on a base of 28.27433388, with a curved side of 188.49555922 and a total surface area of 245.04422698.
Example 2: A water tank in litres, from metres
- Radius
- 1 metre
- Height
- 2 metres
| Step | Calculation | Result |
|---|---|---|
| Base area at radius 1 | 3.141592653589793 x 1^2 | 3.14159265 |
| Volume in cubic metres | 3.141592653589793 x 1 x 2 | 6.28318531 |
| Converted to litres at 1000 litres per cubic metre | 6.28318531 x 1000 | 6283.18531 |
Result: 6.28318531 cubic metres, which is 6283.18531 litres — the conversion that matters whenever a tank has to be filled, dosed or billed.
Example 3: Doubling the radius against doubling the height
- Original radius
- 3
- Doubled radius
- 6
- Height
- 10
| Step | Calculation | Result |
|---|---|---|
| Volume at radius 6, height unchanged | 3.141592653589793 x 6^2 x 10 | 1130.97335529 |
| Ratio against the original radius of 3 | 1130.97335529 / 282.74333882 | 4 |
Result: 1130.97335529 at radius 6, exactly 4 times the 282.74333882 at radius 3 — the radius is squared, so doubling it quadruples the volume while doubling the height would only double it.
Calculator
Volume of the cylinder
282.7433
- Area of the circular base
- 28.2743
- Area of the curved side
- 188.4956
- Total surface area including both ends
- 245.0442
- Diameter
- 6
Values update as you type. This calculator covers the single scenario its formula assumes — see Common Mistakes for what it leaves out.
Prefer a full-width tool? Open the The Volume Of A Cylinder calculator page.
Common Mistakes
Using the diameter as if it were the radius
Because the radius is squared, this multiplies the answer by four rather than by two. Putting a diameter of 6 into pi r squared h gives 1130.97335529 instead of the correct 282.74333882. Halve first, or use the diameter form deliberately.
Using the diameter formula but substituting a radius
The form V = pi d squared h / 4 divides by four precisely because d is twice r. Feeding a radius of 3 into it returns a quarter of the right answer, and the result is small enough to look merely conservative rather than wrong.
Reporting units that were never cubed
Volume is cubic, and conversions cube the length factor: one cubic metre is 1000 litres and a million cubic centimetres, not a hundred. A radius in centimetres paired with a height in metres produces a figure wrong by a large power of ten.
Measuring the slanted side of a leaning cylinder
The h in the formula is the perpendicular distance between the two circular faces. On an oblique cylinder that is shorter than the edge you can actually reach with a tape measure, so the volume comes out too large.
Mistaking the curved side area for a volume quantity
For radius 3 and height 10 the curved side is 188.49555922, which is a square measure, not a cubic one. It tells you how much material wraps the cylinder, and it can never be compared with or substituted into a volume of 282.74333882.
FAQ
What if I only know the diameter?
Halve it to get the radius and use V = pi r squared h, or use V = pi d squared h / 4 directly. Both give the same result; the second simply removes the separate halving step. What you must never do is put the diameter into the radius formula, which multiplies the answer by four.
Why does doubling the radius quadruple the volume?
Because the radius appears squared while the height appears only once. Going from a radius of 3 to a radius of 6 at a height of 10 moves the volume from 282.74333882 to 1130.97335529, a factor of exactly 4. Doubling the height instead would only double the volume.
How do I get litres from a volume in metres?
Multiply by 1000, because one cubic metre contains 1000 litres. A tank of radius 1 metre and height 2 metres holds 6.28318531 cubic metres, which is 6283.18531 litres. If you measured in centimetres instead, convert to metres first, since volume conversions cube the length factor.
Does the formula work for a cylinder that leans?
Yes, provided h is the perpendicular distance between the two circular faces rather than the length of the slanted edge. The slant is always longer, so using it overstates the volume. Drop a perpendicular or measure the vertical separation between the faces.
How does the volume compare with a cone of the same base and height?
The cone is exactly one third of the cylinder. Where the cylinder of radius 3 and height 10 holds 282.74333882, the matching cone holds 94.24777961. That fixed ratio makes a useful check: if your cone is not a third of your cylinder, one of the two calculations is wrong.
References
- [1]Wikipedia, Cylinder — https://en.wikipedia.org/wiki/Cylinder
- [2]Wikipedia, Volume — https://en.wikipedia.org/wiki/Volume
- [3]Wikipedia, Pi — https://en.wikipedia.org/wiki/Pi