Language
English English Vietnamese (Tiếng Việt) Vietnamese (Tiếng Việt) Chinese (简体中文) Chinese (简体中文) Portuguese (Brazil) (Português do Brasil) Portuguese (Brazil) (Português do Brasil) Spanish (Español) Spanish (Español) Indonesian (Bahasa Indonesia) Indonesian (Bahasa Indonesia)
Volume Calculator

Volume Calculator

Calculate the volume of cubes, cuboids, spheres, cylinders, cones, pyramids, and triangular prisms — enter the dimensions and read the result with its formula.

Work Out the Volume of a 3D Shape

Volume is the amount of space a solid occupies, measured in cubic units. Pick one of seven common solids, type in its dimensions, and the result appears instantly — no button to press. The calculator covers the cube, cuboid, sphere, cylinder, cone, square pyramid, and triangular prism.

Because volume measures three-dimensional space, every answer is in cubic units — cm³, m³, in³, and so on — matching the unit you choose for the dimensions.

Solids You Can Measure

Boxes

Cube and cuboid — straight-sided solids defined by their edge lengths.

Round Solids

Sphere, cylinder, and cone — set by a radius and, where needed, a height.

Pyramid & Prism

Square pyramid and triangular prism, defined by their base and height.
Private by design: every calculation runs in your browser — nothing you type is uploaded.

How to Calculate Volume in Four Steps

1

Select the 3D Shape

Choose the solid you want to measure. The input fields update to ask only for the dimensions that shape needs.

2

Enter the Dimensions

Type in the edge, radius, height, or base values the shape requires. For round solids, use the radius rather than the diameter.

3

Read the Result Instantly

The volume is computed in real time as you type, with the formula and a step-by-step substitution shown so you can follow the math.

4

Choose Your Unit Label

Set the unit to mm, cm, m, in, or ft. The result carries the matching cubic label — cm³, m³, and so on.

Keep every dimension in the same unit. Mixing units — a radius in cm with a height in m, for example — gives a wrong volume. The unit is a label only, so convert your values before entering them.

Volume Formulas for Each Solid

Every solid uses a standard volume formula. The calculator applies them automatically, but the full reference is below for checking your own work.

ShapeFormulaInputs Needed
CubeV = a³side a
CuboidV = l × w × hlength l, width w, height h
SphereV = 4/3 × π × r³radius r
CylinderV = π × r² × hradius r, height h
ConeV = 1/3 × π × r² × hradius r, height h
Square PyramidV = 1/3 × a² × hbase side a, height h
Triangular PrismV = ½ × b × h × lbase b, tri height h, length l
Worked example: a cube with side a = 5 cm gives V = 5³ = 125 cm³.

Features

Seven 3D Shapes

Cube, cuboid, sphere, cylinder, cone, square pyramid, and triangular prism — all in one tool.

Real-Time Results

Volume recalculates the moment you change any value — no submit button, no waiting.

Five Unit Labels

Work in mm, cm, m, in, or ft, with the result shown in the matching cubic unit.

Formula & Steps

Each shape shows the exact formula plus a step-by-step breakdown of the calculation.

Frequently Asked Questions

How do you calculate the volume of a cylinder?

Use V = π × r² × h — the area of the circular base (π × r²) multiplied by the height. Enter the radius and height and the calculator returns the result with the full substitution shown.

How do you find the volume of a sphere?

A sphere uses V = 4/3 × π × r³, so only the radius is needed. Type the radius and the volume appears instantly in cubic units.

Should I enter the radius or the diameter?

Always the radius. The sphere, cylinder, and cone formulas are written in terms of r, so if you only know the diameter, halve it first — the radius is half the diameter.

Which 3D shapes does this calculator support?

Seven solids: cube, cuboid, sphere, cylinder, cone, square pyramid, and triangular prism. Each has its own input fields and formula.

Why is a cone one-third of a cylinder?

A cone with the same base radius and height as a cylinder holds exactly one-third of its volume. That is why the cone formula, V = 1/3 × π × r² × h, is the cylinder formula multiplied by one-third.

What units does the volume result use?

Volume is measured in cubic units. Enter dimensions in cm and the result is cm³; in m it is m³, and likewise for mm³, in³, and ft³. The unit is a display label — the calculator does not convert values, so keep every dimension in the same unit.

What is the difference between volume and surface area?

Volume measures the space inside a solid in cubic units, while surface area measures its outer skin in square units. Switch to the surface area mode when you need the total area of the faces instead.

Cube
Volume
-
cm³
Formula: V = a³
Volume is measured in cubic units (cm³, m³, in³, and more).
For spheres, cylinders, and cones, enter the radius — not the diameter.
Use the same unit for every dimension you enter.
Each shape shows its formula and a step-by-step breakdown.
All calculations run locally in your browser.
Want to learn more? Read documentation →
1/6

Geometry Calculator

Start typing to search...
Searching...
No results found
Try searching with different keywords