Volume Calculator: Cube, Prism, Cylinder, Sphere, Cone | Calcrio
Home › Calculators › Volume Calculator
Free • Browser-Based • No Sign-In

Volume Calculator — Cube, Prism, Cylinder, Sphere & Cone

Find the volume of a cube, rectangular prism, cylinder, sphere or cone — with the surface area alongside it, and every step shown. The classic surprise: a sphere with radius 3 has volume 113.10 and surface area 113.10 — the same number — because volume grows as r³ while surface area grows as r², and the two cross exactly at r = 3.

Method: V = s³ for a cube, V = l × w × h for a rectangular prism, V = πr²h for a cylinder, V = (4/3)πr³ for a sphere, V = (1/3)πr²h for a cone. Results depend only on the values you enter.
Math Tool

Volume Calculator: Cube, Rectangular Prism, Cylinder, Sphere & Cone

Pick the shape that matches your problem. Calculations run in your browser.

All sides of a cube are equal — e.g. 4.
Tap a preset to load an example.
e.g. 3.
e.g. 4.
e.g. 5.
Tap a preset to load an example.
Half the diameter — e.g. 2.
e.g. 5.
Tap a preset to load an example.
Half the diameter — e.g. 3.
Tap a preset to load an example.
Radius of the circular base — e.g. 3.
Vertical height, not slant height — e.g. 4.
Tap a preset to load an example.
—
—
—
—
—
—
—
—
—
—
—
—
Enter values and press Calculate.
AI Citation Quick Answer

What Is a Volume Calculator?

Quick Answer: Volume is the space inside a 3D shape, measured in cubic units. A volume calculator finds it from measurements — side, radius or height. A sphere of radius 3 has volume (4/3)π × 27 = 36π ≈ 113.10, and its surface area is the same, 113.10. A cylinder of radius 2 and height 5 has volume 20π ≈ 62.83.

A volume calculator answers one question for five shapes: how much space is inside it? Give it a cube's side and it cubes it — side 4 gives 4³ = 64. Give it a box's length, width and height and it multiplies them — 3 × 4 × 5 = 60. Give it a cylinder's radius and height and it multiplies the base area by the height — r = 2, h = 5 gives π × 4 × 5 = 62.83. Give it a sphere's radius and it uses (4/3)πr³ — r = 3 gives 113.10, exactly the same number as its surface area. Give it a cone's radius and height and it takes one third of the matching cylinder — r = 3, h = 4 gives 37.70. Every answer comes with the surface area alongside it and the step-by-step working, so you can check it by hand.

How to Use the Volume Calculator

The tool has five modes so you can start with whatever your problem gives you.

CubeEnter the side length — e.g. 4 → V = 64, SA = 96.
Rectangular PrismEnter length, width and height — e.g. 3 × 4 × 5 → V = 60, SA = 94.
CylinderEnter radius and height — e.g. r = 2, h = 5 → V = 62.83, SA = 87.96.
SphereEnter the radius — e.g. r = 3 → V = 113.10, SA = 113.10.
ConeEnter radius and vertical height — e.g. r = 3, h = 4 → V = 37.70, SA = 75.40.
  1. Choose a shape that matches your problem (or tap a preset to load a worked example).
  2. Enter your measurements — side, radius, length, width or height, all in the same unit.
  3. Select Calculate to generate the result cards.
  4. Read the note under the cards for the step-by-step working and a check you can verify by hand.

The built-in check re-derives the answer a second way — the surface area minus its parts, the volume-to-surface-area ratio, or the exact multiple of π — so a wrong keystroke shows up immediately. Keep all measurements in the same unit: mixing centimetres and metres gives a wrong answer with the right-looking digits.

What Is Volume?

Volume is the amount of space inside a three-dimensional shape, measured in cubic units — cm³, m³, in³ or litres. A cube of side 4 holds 4 × 4 × 4 = 64 unit cubes. Volume is different from surface area, which measures the outside skin of a shape in square units — the same cube has surface area 6 × 4² = 96 square units. The two numbers answer different questions: volume asks "how much fits inside?", surface area asks "how much wrapping covers it?"

