Volume Calculator
Calculate volume instantly in your browser.
Loading calculator…
What this tool does
Calculate volume instantly in your browser. All measurements in the same unit give volume in that unit cubed. Heights are perpendicular (vertical) heights, not slant heights.
How to use the Volume Calculator
- Enter or select shape.
- Enter or select side (cube).
- Enter or select length (cuboid).
- Enter or select width (cuboid).
- Enter or select height (cuboid).
- Enter or select radius (sphere / hemisphere).
- Enter or select radius (cylinder).
- Enter or select height (cylinder).
- Enter or select radius (cone).
- Enter or select height (cone).
- Enter or select base side (square pyramid).
- Enter or select height (square pyramid).
- Enter or select top radius (frustum).
- Enter or select bottom radius (frustum).
- Enter or select height (frustum).
- Read the calculated result; change any measurement to compare alternatives.
Formula
Cube s³; cuboid l×w×h; sphere (4/3)πr³; cylinder πr²h; cone (1/3)πr²h; square pyramid (1/3)s²h; hemisphere (2/3)πr³; frustum (1/3)πh(R² + Rr + r²).
- shape
- Shape
- vSide
- Side (cube)
- vLength
- Length (cuboid)
- vWidth
- Width (cuboid)
- vCubH
- Height (cuboid)
- vRadius
- Radius (sphere / hemisphere)
- vCylR
- Radius (cylinder)
- vCylH
- Height (cylinder)
- vConeR
- Radius (cone)
- vConeH
- Height (cone)
- vPyrBase
- Base side (square pyramid)
- vPyrH
- Height (square pyramid)
- vTopR
- Top radius (frustum)
- vBotR
- Bottom radius (frustum)
- vFrustumH
- Height (frustum)
All measurements in the same unit give volume in that unit cubed. Heights are perpendicular (vertical) heights, not slant heights.
Worked example
For volume calculator, the following measurements illustrate the exact method: Shape: cylinder; Side (cube): 5; Length (cuboid): 10; Width (cuboid): 6; Height (cuboid): 4; Radius (sphere / hemisphere): 5; Radius (cylinder): 4; Height (cylinder): 10; Radius (cone): 4; Height (cone): 9; Base side (square pyramid): 6; Height (square pyramid): 8; Top radius (frustum): 3; Bottom radius (frustum): 5; Height (frustum): 7.
Inputs
- ShapeCylinder
- Side (cube)5
- Length (cuboid)10
- Width (cuboid)6
- Height (cuboid)4
- Radius (sphere / hemisphere)5
- Radius (cylinder)4
- Height (cylinder)10
- Radius (cone)4
- Height (cone)9
- Base side (square pyramid)6
- Height (square pyramid)8
- Top radius (frustum)3
- Bottom radius (frustum)5
- Height (frustum)7
Result
- Volume502.65
- Shapecylinder
Results explained
- Volume
- Volume from the formula above. All measurements in the same unit give volume in that unit cubed. Heights are perpendicular (vertical) heights, not slant heights.
- Shape
- Shape from the formula above. All measurements in the same unit give volume in that unit cubed. Heights are perpendicular (vertical) heights, not slant heights.
Frequently asked questions
Cube s³; cuboid l×w×h; sphere (4/3)πr³; cylinder πr²h; cone (1/3)πr²h; square pyramid (1/3)s²h; hemisphere (2/3)πr³; frustum (1/3)πh(R² + Rr + r²).
All measurements in the same unit give volume in that unit cubed. Heights are perpendicular (vertical) heights, not slant heights.
Where mathematically meaningful, yes. Fields specify permitted ranges and undefined operations display an error.
Exact integer calculations use safe integers; decimal calculations use browser floating point, so small rounding differences can occur.
All values remain in your browser and are never uploaded.