Cylinder Formulas
| Find | Formula |
|---|---|
| Volume | πr²h |
| From diameter | πd²h ÷ 4 |
| From circumference | C²h ÷ 4π |
| Side area | 2πrh |
| Each end | πr² |
| Total surface | 2πr(r + h) |
| Hollow (tube) | π(D² − d²)h ÷ 4 |
With r = 3 and h = 5, the volume is 45π = 141.37, the side is 30π = 94.25, each end is 9π = 28.27 and the total surface is 48π = 150.8. In the hollow formula, D is the outside diameter and d the inside.
Every length has to be in the same unit. The answer comes out in that unit cubed (cubic inches, cm³) for volume and squared for area. The calculator lets you enter the height in a different unit and converts it for you.
Worked Examples in Terms of π
| Radius × height | Exact | Volume |
|---|---|---|
| 1 × 1 | 1π | 3.14 |
| 2 × 10 | 40π | 125.66 |
| 3 × 5 | 45π | 141.37 |
| 4 × 6 | 96π | 301.59 |
| 5 × 10 | 250π | 785.4 |
| 10 × 20 | 2000π | 6,283.19 |
Using 3.14 for π shifts the last digits: 250 × 3.14 is 785, against 785.40 with full π. Keep π exact until the last step when a teacher wants two decimal places.
Gallons per Foot of a Round Tank
| Diameter | Gallons per foot | Gallons per inch |
|---|---|---|
| 1 ft | 5.9 | 0.49 |
| 2 ft | 23.5 | 1.96 |
| 3 ft | 52.9 | 4.41 |
| 4 ft | 94 | 7.83 |
| 5 ft | 146.9 | 12.24 |
| 6 ft | 211.5 | 17.63 |
| 8 ft | 376 | 31.33 |
| 10 ft | 587.5 | 48.96 |
| 12 ft | 846 | 70.5 |
For a standing tank, multiply by the depth of liquid. A 6 ft wide tank with 4 ft of water holds 211.5 × 4 = 846 gallons. The figures use 1 cubic foot = 1,728 ÷ 231 = 7.4805 U.S. gallons.
Horizontal Tank Fill Chart
| Depth (% of diameter) | Volume (% full) |
|---|---|
| 5% | 1.9% |
| 10% | 5.2% |
| 20% | 14.2% |
| 25% | 19.6% |
| 30% | 25.2% |
| 40% | 37.4% |
| 50% | 50% |
| 60% | 62.6% |
| 70% | 74.8% |
| 75% | 80.4% |
| 80% | 85.8% |
| 90% | 94.8% |
| 95% | 98.1% |
A round tank lying on its side is narrow at the bottom and top and widest in the middle, so the first and last few inches of depth hold the least. Multiply the percent by the full tank’s volume. This is for straight cylinders with flat ends: rounded or dished ends hold more.
What Other Cylinder Calculators Get Wrong
- An arithmetic slip. One popular page works radius 2 in by height 10 in by hand as 3.14159 × 4 = 12.574 and gets 125.74 cubic inches. 3.14159 × 4 is 12.566, so the answer is 125.66, which its own calculator shows.
- Radius or diameter? The same page labels its input “Base radius” but tells you it takes the diameter. Mixing them up changes the answer 4 times over. Here you choose diameter, radius or circumference.
- No gallons or liters. Only one of the top pages converts to gallons. Most stop at cubic units, which is no help when you’re filling a tank.
- No part-full tanks. None of the top cylinder calculators work out the liquid in a cylinder lying on its side.
- π rounded to 3.14 in worked examples. One page gets 62.8 m³ for a 4 m wide, 5 m tall tank. With full π it’s 62.83 m³.
Frequently Asked Questions
What is the formula for the volume of a cylinder?
V = πr²h. Square the radius, multiply by π, then by the height. A cylinder with a 3 m radius and 5 m height holds π × 9 × 5 = 45π = 141.37 m³. With the diameter instead, use V = π ÷ 4 × d² × h, which is the same thing.
How do I find the volume of a cylinder with the diameter?
Halve the diameter to get the radius first, then use πr²h. A 12 inch wide, 24 inch tall cylinder has a 6 inch radius, so V = π × 36 × 24 = 864π = 2,714.3 cubic inches. Putting the 12 into πr²h without halving gives 4 times too much.
How many gallons are in a cylinder?
Work out the volume in cubic inches and divide by 231, because a U.S. gallon is exactly 231 cubic inches. In cubic feet, multiply by 7.4805. The 12 by 24 inch cylinder above is 2,714.3 ÷ 231 = 11.75 gallons. For liters, convert to cubic centimeters and divide by 1,000.
How do I find the volume of a cylinder in terms of π?
Multiply r² × h and keep π as a symbol. Radius 5, height 10 gives 25 × 10 = 250π. The calculator shows this exact form under the volume, so you can match a textbook answer and then the decimal, 785.4.
What is the surface area of a cylinder?
Total surface area is 2πr² + 2πrh, or 2πr(r + h). The 2πr² part is the two round ends and 2πrh is the side, the area a label would cover. A cylinder with a 3 m radius and 5 m height has 28.27 m² per end, a 94.25 m² side and 150.8 m² in all.
How do I work out the liquid in a horizontal cylinder tank?
Lying flat, the liquid fills a circular segment, so the volume isn't a straight percentage of the depth. A tank filled to a quarter of its diameter is only 19.6% full, and at three quarters it's 80.4% full. Choose the part-full mode, pick Lying flat and enter the depth from a dipstick.
Does a slanted cylinder have the same volume?
Yes, as long as h is the straight-up height between the two ends, not the length of the slanted side. Sliding the layers of a stack of coins sideways doesn't change how much metal there is. This is called Cavalieri's principle.
How do I find the height or diameter for a certain volume?
Turn the formula around. Height = V ÷ (πr²), and radius = √(V ÷ (πh)). To hold 50 gallons (11,550 cubic inches) in a 12 inch wide cylinder, you need 11,550 ÷ (π × 36) = 102.1 inches of height. Use the find height or find diameter modes.
Sources
- NIST, The U.S. gallon is 231 cubic inches
- NIST SP 811 Appendix B.8, Conversion factors (inch, gallon, liter, cubic foot)
- OpenStax Prealgebra 2e, 9.6 Solve Geometry Applications, Volume and Surface Area (cylinder V = πr²h, S = 2πr² + 2πrh)
- Wolfram MathWorld, Cylinder (volume πr²h, lateral area 2πrh, right and oblique cylinders)
- Wolfram MathWorld, Annulus (area π(R² − r²) between two circles, the cross-section of a hollow cylinder)