Cube: V = s³   |   Prism: V = l × w × h   |   Cylinder: V = πr²h
Sphere: V = (4/3)πr³   |   Cone: V = (1/3)πr²h   |   Slant height: l = √(r² + h²)
ShapeVolume formulaSurface area formulaExample
Cube (side s)V = s³SA = 6s²s = 4 → V = 64, SA = 96
Rectangular prism (l × w × h)V = l × w × hSA = 2(lw + lh + wh)3 × 4 × 5 → V = 60, SA = 94
Cylinder (r, h)V = πr²hSA = 2πrh + 2πr²r = 2, h = 5 → V = 62.83, SA = 87.96
Sphere (r)V = (4/3)πr³SA = 4πr²r = 3 → V = 113.10, SA = 113.10
Cone (r, h)V = (1/3)πr²hSA = πrl + πr², l = √(r² + h²)r = 3, h = 4 → V = 37.70, SA = 75.40
Key idea: Every volume formula is a base area times a height, in one form or another. A prism multiplies its rectangular base (l × w) by its height. A cylinder multiplies its circular base (πr²) by its height. A cone takes one third of that cylinder. A sphere is the odd one out — its (4/3)πr³ has no flat base — which is why its formula is the one students mix up with its surface area, 4πr².

Volume vs Surface Area — Two Different Questions

Volume and surface area measure different things, in different units, and they scale differently. Double the radius of a sphere and its surface area grows 4 times (r²) while its volume grows 8 times (r³). That is why the two numbers cross: at small radii the surface area number is bigger, at large radii the volume number is bigger, and at exactly r = 3 they are equal — both 36π ≈ 113.10. The units never match, though: volume is 113.10 cubic units and surface area is 113.10 square units. Equal numbers, different meanings.

Sphere radiusVolume (4/3)πr³Surface area 4πr²SA ÷ V (= 3/r)
r = 14.1912.573.00
r = 233.5150.271.50
r = 3113.10113.101.00
r = 4268.08201.060.75
r = 5523.60314.160.60
r = 6904.78452.390.50
r = 104,188.791,256.640.30
Key idea: The ratio SA ÷ V for a sphere is always 3/r. At r = 3 the ratio is exactly 1, so the numbers match. Below r = 3 the surface area number is bigger; above r = 3 the volume number takes over — and the gap keeps growing. That is the same reason small objects cool down and dissolve faster than big ones: more surface for every unit of volume.

Units — Cubic, Square, and Litres

Volume units are cubic: cm³, m³, in³. Surface area units are square: cm², m². And 1 litre = 1,000 cm³, so a volume in cm³ divides by 1,000 to give litres. A box 30 × 20 × 15 cm has volume 30 × 20 × 15 = 9,000 cm³ = 9 litres. A cylinder with r = 2 cm and h = 5 cm holds 62.83 cm³ ≈ 0.06 litres, while a cylinder with r = 5 cm and h = 10 cm holds 785.40 cm³ ≈ 0.79 litres. If your answer comes out in cm², you computed an area, not a volume — check the formula, not the arithmetic.

Volume Calculator Worked Examples

Every row below is computed exactly — hand-verified in Python — so you can check each one by hand.

