Diameter of a Cylinder Calculator

Enter a cylinder's volume and height to get its diameter (d = 2√(V / (πh))), radius, circumference, and total surface area.

Quick Facts

Volume formula
V = πr²h = π(d/2)²h
Relates a cylinder's volume to its radius (or diameter) and height.
Diameter formula
d = 2√(V / (πh))
Solving the volume formula for diameter.
Circumference
C = πd
Distance around the circular cross-section.
Total surface area
SA = πd²/2 + πdh
Two circular ends plus the lateral (side) surface.

Your Results

Calculated
Diameter
-
d = 2√(V / (πh))
Radius
-
r = d / 2
Circumference
-
C = π × d
Total Surface Area
-
SA = πd²/2 + πdh

Ready

Enter a volume and height, then press Calculate.

Formula and Method for the Diameter of a Cylinder

A cylinder is a solid with two parallel circular bases connected by a curved lateral surface. Its volume follows V = πr²h, where r is the radius of the circular base and h is the height. Since the diameter is twice the radius (d = 2r), the volume formula can be rewritten as V = π(d/2)²h. This calculator solves that equation for diameter, then derives the radius, circumference, and total surface area from it.

How the calculation works

Starting from V = πr²h, divide both sides by πh to isolate r²: r² = V / (πh). Taking the square root gives the radius, r = √(V / (πh)), and doubling it gives the diameter: d = 2√(V / (πh)). Once the diameter is known, the circumference of the circular cross-section is C = πd, and the total surface area — the two circular ends plus the curved side — is SA = πd²/2 + πdh. Enter volume and height in the same unit system; the diameter, radius, and circumference are reported in that linear unit, and the surface area in that unit squared.

Common mistakes

  • Units: volume must be entered in cubic units (in³, cm³, m³, etc.) that match the linear unit used for height — mixing units (e.g., a volume in liters with a height in inches) produces an incorrect diameter.
  • Diameter vs. radius: the volume formula V = πr²h uses radius, not diameter. Forgetting to double the radius (or accidentally squaring the diameter directly) is a common source of error.
  • Lateral vs. total surface area: the lateral (side) surface area alone is πdh; the total surface area adds the two circular ends (πd²/2). Confusing the two under- or over-estimates material needs.

Real-world applications

  • Tank, drum, and canister design: given a target volume and a height limited by available space, find the diameter that will hold that volume.
  • Plumbing and HVAC: sizing pipes or ducts to move a required volume of fluid or air over a given length.
  • Manufacturing: determining the stock diameter needed to machine or mold a cylindrical part of a specified volume and length.
  • Packaging: sizing cans, tubes, and bottles so a target fill volume fits within a fixed height.

Frequently Asked Questions

What is the formula for the diameter of a cylinder given its volume and height?
Solve the volume formula V = πr²h for the radius, then double it: d = 2√(V / (πh)). For example, a cylinder holding 1000 cm³ at a height of 10 cm has a diameter of 2√(1000 / (π×10)) ≈ 11.28 cm.
How do I find a cylinder's diameter from its circumference?
Divide the circumference by π: d = C / π. This is the same relationship used for any circle, since a cylinder's cross-section is a circle.
What is the difference between a cylinder's radius and diameter?
The diameter is twice the radius (d = 2r). Radius is measured from the center of the circular base to its edge, while diameter spans the full width through the center.
How is a cylinder's total surface area related to its diameter?
Total surface area = πd²/2 + πdh — the area of the two circular ends (each π(d/2)²) plus the lateral (side) area πdh. Once diameter is known, surface area follows directly.