Cylinder Volume Calculator

Enter the radius r of the circular base and the height h. The calculator computes the volume of a right circular cylinder with V = πr²h. At r = 5 and h = 10 the result is about 785.40; at r = 3 and h = 8 about 226.19. The form takes radius, not diameter — for diameter 10 divide by 2 first.

Inputs

Result

Enter radius r and height h greater than zero.

Domain: r > 0 and h > 0 in the same length unit. This is not lateral area 2πrh or volume from circumference C²h/(4π). The result uses two decimal places.

How it works

How V is computed at r = 5 and h = 10
r5
r²25
πr²78.54
h10
V785.40

A right circular cylinder has two parallel circular bases of equal radius r and a lateral surface perpendicular to those bases. The classical volume is V = πr²h: the disk area πr² times the height h measured perpendicularly between the bases. This calculator takes radius r and height h directly — without going through circumference. The constant π comes from circle geometry; the calculator uses π, not the fraction 22/7.

The domain is simple: r > 0 and h > 0. Zero or a negative value does not describe a solid cylinder with positive volume here — the calculator shows a message instead of inventing a result. An empty field leaves the result blank. Commas and periods in the fields are equivalent. The unit switch only changes unit labels on the result (cm/cm³ or in/in³); it does not multiply or divide the numbers you enter.

The calculator uses the numbers you enter: radius r and height h. The result panel shows r, r², h, base area πr², and volume V. At r = 5 and h = 10 you get π·25·10 = 250π ≈ 785.40. The unit cylinder r = 1, h = 1 gives π ≈ 3.14. A short wide drum r = 10 and h = 2 gives 200π ≈ 628.32.

If a worksheet gives diameter instead of radius, divide by two before you enter r. Diameter 10 means r = 5; entering 10 as r with h = 10 overstates volume by four because r is squared. A cone with the same r and h holds one third of this volume. A sphere at a lone r does not use h. Lateral area 2πrh and volume from circumference C²h/(4π) live on separate pages.

Historically, Archimedes in On the Sphere and Cylinder studied volume ratios of a sphere and a cylinder circumscribed about that sphere (the sphere volume is 2/3 of that cylinder). That is not the formula behind the form fields — it is context for solids of revolution. The formula V = πr²h belongs to standard solid geometry in school and university texts (including MathWorld — Cylinder and OpenStax).

A pancake r = 10 and h = 2 is a legal cylinder: a large circle, a small height. A slim pipe r = 2 and h = 10 is too. The formula does not need r and h to look alike. If you only want circle area, stay on the circle page; here height always goes in.

Formula

V = π × r² × h, equivalently V = πr²h.

Symbol r is the radius of the circular base (first field). Symbol h is the cylinder height. The constant π comes from circle geometry. Domain: r > 0, h > 0.

Mathematical model: right circular cylinder volume. Sources: standard solid geometry; MathWorld — Cylinder; OpenStax; Archimedes context in On the Sphere and Cylinder.

Step-by-step derivation

Definition

The volume of a right circular cylinder is V = πr²h, where r is the radius of the circular base and h is the height measured perpendicularly between the bases. This calculator takes r and h directly. Units must stay consistent: if r and h are in inches, the result is in cubic inches.

A right circular cylinder has circular bases of equal radius and generators perpendicular to the base planes. The formula V = πr²h is the volume of the solid of revolution obtained by rotating a rectangle about one side. It is an exact geometric formula under the ideal-circle, constant-height assumptions — not an engineering approximation.

Historical and conceptual context

Cylinder volume is among the oldest solid-geometry results. In On the Sphere and Cylinder Archimedes proved, among other facts, that a sphere has two-thirds the volume of the circumscribed cylinder and two-thirds of that cylinder’s total surface; those ratios already assume V_cylinder = πr²h. Euclid’s Elements (Book XII) treats cylinders and cones by exhaustion, comparing solids of equal height.

Conceptually the calculator does not infer material or pressure — it computes only the geometric interior volume of an ideal cylinder. If the cross-section is not a circle or the height is not constant, πr²h no longer applies. With diameter d = 2r the equivalent form is V = (πd²/4)h.

Formal properties

Input domain: r > 0, h > 0 (and finite floating-point numbers in practice). For r ≤ 0 or h ≤ 0 the geometric volume is not positive as a solid. Homogeneity: if every length is scaled by λ > 0, then r′ = λr, h′ = λh and V′ = λ³V, matching the dimension of volume.