ShapeWorkingVolumeSurface area
Cube, side 2V = 2³; SA = 6 × 2²824
Cube, side 3V = 3³; SA = 6 × 3²2754
Cube, side 4V = 4³; SA = 6 × 4²6496
Cube, side 5V = 5³; SA = 6 × 5²125150
Cube, side 10V = 10³; SA = 6 × 10²1,000600
Prism 2 × 3 × 4V = 2 × 3 × 4; SA = 2(6 + 8 + 12)2452
Prism 3 × 4 × 5V = 3 × 4 × 5; SA = 2(12 + 15 + 20)6094
Prism 5 × 5 × 10V = 5 × 5 × 10; SA = 2(25 + 50 + 50)250250
Prism 6 × 8 × 10V = 6 × 8 × 10; SA = 2(48 + 60 + 80)480376
Prism 10 × 20 × 30V = 10 × 20 × 30; SA = 2(200 + 300 + 600)6,0002,200
Cylinder r = 1, h = 10V = π × 1 × 10; SA = 2π × 10 + 2π31.4269.12
Cylinder r = 2, h = 5V = π × 4 × 5 = 20π; SA = 20π + 8π = 28π62.8387.96
Cylinder r = 3, h = 4V = π × 9 × 4 = 36π; SA = 24π + 18π = 42π113.10131.95
Cylinder r = 3, h = 7V = π × 9 × 7 = 63π; SA = 42π + 18π = 60π197.92188.50
Cylinder r = 5, h = 10V = π × 25 × 10 = 250π; SA = 100π + 50π = 150π785.40471.24
Sphere r = 1V = (4/3)π; SA = 4π4.1912.57
Sphere r = 2V = (4/3)π × 8; SA = 4π × 433.5150.27
Sphere r = 3V = (4/3)π × 27 = 36π; SA = 4π × 9 = 36π113.10113.10
Sphere r = 4V = (4/3)π × 64; SA = 4π × 16268.08201.06
Sphere r = 5V = (4/3)π × 125; SA = 4π × 25523.60314.16
Sphere r = 6V = (4/3)π × 216; SA = 4π × 36904.78452.39
Sphere r = 10V = (4/3)π × 1,000; SA = 4π × 1004,188.791,256.64
Cone r = 2, h = 3 (slant 3.61)V = (1/3)π × 4 × 3 = 4π; SA = π × 2 × 3.61 + 4π12.5735.22
Cone r = 3, h = 4 (slant 5)V = (1/3)π × 9 × 4 = 12π; SA = 15π + 9π = 24π37.7075.40
Cone r = 4, h = 3 (slant 5)V = (1/3)π × 16 × 3 = 16π; SA = 20π + 16π = 36π50.27113.10
Cone r = 5, h = 12 (slant 13)V = (1/3)π × 25 × 12 = 100π; SA = 65π + 25π = 90π314.16282.74

Sphere Volume vs Surface Area: Why They Are Equal at r = 3

The two sphere formulas look almost the same, and that is exactly the trap. Volume is V = (4/3)πr³. Surface area is SA = 4πr². The only differences are the 4/3 and the power — r³ against r² — but those two differences decide everything. Divide one by the other and the π cancels: SA ÷ V = 4πr² ÷ (4/3)πr³ = 3/r. At r = 3, 3/r = 1, so the two numbers are equal: V = (4/3)π × 27 = 36π ≈ 113.10 and SA = 4π × 9 = 36π ≈ 113.10.

At any other radius they differ, and the direction flips at r = 3. Below it, the surface area number is bigger: r = 2 gives V = 33.51 against SA = 50.27. Above it, the volume number wins and pulls away fast: r = 5 gives V = 523.60 against SA = 314.16, and r = 10 gives V = 4,188.79 against SA = 1,256.64. The full story, with the 3/r rule and worked examples, is in Sphere Volume vs Surface Area: Why They Are Equal at r = 3.

The confusion, named: students write 4πr² when they need (4/3)πr³, or the other way round — the two formulas share the 4, the π and the r, so memory swaps them. The fix is the power: volume is always the r³ one, because volume fills three dimensions; surface area is always the r² one, because a surface covers two. If your sphere answer has r² in it, you found an area, not a volume.

A Real-World Example: The Box That Holds 9 Litres

