What is the diameter of a cylinder?
A cylinder's diameter is the width of its circular base — the straight line that passes through the center of the circle from one edge to the other. It is exactly twice the radius. This calculator finds the diameter in two ways: directly from the radius, or indirectly from the cylinder's volume and height.
How to use this calculator
Choose your input mode. If you know the radius, select Radius and enter it — the diameter is simply doubled. If you only know the volume and height, select Volume & Height; the tool back-solves the radius from the volume formula and then doubles it. All lengths must use the same unit (e.g. cm), and volume must use the cubed version of that unit (e.g. cm³).
The formula explained
The volume of a cylinder is \(V = \pi r^2 h\). Solving for the radius gives \(r = \sqrt{V / (\pi \cdot h)}\). Since the diameter is \(d = 2r\), combining these yields:
$$d = 2\sqrt{\frac{V}{\pi \cdot h}}$$When you supply the radius directly, the calculator skips this step and simply computes \(d = 2r\).
Worked example
Suppose a cylinder has a volume of 1000 cm³ and a height of 10 cm. First find the radius: $$r = \sqrt{\frac{1000}{\pi \times 10}} = \sqrt{\frac{1000}{31.4159}} = \sqrt{31.831} \approx 5.642 \text{ cm}.$$ The diameter is then $$d = 2 \times 5.642 \approx 11.28 \text{ cm}.$$
Diameter for Different Volumes and Heights
When the volume \(V\) and height \(h\) of a cylinder are known, the diameter follows from \(V = \pi r^2 h\), so \(r = \sqrt{V/(\pi h)}\) and
$$d = 2r = 2\sqrt{\frac{V}{\pi h}}$$The table uses consistent units (volume in cm³, height in cm, so radius and diameter come out in cm).
| Volume V (cm³) | Height h (cm) | V/(πh) (cm²) | Radius r (cm) | Diameter d (cm) |
|---|---|---|---|---|
| 500 | 10 | 15.92 | 3.99 | 7.98 |
| 1000 | 5 | 63.66 | 7.98 | 15.96 |
| 1000 | 10 | 31.83 | 5.64 | 11.28 |
| 1000 | 20 | 15.92 | 3.99 | 7.98 |
| 2000 | 10 | 63.66 | 7.98 | 15.96 |
Example of the substitution for the first row: \(d = 2\sqrt{500/(\pi \times 10)} = 2\sqrt{15.915} \approx 2 \times 3.989 = 7.98\) cm.
Patterns: at fixed volume, the diameter depends on the square root of \(1/h\). Doubling the height multiplies the diameter by \(1/\sqrt{2} \approx 0.707\) (compare 1000 cm³ at h = 10 cm, d = 11.28 cm, with h = 20 cm, d = 7.98 cm). Likewise, doubling the volume at fixed height multiplies the diameter by \(\sqrt{2} \approx 1.414\). Only the ratio \(V/h\) matters, which is why rows 1 and 4 give the same diameter.
Diameter Unit Conversions
Use one length unit for diameter, radius and height, and the matching cubic unit for volume. Values below are rounded to 6 significant figures where not exact.
Length (row unit = value in column unit)
| 1 of… | mm | cm | m | in | ft |
|---|---|---|---|---|---|
| mm | 1 | 0.1 | 0.001 | 0.0393701 | 0.00328084 |
| cm | 10 | 1 | 0.01 | 0.393701 | 0.0328084 |
| m | 1000 | 100 | 1 | 39.3701 | 3.28084 |
| in | 25.4 | 2.54 | 0.0254 | 1 | 0.0833333 |
| ft | 304.8 | 30.48 | 0.3048 | 12 | 1 |
Volume (row unit = value in column unit)
| 1 of… | mm³ | cm³ | m³ | in³ | ft³ |
|---|---|---|---|---|---|
| mm³ | 1 | 0.001 | 1×10⁻⁹ | 6.10237×10⁻⁵ | 3.53147×10⁻⁸ |
| cm³ | 1000 | 1 | 1×10⁻⁶ | 0.0610237 | 3.53147×10⁻⁵ |
| m³ | 1×10⁹ | 1×10⁶ | 1 | 61023.7 | 35.3147 |
| in³ | 16387.1 | 16.3871 | 1.63871×10⁻⁵ | 1 | 5.78704×10⁻⁴ |
| ft³ | 2.83168×10⁷ | 28316.8 | 0.0283168 | 1728 | 1 |
Liters
1 L = 1000 cm³ = 0.001 m³ = 1,000,000 mm³. To use a volume given in liters, convert it first. Example: a 2 L cylinder that is 25 cm tall has \(V = 2000\) cm³, so \(d = 2\sqrt{2000/(\pi \times 25)} = 2\sqrt{25.465} \approx 2 \times 5.046 = 10.09\) cm.
Key Terms and Variables
- Diameter (d): the straight-line distance across the circular base through its center; equal to twice the radius, \(d = 2r\). Unit: length (mm, cm, m, in, ft).
- Radius (r): the distance from the center of the circular base to its edge; half the diameter, \(r = d/2\). Unit: length.
- Volume (V): the space inside the cylinder, \(V = \pi r^2 h\). Unit: cubic length (mm³, cm³, m³, in³, ft³) or liters (1 L = 1000 cm³).
- Height (h): the perpendicular distance between the two circular bases. Unit: length, which must match the unit of the radius.
- Circular base: the flat circular face at each end of a right circular cylinder; its area is \(A = \pi r^2\), so \(V = A \cdot h\).
- π (pi): the ratio of a circle's circumference to its diameter, approximately 3.14159. It is dimensionless.
Formulas used: \(d = 2r\) when the radius is known, and \(d = 2\sqrt{V/(\pi h)}\) when volume and height are known.
FAQ
Is diameter always twice the radius? Yes. For any circle or cylinder cross-section, \(d = 2r\) exactly.
What units does the result use? The diameter is returned in the same linear unit you entered. If volume is in cm³ and height in cm, the diameter is in cm.
What if I only know the surface area? This tool uses volume and height. You would need a separate rearrangement for surface area, since that formula mixes both the side and the two circular ends.