At fixed r, V(h) = πr²·h is linear; at fixed h, V(r) grows like r². Relative sensitivity: ∂V/V = 2 ∂r/r + ∂h/h, so a relative radius error enters with weight 2. Base area A = πr², so V = A·h — the product of base area and height.

Full derivation from base area

Step 1. The area of a circle of radius r is A = πr². The constant π is the ratio of circumference to diameter.

Step 2. A right cylinder with circular base and height h has volume equal to base area times height: V = A·h = πr²h. This follows from Cavalieri’s principle: every cross-section parallel to the base has constant area A.

Step 3 (consistency with diameter). With d = 2r you get V = (πd²/4)h = πr²h. With circumference C = 2πr the same volume is C²h/(4π) — a separate page when you know C instead of r.

Step 4 (cone). A cone with the same r and h has volume (1/3)πr²h, one third of the cylinder. That is not this form’s output — only a geometric comparison.

Special cases

When r = 1 and h = 1, V = π ≈ 3.14 (the unit cylinder). When r = 5 and h = 10, V = 250π ≈ 785.40. When r = h = 4, V = 64π ≈ 201.06. The limit h → 0 yields V → 0 (a flattened cylinder). The limit r → 0 at fixed h also yields V → 0.

A square-cross-section prism needs a different formula (area = a², not πr²). A pipe of wall thickness δ needs a hollow-cylinder model: the difference of outer and inner volumes, not πr²h with the outer radius alone.

Numerical and computational notes

The calculator uses π in floating-point arithmetic and rounds the result to two decimal places, matching the worked examples on the page. Very large r²h may overflow the floating-point range; typical user dimensions are safe. The order π·r·r·h is algebraically equivalent to (πr²)h.

The code evaluates V = π · r · r · h. At r = 5 and h = 10: r² = 25, πr² ≈ 78.54, V = 250π ≈ 785.40. At r = 3 and h = 4: V = 36π ≈ 113.10.

Commas and periods in the fields are equivalent. The calculator does not model a cone, an oblique cylinder, or finite wall thickness. For an oblique cylinder the volume is still πr²h with perpendicular height (Cavalieri), but the slant is not h — this form assumes a right cylinder.

Related ideas and sources

Related models on this site: circle area (πr²), cylinder volume from circumference (C²h/(4π)), cylinder lateral area (2πrh), cone volume ((1/3)πr²h), and sphere volume ((4/3)πr³). This formula computes only the volume of a solid right circular cylinder from r and h.

A cone with the same r and h has volume (1/3)πr²h — one third of this cylinder; a separate calculator applies the factor 1/3. Lateral area 2πrh and total surface area are different questions. Do not confuse height h with the slant length along the lateral surface.

Sources: Archimedes, On the Sphere and Cylinder (Heath); Euclid, Elements, Book XII; NIST DLMF (π); MathWorld — Cylinder; OpenStax — volume of cylinders; Wikipedia — Cylinder (geometry). The calculator is an educational tool and does not replace engineering standards for pressure vessels.

How to use

  1. Enter the base radius r, for example 5, in the Radius r field.
  2. Enter height h, for example 10, in the same length unit.
  3. Click Calculate or wait for the live result. At r = 5 and h = 10 the volume is 785.40.
  4. Check the panel: r, r², h, base area πr², and volume V. The cylinder diagram refreshes with the inputs.
  5. If you know diameter, divide by two before entering r. Volume from circumference is on the neighboring page.

Symbol glossary

Cylinder volume: V = πr²h. At r = 5 and h = 10 the result is 785.40.

r
Radius of the circular base in the first field. Must be greater than zero. At r = 5 and h = 10 the volume is 785.40.
h
Cylinder height in the second field. Same length unit as r. h > 0.
r²
Square of the radius. At r = 5 it is 25. It enters the base area πr².
πr²
Area of the circular base. At r = 5 it is about 78.54. Volume is that area times h.
V
Volume πr²h. At r = 5 and h = 10 it is 785.40 to two places.
π
Circle constant from π in the browser. In the formula it multiplies r²h.

Examples

Example 1

  • Radius: 5
  • Height: 10

785.40

What volume at r = 5 and h = 10? ≈ 785.40.

Example 2

  • Radius: 1
  • Height: 1

3.14

What volume at r = 1 and h = 1? ≈ 3.14 — same as circle area at r = 1.

Example 3

  • Radius: 3
  • Height: 8

226.19