A shipping box measures 30 × 20 × 15 cm. Its volume is 30 × 20 × 15 = 9,000 cm³, and since 1 litre = 1,000 cm³, that is 9 litres — it holds 9 one-litre bottles' worth of space. Its surface area is 2(600 + 450 + 300) = 2,700 cm² of cardboard. Volume tells you what fits inside; surface area tells you how much material the box itself needs. Confusing the two would mean ordering 9,000 of something when you need 2,700 — or the other way round.

How to Calculate Volume Step by Step

Follow this recipe for the classic example — the volume of a sphere with radius 3.

V = (4/3)πr³ = (4/3)π × 27 = 36π ≈ 113.10
  1. Name the shape and the formula: a sphere, so V = (4/3)πr³. The radius is r = 3.
  2. Cube the radius: r³ = 3³ = 3 × 3 × 3 = 27.
  3. Multiply by 4/3: (4/3) × 27 = 4 × 9 = 36, so V = 36π.
  4. Multiply by π: 36 × 3.14159… = 113.10 (2 decimal places).
  5. Check with the surface area: SA = 4πr² = 4π × 9 = 36π ≈ 113.10 — the same number, as it must be at r = 3. If your two answers differ at r = 3, one formula is wrong.
  6. Write the units: cubic units (cm³ if r was in cm). Never cm² — that is an area.
The shortcut habit: whenever a sphere problem gives r = 3, expect 113.10 twice — once as volume, once as surface area. And whenever a cylinder problem gives r = 2 and h = 5, expect 20π ≈ 62.83 for volume and 28π ≈ 87.96 for surface area. Knowing the landmark answers makes a wrong keystroke obvious.

Common Mistakes With Volume

1. Mixing up 4πr² and (4/3)πr³ — the sphere swap

Volume is (4/3)πr³ and surface area is 4πr². Swapping them at r = 3 gives 113.10 either way — the one radius where the mistake hides — but at r = 5 the swap turns 523.60 into 314.16. Remember: volume is the r³ one, because volume fills three dimensions.

2. Using the diameter as the radius

A sphere with diameter 6 has radius 3, so V = 113.10. Using 6 as the radius gives (4/3)π × 216 = 904.78 — eight times too big, because 2³ = 8. Always halve the diameter first: r = d ÷ 2. The same error on a cylinder is four times too big, because r is squared: using r = 4 instead of r = 2 with h = 5 gives 251.33 instead of 62.83.

3. Forgetting the 1/3 in the cone formula

A cone is one third of the cylinder with the same base and height. A cylinder with r = 3 and h = 4 has volume π × 9 × 4 = 113.10; the cone with the same r and h has volume (1/3) × 113.10 = 37.70. Dropping the 1/3 triples the answer.

4. Square units for a volume answer

Volume is cubic (cm³, m³); surface area is square (cm², m²). If your volume answer is in cm², you used an area formula — check the power on r. A cube of side 4 has volume 64 cm³ and surface area 96 cm²: different numbers, different units, different questions.

5. Forgetting the two bases in cylinder surface area

Cylinder surface area is lateral area plus two circular bases: SA = 2πrh + 2πr². For r = 2, h = 5 the lateral area alone is 2π × 2 × 5 = 62.83 — which happens to equal the volume number, another trap — while the full surface area is 62.83 + 2 × 12.57 = 87.96. An open-top tank has only one base (SA = 2πrh + πr² = 75.40 for r = 2, h = 5), so read the question before counting bases.

6. Using slant height as vertical height in a cone

The cone volume formula needs the vertical height h, not the slant height l. For r = 3, h = 4, the slant height is l = √(3² + 4²) = 5 — and using 5 as h would give (1/3)π × 9 × 5 = 47.12 instead of 37.70. The slant height belongs in the surface area formula (SA = πrl + πr²), never in the volume formula.

Benefits and Limitations

Five shapes in one placeCube, rectangular prism, cylinder, sphere and cone — start from whatever the problem gives you.
Volume + surface area togetherEvery mode shows both numbers side by side, so the r² vs r³ confusion has nowhere to hide.
Two-route checkExact multiples of π, the SA ÷ V ratio and the surface-area parts cross-check every answer.

