Cylinder Calculator

Volume

Surface Area

Lateral Area

How Cylinder Calculations Work

A cylinder is a three-dimensional solid with two congruent, parallel circular bases connected by a curved lateral surface. Cylinders appear everywhere in daily life -- cans, pipes, water tanks, silos, barrels, and engine pistons are all cylindrical. The three most important measurements for a cylinder are its volume (how much space it occupies or how much it can hold), its total surface area (the entire outer surface including both circular ends), and its lateral surface area (only the curved side, excluding the two ends).

To calculate any of these, you need just two measurements: the radius (the distance from the center of a circular base to its edge) and the height (the perpendicular distance between the two bases). If you know the diameter instead of the radius, simply divide it by two. This calculator instantly computes all three values -- volume, total surface area, and lateral area -- as you type, so you can quickly determine the capacity of a cylinder for any practical application.

The volume tells you how much liquid, grain, gas, or other material a cylindrical container can hold. The total surface area is essential when you need to know how much material is required to manufacture a cylinder (such as sheet metal for a tank), and the lateral area is useful when you only need to wrap or coat the curved side (such as labeling a can or insulating a pipe).

Cylinder Formulas

All cylinder calculations rely on three straightforward formulas. In each formula, r represents the radius and h represents the height of the cylinder.

Volume

V = π × r² × h

Multiply pi by the radius squared, then multiply by the height.

Total Surface Area

SA = 2πrh + 2πr²

Lateral area plus the area of both circular ends.

Lateral (Curved) Surface Area

LA = 2πrh

The area of the curved side only. Imagine unrolling it into a rectangle with width = circumference (2πr) and height = h.

Worked example: A cylindrical water tank has a radius of 3 feet and a height of 5 feet. Volume = π × 3² × 5 = π × 9 × 5 = 141.37 cubic feet. Lateral area = 2 × π × 3 × 5 = 94.25 square feet. Total surface area = 94.25 + 2 × π × 9 = 94.25 + 56.55 = 150.80 square feet. To convert 141.37 cubic feet to gallons, multiply by 7.481, giving approximately 1,057 gallons of capacity.

Key Terms

TermDefinition
Radius (r)The distance from the center of a circular base to its edge. Half the diameter.
Diameter (d)The distance across the full circle through the center. Equal to 2r.
Height (h)The perpendicular distance between the two circular bases.
VolumeThe amount of three-dimensional space inside the cylinder, measured in cubic units.
Surface AreaThe total area covering the outside of the cylinder, including both circular ends and the curved side.
Lateral AreaThe area of only the curved side surface, excluding the two circular bases.
Oblique CylinderA cylinder where the sides are not perpendicular to the bases -- it leans to one side. The volume formula still works using the perpendicular height, not the slant height.

Units Conversion Table

Once you calculate a cylinder's volume in cubic units, use the table below to convert to practical units like gallons or liters. These conversions are essential when determining the capacity of tanks, pipes, and containers.

FromToMultiply By
Cubic inchesUS gallons÷ 231
Cubic inchesLiters× 0.016387
Cubic feetUS gallons× 7.481
Cubic feetLiters× 28.317
Cubic centimetersLiters÷ 1,000
Cubic metersLiters× 1,000
Cubic metersUS gallons× 264.172
US gallonsLiters× 3.785
UK gallonsLiters× 4.546

Practical Examples

Water tank capacity: A residential water storage tank is 4 feet in diameter (radius = 2 feet) and 6 feet tall. Volume = π × 2² × 6 = 75.40 cubic feet. Multiply by 7.481 to get 564 gallons. This is useful for sizing water pumps, estimating fill times, and planning storage needs.

Pipe volume: A 50-foot section of 4-inch diameter pipe (inner radius = 2 inches = 0.1667 feet) holds π × 0.1667² × 50 = 4.36 cubic feet of water, which equals about 32.6 gallons. Plumbers and engineers use this calculation to estimate how much water drains from a system or how much fluid is needed to fill a pipe network.

