Cylinder Diameter Calculator
Test cases replayed : 3 of 3 match · Methodology · No outside source listed
Choose what you know about the cylinder and enter it with the height, in the same length unit.
Result
Diameter d (length units)
Radius r = d ÷ 2 (length units)
- Base area πr² (square units)
- Volume πr²h (cubic units)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- You know the: choose Volume and height, Circumference or Lateral (side) area and height.
- Known value (cubic units for volume, length for circumference, square units for area): enter 0 or more.
- Height h (length units; volume and area methods): enter 0 or more.
- Read the result: Diameter d (length units); the panel also shows Radius r = d ÷ 2 (length units), Base area πr² (square units) and Volume πr²h (cubic units).
How this calculator works
A cylinder of radius r and height h has volume V = πr²h, circumference C = 2πr = πd and lateral area L = 2πrh = πdh.
Solved for the diameter: d = 2√(V ÷ (πh)) from the volume, d = C ÷ π from the circumference and d = L ÷ (πh) from the lateral area. The radius is half the diameter.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| You know the (1: Volume and height; 2: Circumference; 3: Lateral (side) area and height) | ||
| Known value (cubic units for volume, length for circumference, square units for area) | ||
| Height h (volume and area methods) | length units | |
| Diameter d | length units |
Worked example
| You know the | Volume and height |
|---|---|
| Known value (cubic units for volume, length for circumference, square units for area) | 100 |
| Height h (length units; volume and area methods) | 5 |
| Radius r = d ÷ 2 (length units) | 2.5231 |
|---|---|
| Base area πr² (square units) | 20 |
| Volume πr²h (cubic units) | 100 |
Diameter d (length units) 5.0463
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
What is the diameter of a cylinder holding 100 cubic inches that is 5 in tall?
d = 2√(100 ÷ 5π) ≈ 5.0463 in, a radius of about 2.5231 in.
How do I get the diameter from the circumference?
Divide by π: a 10 in circumference gives a diameter of about 3.1831 in.