Benefits

  • Finds the volume of all five shapes with the surface area alongside it, in cubic and square units.
  • Shows the exact multiple of π (36π, 20π, 12π) as well as the decimal, so homework can be checked by hand.
  • Computes the cone's slant height from r and h, so surface area never needs a separate step.
  • Presets load the landmark examples — sphere r = 3, cylinder r = 2 with h = 5, cone r = 3 with h = 4 — with one tap.
  • Every answer carries the step-by-step working, so the formula — not just the number — is visible.
  • Responsive on phones, tablets and desktops.

Limitations

  • Assumes solid shapes with the standard formulas — it does not handle hollow shapes, frustums or spheres with a missing cap.
  • All measurements must use the same unit; the tool does not convert between cm, m and inches.
  • Results use JavaScript floating-point arithmetic, so decimals are rounded to 2 places and exact multiples of π are shown separately.
AI Search & Featured Snippet Section

Quick Definitions

QuestionDirect Answer
What is a volume calculator?A tool that finds the space inside a 3D shape. Cube side 4 → 64; prism 3 × 4 × 5 → 60; cylinder r = 2, h = 5 → 62.83; sphere r = 3 → 113.10; cone r = 3, h = 4 → 37.70.
What is volume?The amount of space inside a three-dimensional shape, measured in cubic units (cm³, m³, litres). A cube of side 4 has volume 4³ = 64 cubic units.
How do you find the volume of a cylinder?V = πr²h — base area times height. For r = 2 and h = 5: π × 4 × 5 = 20π ≈ 62.83 cubic units.
What is the volume of a sphere with radius 3?113.10 cubic units: V = (4/3)π × 27 = 36π ≈ 113.10. Its surface area is the same number, 113.10 square units.
Why are sphere volume and surface area equal at r = 3?SA ÷ V = 3/r, so at r = 3 the ratio is 1 and both are 36π ≈ 113.10. The units still differ: cubic for volume, square for surface area.
What is the volume of a cone?V = (1/3)πr²h — one third of the matching cylinder. For r = 3, h = 4: (1/3)π × 9 × 4 = 12π ≈ 37.70 cubic units.
What is the volume of a cube?V = s³. Side 4 → 64; side 3 → 27; side 5 → 125; side 10 → 1,000. Surface area is 6s²: 96, 54, 150 and 600.
How do you convert cm³ to litres?Divide by 1,000: 1 litre = 1,000 cm³. A 30 × 20 × 15 cm box is 9,000 cm³ = 9 litres; a cylinder of 62.83 cm³ is about 0.06 litres.
FAQ

Frequently Asked Questions

What is volume?

Volume is the amount of space inside a three-dimensional shape, measured in cubic units such as cm³ or m³. A cube of side 4 has volume 4³ = 64 cubic units. It is different from surface area, which measures the outside skin in square units — the same cube has surface area 96 square units.

How do you find the volume of a cylinder?

Multiply the area of the circular base by the height: V = πr²h. For r = 2 and h = 5, V = π × 4 × 5 = 20π ≈ 62.83 cubic units. Its surface area is 2πrh + 2πr² = 28π ≈ 87.96 square units. The full method is in How to Find the Volume of a Cylinder.

Why are a sphere's volume and surface area equal at r = 3?

Because SA ÷ V = 3/r, so at r = 3 the ratio is exactly 1. Volume is (4/3)π × 27 = 36π ≈ 113.10 and surface area is 4π × 9 = 36π ≈ 113.10. The numbers match only at r = 3, and the units still differ — cubic for volume, square for surface area.

What is the volume of a sphere with radius 3?

113.10 cubic units. V = (4/3)π × 3³ = (4/3)π × 27 = 36π ≈ 113.10. Its surface area is 4π × 9 = 36π ≈ 113.10 square units — the same number at this radius only. At r = 2 the volume is 33.51 and the surface area is 50.27; at r = 5 they are 523.60 and 314.16.