Cylindrical container: A grain silo has a radius of 8 feet and a height of 30 feet. Volume = π × 8² × 30 = 6,031.86 cubic feet. Since a bushel of grain occupies about 1.244 cubic feet, this silo holds approximately 4,850 bushels. Farmers use this calculation to determine storage requirements for harvest seasons.

Swimming pool: A round above-ground pool has a diameter of 15 feet (radius = 7.5 feet) and a water depth of 4 feet. Volume = π × 7.5² × 4 = 706.86 cubic feet = 5,288 gallons. Knowing the volume helps determine the correct amount of chemicals for water treatment and estimate fill time from a garden hose (typically 9 gallons per minute, so about 9.8 hours to fill).

Cylinder vs. Cone vs. Sphere

Cylinders, cones, and spheres are related three-dimensional shapes with circular cross sections. Understanding how their volume formulas compare helps in choosing the right formula for the right shape.

ShapeVolume FormulaRelationshipExample (r=5, h=10)
Cylinderπr²hBase reference785.40
Cone⅓πr²hExactly 1/3 of a cylinder with same r and h261.80
Sphere&frac43;πr³2/3 of a cylinder where h = 2r523.60 (r=5)

A useful fact: a cone holds exactly one-third the volume of a cylinder with the same base radius and height. This is why three cone-shaped cups of water will fill one cylindrical glass of the same dimensions. Similarly, a sphere fits perfectly inside a cylinder where the cylinder's height equals the sphere's diameter, and the sphere occupies exactly two-thirds of that cylinder's volume -- a relationship first proven by Archimedes, as documented in his treatise On the Sphere and Cylinder.

Frequently Asked Questions

What is the capacity of a cylinder?

The capacity of a cylinder is its internal volume -- the amount of liquid, gas, or material it can hold. Calculate it using V = π × r² × h, where r is the inside radius and h is the height. For example, a cylinder with a 5-inch radius and 10-inch height has a capacity of 785.4 cubic inches, which equals about 3.4 US gallons. To convert to liters, multiply cubic inches by 0.016387, giving about 12.87 liters.

How do you calculate the volume of a cylinder?

Multiply π (3.14159) by the radius squared, then multiply by the height: V = π × r² × h. If you know the diameter instead of the radius, divide the diameter by 2 to get the radius. Make sure both measurements use the same unit (both in inches, both in feet, etc.). The result will be in cubic units -- cubic inches if you used inches, cubic feet if you used feet.

What is the surface area formula for a cylinder?

Total surface area = 2πrh + 2πr². The first term (2πrh) is the lateral area -- the curved side that wraps around the cylinder. The second term (2πr²) is the combined area of the two circular end caps. If you need only the curved side (for example, to calculate label material for a can), use just the lateral area formula: LA = 2πrh.

How do I convert cubic inches to gallons?

Divide cubic inches by 231 to get US gallons. For example, 462 cubic inches = 2 US gallons. For other common conversions: multiply cubic feet by 7.481 to get US gallons, multiply cubic centimeters by 0.001 to get liters, and multiply cubic meters by 264.172 to get US gallons. For UK (imperial) gallons, divide cubic inches by 277.42.

How do I find the volume of a pipe?

A pipe is simply an elongated cylinder. Use the inner radius (not the outer radius) and the pipe length in the standard formula: V = π × (inner radius)² × length. For example, a 100-foot pipe with a 2-inch inner diameter (1-inch radius = 0.0833 feet) holds π × 0.0833² × 100 = 2.18 cubic feet = 16.3 gallons. To find the volume of the pipe wall material, subtract: V_wall = π × (R_outer² - R_inner²) × length.

What is the difference between volume and capacity?

Volume measures the three-dimensional space an object occupies, expressed in cubic units (cubic inches, cubic feet, cubic centimeters). Capacity refers to how much a container can hold, expressed in liquid or dry units (gallons, liters, bushels). They describe the same physical quantity but use different measurement systems. For practical purposes, 1 US gallon = 231 cubic inches, 1 liter = 1,000 cubic centimeters, and 1 cubic foot = 7.481 US gallons.

Related Calculators