Skip to content
UniKit

Cylinder volume

Cylinder volume V = πr²h: enter the radius and height to get volume plus base, lateral and total area in one pass; values are rounded to 6 decimals and non-positive input is rejected.

Runs in your browserEvery computation happens in your browser — your data never leaves this device.

Radius r

Result

One quantity per line, ready to copy.

Enter a radius to calculate

What this tool does

  • Check the cylinder volume from a drawing and get the surface area needed for paint or plating.
  • Trial different radii and heights to compare volume and material use.
  • Verify the formulas: base πr², lateral 2πrh, total 2πr² + 2πrh.
  • Draws the cylinder right on the page and labels the dimensions — the radius r and height h are marked on the figure, which changes as you type.

Example

Input

2

Output

Cylinder volume (radius 2, height 1): 12.566371
Base area πr²: 12.566371
Lateral area 2πrh: 12.566371
Total area 2πr² + 2πrh: 37.699112
Volume πr²h: 12.566371
Length unit u, area u², volume u³

At radius 1 and height 1 the output matches the canonical values (π ≈ 3.141593, 2π ≈ 6.283185, 4π ≈ 12.566371).

Frequently asked questions

Which units are used?

Any length unit works as long as the radius and height share it; areas come out in square units and volumes in cubic units. The tool does not convert units, so 1 m and 100 cm are different numbers.

Why only 6 decimals?

Powers and π produce long floating point tails; rounding to 6 decimals keeps the useful precision without noise like 3.141592653589793.

What if the radius is 0?

It reports an error instead of returning 0. A zero radius collapses the cylinder into a line — the formula still evaluates but the answer is meaningless, so non-positive input is rejected.

Keywords:Cylinder volumecylindergeometry

Related tools