What volume at r = 3 and h = 8? ≈ 226.19.

Example 4

  • Radius: 2
  • Height: 10

125.66

What volume at r = 2 and h = 10? ≈ 125.66.

Example 5

  • Radius: 7
  • Height: 4

615.75

What volume at r = 7 and h = 4? ≈ 615.75.

Example 6

  • Radius: 4
  • Height: 4

201.06

What volume at r = 4 and h = 4? ≈ 201.06.

Example 7

  • Radius: 10
  • Height: 2

628.32

What volume at r = 10 and h = 2? ≈ 628.32.

Example 8

  • Radius: 6
  • Height: 12

1357.17

What volume at r = 6 and h = 12? ≈ 1357.17.

Related calculators

Frequently asked questions

What is the domain for r and h?

Radius r and height h must both be greater than zero. The calculator rejects zero and negative values — they do not define a solid cylinder with positive volume in this model. An empty field leaves the result blank, not zero.

What is the volume at r = 5 and h = 10?

The volume is 785.40. That is 250π rounded to two decimal places: π·5²·10 = 250π. Base area at that r is 78.54; times height 10 gives the volume. The same figure appears in example 1 and in the press-seed paragraph.

Where does V = πr²h come from?

From the geometry of a right circular cylinder: volume is the area of the circular base times height. Circle area is πr², so V = πr²h. The calculator uses π, not the fraction 22/7, and shows two decimal places.

How is volume different from circle area?

Circle area is πr² (an area unit). Volume multiplies that area by height h. At r = 5 the area is 78.54; at h = 10 the volume is 785.40.

Why does the screen show 785.40 instead of 250π?

Arithmetically the result is 250π. The page rounds to two decimals. The formula still uses π, not 22/7.

Can I enter diameter instead of radius?

Divide the diameter by two first. Diameter 10 means r = 5. Entering 10 as r with h = 10 overstates volume by four because r is squared.

Which units does the result use?

Radius and height must share one length unit. With Metric the labels are cm and cm³; with US they are in and in³. The header switch changes labels only — it does not convert the numbers you entered.

Do the currency and unit settings in the page header affect the result?

No. The currency and unit settings in the page header do not affect this result. Only r, h and π matter.

How does a cone compare to this cylinder?

A cone with the same r and h holds one third of the volume. At r = 5 and h = 10 the cylinder is 785.40 and the cone is 261.80. That is a separate cone volume page.

Is this the label around a can?

This is volume in cm³ or in³. The wrap-around label is lateral area 2πrh on the cylinder lateral area page. Volume from base circumference is on a separate C²h/(4π) page.

Does a comma in 5.5 work?

Yes. 5.5 and 5,5 are the same radius. Spaces inside a number are ignored.

Why is Archimedes listed in the sources?

In On the Sphere and Cylinder Archimedes compared the volumes of a sphere and a cylinder circumscribed about that sphere. This calculator only computes cylinder volume V = πr²h — the citation is historical context, not a separate form formula.

How do I calculate cylinder volume with V = πr²h?

Square the radius, multiply by π (base area), then by height. At r = 5 and h = 10: π·25·10 = 250π ≈ 785.40. At r = 3 and h = 8: π·9·8 ≈ 226.19.

How do I find cylinder volume from diameter?

First r = d / 2, then V = πr²h (or V = πd²h / 4). Diameter 10 and h = 10 mean r = 5 and volume ≈ 785.40. On this page enter r already — do not put d in the radius field.

How do I convert cylinder volume to litres?

When r and h are in centimetres, the result is in cm³: divide by 1000, because 1 L = 1000 cm³. Example: 785.40 cm³ ≈ 0.785 L. This page reports cubic units from the label — it does not convert to litres separately.

Why does doubling the radius at the same height multiply the volume by four?

Because the formula uses r². At r = 5 and h = 10 volume ≈ 785.40; at r = 10 and h = 10 ≈ 3141.59 — about four times larger. Height scales linearly: doubling h doubles V.

How does cylinder volume compare to a cone?

With the same r and h a cone holds one third of the cylinder’s volume. At r = 5 and h = 10 the cylinder is ≈ 785.40 and the cone ≈ 261.80 — a separate cone volume page.

At r = 5 and h = 10 the volume is 785.40 (250π). Base area πr² ≈ 78.54 times height 10. Volume from circumference is on the circumference cylinder page.

Knowledge sources

The formula, derivation, and historical context below come from recognized geometry sources.

Page Updated November 2, 2026.