What Is the Cylinder Volume Formula?
The National Institute of Standards and Technology (NIST) gives the volume of a cylinder as 0.7854 × diameter × diameter × height. That is the area of the circular base, which NIST gives as 0.7854 × diameter × diameter, multiplied by the height. Using the radius, the calculator uses π × radius × radius × height; NIST's diameter formula uses the rounded coefficient 0.7854. For a radius of 6 inches and a height of 12 inches, the calculator shows a volume of 1,357.168 cubic inches.
By FiftyCalc · Updated November 10, 2026, first published November 10, 2026
Open the Cylinder Volume Calculator
How it is calculated
Use the same unit throughout: NIST advises expressing all dimensions in the same unit, so that a computed volume is in the cube of that unit. Inches give cubic inches, and feet give cubic feet.
Find the radius: the diameter is any straight line through the center of the circle from edge to edge, and it is twice the radius. If you measured a diameter of 12 inches, the radius is 12 ÷ 2 = 6 inches.
Compute the base area, then multiply by the height: for a radius of 6 inches the calculator shows a base area of 113.0973 square inches. NIST's coefficient 0.7854 is rounded, so NIST's formula gives 0.7854 × 12 × 12 × 12 = 1,357.1712 cubic inches for the same cylinder, close to the calculator's 1,357.168.
The calculator also gives the side surface area and the total surface area, which counts both circular ends. Volume is the amount of space occupied inside a three-dimensional shape, measured in cubic units.
Worked example
Assumptions: a cylindrical container with a radius of 6 inches and a height of 12 inches, measured in inches. The diameter is 6 × 2 = 12 inches, and NIST's formula gives 0.7854 × 12 × 12 × 12 = 1,357.1712 cubic inches. With π, the calculator shows 1,357.168 cubic inches. NIST's tables give 1 U.S. gallon as exactly 231 cubic inches, so dividing a volume in cubic inches by 231 gives U.S. gallons.
| Radius r (any unit) | 6 |
|---|---|
| Height h (same unit) | 12 |
| Volume πr²h (cubic units) | 1,357.168 |
|---|---|
| Area of one base πr² (square units) | 113.0973 |
| Lateral area 2πrh (square units) | 452.3893 |
Figures computed by this site's calculator from the inputs above. Run your own numbers: Cylinder Volume Calculator
Frequently asked questions
Do I use the radius or the diameter?
Either: NIST's formula uses the diameter with the coefficient 0.7854, and the calculator asks for the radius; the diameter is twice the radius.
What is the volume of a cylinder with a radius of 3 and a height of 5?
With a radius of 3 and a height of 5, the calculator shows 141.3717 cubic units, in the cube of whatever unit the radius and height were measured in.
Sources
- Circumference, Area and Volume National Institute of Standards and Technology (NIST), Office of Weights and Measures checked on 2026-11-09
- NIST Handbook 44 (2026), Appendix C, General Tables of Units of Measurement National Institute of Standards and Technology (NIST) checked on 2026-11-01
General information drawn from the official sources above, not tax or legal advice. Amounts change from year to year: check the source for your tax year.