What is the volume of a cone?

V = (1/3)πr²h — one third of the cylinder with the same base and height. For r = 3 and h = 4, V = (1/3)π × 9 × 4 = 12π ≈ 37.70 cubic units. The slant height is l = √(3² + 4²) = 5, and the surface area is π × 3 × 5 + π × 9 = 24π ≈ 75.40 square units.

How is the volume of a cube different from a rectangular prism?

A cube is a prism with all sides equal: V = s³. A rectangular prism has three different edges: V = l × w × h. A 3 × 4 × 5 prism has volume 60 and surface area 94, while a cube of side 4 has volume 64 and surface area 96. A 5 × 5 × 10 prism is the rare case where both are 250.

Internal Linking

Related Math Tools

Circle CalculatorA cylinder's base is a circle — check πr² here first: r = 2 gives a base area of 12.57.
Triangle CalculatorThe cone's slant height comes from a right triangle — r = 3, h = 4 gives a slant height of 5.
Pythagorean Theorem CalculatorSlant height is a hypotenuse: l = √(r² + h²). For r = 3 and h = 4, l = 5 exactly.
Square Root CalculatorSlant heights and space diagonals need square roots — √(3² + 4²) = 5, and √(3² + 4² + 5²) = 7.07.
Exponent CalculatorVolume is powers — cubes and squares: check 3³ = 27, 4³ = 64 and 5² = 25 here.
Fraction CalculatorThe 4/3 and 1/3 in the sphere and cone formulas are fractions first — simplify and check them here.
Methodology

Volume Calculator Methodology

This calculator derives every answer from the standard volume and surface area formulas, using JavaScript floating-point arithmetic (decimals rounded to 2 places; exact multiples of π shown separately).

Cube: V = s³, SA = 6s²   |   Prism: V = lwh, SA = 2(lw + lh + wh)
Cylinder: V = πr²h, SA = 2πrh + 2πr²   |   Sphere: V = (4/3)πr³, SA = 4πr²
Cone: V = (1/3)πr²h, SA = πrl + πr², l = √(r² + h²)

Cube mode cubes the side for volume, multiplies 6s² for surface area, and reports the space diagonal s√3 (side 4 gives 6.93). Prism mode multiplies l × w × h for volume, 2(lw + lh + wh) for surface area, and reports the space diagonal √(l² + w² + h²) (3 × 4 × 5 gives 7.07). Cylinder mode multiplies πr² by h for volume and adds the lateral area 2πrh to the two bases 2πr² for surface area (r = 2, h = 5 gives 20π ≈ 62.83 and 28π ≈ 87.96). Sphere mode uses (4/3)πr³ and 4πr², and reports the ratio SA ÷ V = 3/r, which is exactly 1 at r = 3. Cone mode uses (1/3)πr²h for volume, computes the slant height l = √(r² + h²) first, then the surface area πrl + πr² (r = 3, h = 4 gives slant height 5, volume 12π ≈ 37.70 and surface area 24π ≈ 75.40). Every mode rejects zero or negative measurements. Every result carries a cross-check: the surface area minus its parts, the SA ÷ V ratio, or the exact multiple of π. The page is intended as an educational calculator and verification tool.

Trust note: Every volume is computed two independent ways — directly from the formula and from the exact multiple of π — and the landmark answers are fixed points: sphere r = 3 gives 113.10 twice, cylinder r = 2 with h = 5 gives 20π, and cone r = 3 with h = 4 gives 12π. If a result disagrees with its landmark, a measurement was entered wrong.
References

Mathematical References

Same Number, Two Meanings — Check Yours

Enter your shape above — a cube, a box, a cylinder, a sphere or a cone — and get the volume and the surface area with every step shown. Watch for r = 3: the sphere gives you 113.10 twice.

Use Volume Calculator
Scroll to Top