Cylinder Volume Calculator
- Volume is base area times height: π × r² × h = π × 2² × 5 = 62.83 cubic units. For a tank, multiply by your unit conversion (1 ft³ = 7.48 US gallons) to get capacity.
- The curved side unrolls into a rectangle one circumference wide and h tall: 2 × π × 2 × 5 = 62.83 square units.
- Including both circular ends (12.57 each) the total surface is 87.96 square units — the figure for lining, painting or insulating the cylinder.
A cylinder volume calculator takes the radius and height you enter and returns the volume using the formula V = πr²h, which multiplies the base area by the height. The calculator also handles related measurements such as total surface area and lateral surface area, the side that unrolls into a rectangle one circumference wide. For example, a radius of 2 and height of 5 give a volume of 62.83 cubic units and a total surface of 87.96 square units. A radius of 1.5 and height of 3 give a volume of 21.21 and a lateral (label) area of 28.27 square units. Because 1 cubic foot equals 7.48 US gallons, the conversion that turns this geometry into tank capacity, a radius of 4 and height of 10 give a volume of 502.65 — in cubic feet that is about 3,760 US gallons.
The method behind these results is the accepted standard because the volume formula V = πr²h directly measures how much three-dimensional space a cylinder occupies, while the lateral surface area formula 2πrh accounts for the curved side. These relationships hold for any cylinder regardless of size or units, making them reliable for engineering, construction, and tank capacity work. This page shows the formula, step-by-step workings, worked examples, and sources so you can verify each calculation yourself.
Worked examples
A cylinder of radius 2 and height 5
Volume 62.83 cubic units; total surface with both ends is 87.96 square units. (2 · 5)
| Volume | 62.83 |
| Lateral surface area | 62.83 |
| Total surface area (both ends) | 87.96 |
| Base area | 12.57 |
| Base circumference | 12.57 |
A tank of radius 4 and height 10
Volume 502.65 cubic units — in feet, that is about 3,760 US gallons of capacity. (4 · 10)
| Volume | 502.65 |
| Lateral surface area | 251.33 |
| Total surface area (both ends) | 351.86 |
| Base area | 50.27 |
| Base circumference | 25.13 |
A can of radius 1.5 and height 3
Volume 21.21 cubic units; the curved label area alone is 28.27 square units. (1.5 · 3)
| Volume | 21.21 |
| Lateral surface area | 28.27 |
| Total surface area (both ends) | 42.41 |
| Base area | 7.07 |
| Base circumference | 9.42 |
Base times height — the whole idea
A cylinder is simply a prism-like solid with a circular cross-section. The governing idea for any such solid is straightforward: take the area of the cross-section and multiply it by the length, or height, of the solid. For a cylinder that means base area times height, written as V = πr²h. The base area is the area of the circle at either end, πr², and h is the straight distance between those two circular ends. A cylinder volume calculator applies this formula directly, so you only need to enter the radius and the height to get the result.
The formula stays the same regardless of how the cylinder is oriented. Think about a pipe lying on its side instead of standing upright. The circular opening you see at the end of the pipe is still the base, and the pipe's length is still the height, h. Multiplying that circular base area by the pipe's length gives the volume of the pipe. Whether the cylinder is a vertical storage tank, a horizontal culvert, or a section of plumbing, the math does not change.
To see how the numbers work, take a cylinder with a radius of 2 and a height of 5. Applying the formula gives a volume of 62.83 cubic units, with a total surface area of 87.96 square units. Scale up to a radius of 4 and a height of 10, and the volume grows to 502.65. When those cubic units are feet, the conversion factor of 1 cubic foot equaling 7.48 US gallons turns the geometry into practical tank capacity. In this case, 502.65 cubic feet equals about 3,760 US gallons.
The lateral surface area, 2πrh, follows the same logic. The side of a cylinder unrolls into a rectangle that is one circumference wide — 2πr — and h tall. For a cylinder with a radius of 1.5 and a height of 3, the volume is 21.21 and the lateral, or label, area is 28.27 square units. This is the area of the curved wall only, not counting the two circular caps.
Worked examples
The fastest way to build confidence with a cylinder volume calculator is to run the same formula on a few concrete cases. Each row below was verified using V = πr²h, where r is the radius and h is the height. The volume column shows the result in cubic units. The surface column lists either the total surface area or the lateral surface area, depending on which value was confirmed for that particular cylinder.
Lateral surface area follows the formula 2πrh. Think of the side of the cylinder as a label that unrolls into a rectangle: one edge matches the circumference of the base, and the other edge matches the height. When the verified data included the full outer surface, the table reports total surface area instead. In the first example, radius 2 and height 5 produce a volume of 62.83 cubic units with a total surface of 87.96 square units. The third example, with radius 1.5 and height 3, yields a volume of 21.21 cubic units and a lateral area of 28.27 square units.
The middle example shows how a raw geometric result becomes practical tank capacity. A cylinder with radius 4 and height 10 holds 502.65 cubic units. When those units are feet, the same volume converts to about 3,760 US gallons. That conversion rests on a single constant: 1 cubic foot equals 7.48 US gallons. Multiply 502.65 by 7.48 and you get roughly 3,760 gallons, the kind of number a tank buyer or a plumbing inspector actually needs. A reliable cylinder volume calculator should handle both the geometry and that capacity conversion so the result is useful in the field, not just on paper.
| Radius | Height | Volume | Surface |
|---|---|---|---|
| 2 | 5 | 62.83 cubic units | 87.96 square units (total surface) |
| 4 | 10 | 502.65 cubic units | About 3,760 US gallons (when units are feet) |
| 1.5 | 3 | 21.21 cubic units | 28.27 square units (lateral area) |
From volume to capacity
A cylinder volume calculator does more than spit out a number in abstract cubic units. It bridges the gap between pure geometry and practical, real-world capacity. The volume formula itself is simple: V = πr²h, the base area times the height. But knowing a tank holds 502.65 cubic feet is not very helpful when you are trying to order fuel, plan a water reserve, or compare products sold by the gallon. That is where unit conversions turn geometry into something you can actually use.
The most important conversion for American users is the link between cubic feet and US gallons. One cubic foot equals 7.48 US gallons. This single ratio is what turns a calculated volume into tank capacity. Take a tank with a radius of 4 feet and a height of 10 feet. The formula gives a volume of 502.65 cubic feet. Multiply that by 7.48, and you get about 3,760 US gallons. That is the number you would bring to a supplier, a plumber, or a project plan.
For metric work, the conversion is even cleaner. One cubic centimeter is equal to one milliliter, so 1,000 cm³ gives you exactly one litre. If a smaller container has a radius of 1.5 units and a height of 3 units, the volume is 21.21 cubic units. When those units are centimeters, the capacity is 21.21 milliliters, or about 0.021 litres. No extra factor is needed; the metric system builds the conversion into the units themselves.
These conversions matter because the underlying geometry does not care about your units. The same cylinder that holds 3,760 gallons in one context might be described in litres, cubic inches, or cubic meters in another. A reliable cylinder volume calculator should let you enter radius and height in your working units and then report the volume in whichever capacity unit your project demands. The math is fixed; the units are the variable.
- 1 cubic foot = 7.48 US gallons
- 1,000 cm³ = 1 litre
- Radius 4 ft, height 10 ft → 502.65 ft³ → about 3,760 US gallons
Surface areas: side, ends, or both
A cylinder volume calculator handles the inside space, but many projects also need the outside surface. The two questions are separate: volume asks how much a container holds, while surface area asks how much material covers it. A cylinder's volume is base area times height, V = πr²h, and that number tells you nothing about paint, insulation, or label stock without a second calculation.
Lateral surface area is 2πrh — the side unrolls into a rectangle one circumference wide. This is the number you need for label and wrap problems. Verified: radius 1.5 and height 3 give volume 21.21 and a lateral (label) area of 28.27 square units. Notice that the lateral area does not include the circular ends, so it stays the same whether the cylinder is open or closed. If you are sizing a printed label for a can or a wrap for a pipe, lateral area is the only surface that matters.
Paint and insulation problems call for total surface area instead, because those coatings cover the side and both ends. Verified: radius 2 and height 5 give volume 62.83 cubic units and total surface 87.96 square units. That total includes the lateral side plus the two circular end caps, so it is the right figure when you are buying enough coating to cover the whole object. Open-top tanks drop one end from the total: you add the lateral side to just one circle instead of two, since the top faces open air and takes no material.
Tank capacity work often bridges both calculations. Verified: radius 4 and height 10 give volume 502.65 — in cubic feet that is about 3,760 US gallons. The conversion behind that result is simple: 1 cubic foot = 7.48 US gallons, the conversion that turns this geometry into tank capacity. Once the volume is known in cubic feet, multiply by 7.48 to state the result in gallons that a supplier or customer will recognize.
Partially filled horizontal tanks (a warning)
A common mistake with horizontal tanks is assuming that the liquid height tells you the fill percentage. It does not. When a horizontal cylinder is half full by height, it is indeed half full by volume — that much is true. But below the halfway mark, the relationship breaks down, and it breaks down fast.
The reason is segment geometry. As liquid rises in a horizontal tank, the surface of the liquid forms a rectangular slice whose width changes with depth. Near the bottom, a small increase in height adds very little volume because the tank walls are nearly vertical and the slice is narrow. Near the middle, the same increase in height adds much more volume because the slice is at its widest. The result is that a tank filled to one-quarter of its height holds far less than one-quarter of its total volume, and a tank filled to three-quarters of its height holds far more than three-quarters. The math is that of a circular segment, not a simple fraction.
This matters in practice because horizontal tanks are common in agriculture, industry, and fuel storage, and operators often read a dipstick or sight glass and mentally convert height to volume. That mental conversion is wrong for every level except exactly half. A quarter-height reading might represent only about 20 percent of capacity, depending on the tank's proportions. If you need accurate partial-fill volumes for a horizontal tank, you need a segment-area calculation that accounts for the tank's radius and the liquid depth — not the straightforward V = πr²h that works for a vertical cylinder.
This cylinder volume calculator covers the full cylinder only. It computes the total volume using V = πr²h, the same formula that gives 62.83 cubic units for a radius of 2 and height of 5, or 502.65 cubic feet — about 3,760 US gallons — for a radius of 4 and height of 10. It will not give you the volume of liquid sitting at a specific depth in a horizontal tank. For that, use a dedicated horizontal tank volume tool that applies the circular segment formula.
If you are working with vertical cylinders or simply need total capacity, the tool here is the right one. For partial fills in a horizontal orientation, treat the height reading as a measurement to be converted with segment geometry, not as a percentage of the whole.
Common errors
Even a reliable cylinder volume calculator can produce a wrong answer if the inputs are off. Three mistakes account for most of the errors people make when finding the volume of a cylinder, and each one is easy to avoid once you know what to watch for.
The most common mistake is entering the diameter as the radius. A cylinder's volume is base area times height: V = πr²h. Because the radius is squared in that formula, doubling the radius quadruples the result. If you measure a pipe that is 4 units across and type 4 as the radius, you are telling the calculator the radius is 4 when it is really 2. The correct volume with radius 2 and height 5 is 62.83 cubic units, but plugging in 4 as the radius gives roughly 251.33 — a 4× volume error. Always divide the diameter by 2 before entering the radius, or use a calculator that accepts diameter directly.
A second frequent error is mixing units between the radius and the height. If you measure the radius in inches and the height in feet, the formula still runs, but the result is meaningless because the units do not match. Every dimension going into V = πr²h must use the same unit before you calculate. Convert everything to one unit first — inches, feet, centimeters, or whatever unit you need — then compute. Once you have a clean volume, you can convert to a practical capacity. For example, radius 4 and height 10 give volume 502.65 cubic feet, which is about 3,760 US gallons when you apply the conversion 1 cubic foot = 7.48 US gallons.
The third error involves surface area rather than volume, but it trips up many of the same users. When calculating total surface area, people often count only one circular end instead of two. The total surface area has three parts: the lateral surface and both circular caps. The lateral surface area is 2πrh — the side unrolls into a rectangle one circumference wide — and each end adds an area of πr². With radius 2 and height 5, the lateral area is 62.83 square units and each end is 12.57, giving a total surface area of 87.96 square units. Forgetting one end leaves you short by a full circle.
- Measure the radius, not the diameter — or divide the diameter by 2 before entering it, since using diameter as the radius creates a 4× volume error.
- Use the same unit for radius and height. Mixed units produce a number, but not a valid volume.
- Count both circular ends when finding total surface area: lateral area (2πrh) plus two circles (2 × πr²).
FAQs
What is the formula for the volume of a cylinder?
The formula is V = πr²h, where r is the radius and h is the height. For example, a cylinder with a radius of 2 and a height of 5 gives π × 4 × 5 = 62.83. This formula works for any right circular cylinder as long as you use the radius, not the diameter, and keep your units consistent.
How many gallons does a cylindrical tank hold?
First compute the volume in cubic feet, then multiply by 7.48 to convert to gallons. For example, a tank with a radius of 4 and a height of 10 has a volume of 502.65 ft³, which is approximately 3,760 gallons. Make sure all your measurements are in feet before applying the conversion factor.
What is the lateral surface area of a cylinder?
The lateral surface area is 2πrh, which represents the area of the curved side only — like a label wrapped around the cylinder. For a cylinder with a radius of 1.5 and a height of 3, the lateral surface area is 28.27 square units. This does not include the top or bottom circles.
Radius or diameter — which do I enter?
Enter the radius, which is half the diameter. If you accidentally enter the diameter as the radius, your volume will be four times too big, because the radius is squared in the formula. For example, if the diameter is 10, the radius is 5. Always divide the diameter by 2 before plugging it into the formula.
How do I find the volume of a pipe?
Use the inner radius and the pipe length as height to find the volume of liquid the pipe can hold. If you need the volume of the pipe wall itself, subtract the inner cylinder volume from the outer cylinder volume. This gives you the material volume of the pipe wall between the inner and outer surfaces.
Does the formula work for a cylinder lying on its side?
Yes, for a full cylinder the volume does not care about orientation — the formula gives the same result whether the cylinder is upright or lying on its side. However, partial fills on a horizontal cylinder need circular-segment math instead, because the liquid depth does not correspond simply to the height in the formula.