Volume Calculator
Calculate the volume of cubes, cylinders, spheres, cones, tanks, and more in seconds just choose a shape, enter its dimensions, and get the cubic volume instantly.
Was this calculator helpful?
Your feedback helps us improve our calculators.
What Is a Volume Calculator?
A volume calculator is an online tool that calculates the amount of three-dimensional space inside or occupied by an object based on its shape and dimensions. It automatically applies the correct volume formula, helping you get a result without solving the equation manually.
This calculator can calculate volume for different 3D shapes, including a sphere, cone, cube, cylinder, rectangular tank, capsule, spherical cap, conical frustum, ellipsoid, square pyramid, and tube.
The measurements required depend on the selected shape. For example, a cube requires its side length, while a cylinder volume calculator uses the cylinder's radius and height. More complex shapes may require additional dimensions.
After you select a shape and enter its measurements, the calculator applies the appropriate geometric formula and provides the calculated volume. This makes it useful for geometry problems, construction estimates, container measurements, engineering calculations, manufacturing, and other situations where you need to find volume quickly.
A volume calculator helps you find the amount of three-dimensional space inside or occupied by an object. Instead of applying a different volume formula manually for every shape, you can select the shape, enter its measurements, and calculate the volume automatically.
This volume calculator supports common and more complex 3D shapes, including spheres, cones, cubes, cylinders, rectangular tanks, capsules, spherical caps, conical frustums, ellipsoids, square pyramids, and tubes.
What Is Volume?
Volume is the amount of three-dimensional space an object occupies. It measures the space within a solid rather than the size of its outer surface.
Because volume involves three dimensions, the answer is normally expressed in cubic units, such as cubic centimeters (cm³), cubic meters (m³), or cubic feet (ft³).
For example, a cube that measures 2 meters on each side has a volume of:
V=2×2×2=8 m3
The exact method used to calculate volume depends on the shape and its dimensions.
How to Use the Volume Calculator
The volume calculator lets you switch between different 3D shapes, so you only need to enter the measurements required for the selected shape.
Choose a shape: Select Sphere, Cone, Cube, Cylinder, Rectangular Tank, Capsule, Spherical Cap, Conical Frustum, Ellipsoid, Square Pyramid, or Tube from the tabs.
Enter the dimensions: Provide the measurements requested for your selected shape, such as radius, height, length, or width.
Select the unit: Use the unit dropdown beside each measurement to choose the appropriate measurement unit.
Check your values: Make sure the measurements correspond to the labels shown for the selected shape.
Click Calculate: The volume calculator uses the appropriate geometric formula to determine the volume.
Review the result: Use the calculated volume for your geometry, construction, engineering, storage, or other measurement needs.
Start again if needed: Click Clear to remove the entered values and perform another calculation.
The required inputs change when you switch shapes. This helps prevent you from having to determine which measurements are needed for each volume calculation yourself.
How to Calculate Volume
To calculate volume manually, first identify the object's geometric shape. Next, measure the dimensions required by that shape's formula and substitute those measurements into the correct equation.
There is no single volume formula that works for every 3D object. A cube needs only its side length, for example, while a cylinder requires its radius and height.
The general process is:
Identify the 3D shape.
Determine the measurements required by its formula.
Make sure the measurements use compatible units.
Substitute the values into the appropriate volume formula.
Solve the equation.
Express the answer in cubic units.
Below are the formulas for the shapes available in this volume calculator.
Volume Formulas for Different Shapes
Sphere Volume Formula
A sphere is a completely round three-dimensional object in which every point on the surface is the same distance from its center.
Its volume is:
V=34πr3
Where:
(V) = volume
(r) = radius of the sphere
(\pi) ≈ 3.14159
The radius is the distance from the center of the sphere to its outer surface.
Cone Volume Formula
A cone has a circular base that narrows to a single point called the apex.
The formula is:
V=31πr2h
Where:
(V) = volume
(r) = radius of the circular base
(h) = perpendicular height
A cone with the same base radius and height as a cylinder has one-third of the cylinder's volume.
Cube Volume Formula
A cube has six equal square faces, so you only need the length of one side to determine its volume.
The cube volume formula is:
V=s3
Where:
(V) = volume
(s) = side length
You can also think of this as:
V=s×s×s
For example, if each side of a cube is 5 cm:
V=53=125 cm3
A cubic volume calculator is particularly useful when dimensions are large, contain decimals, or need to be handled in different measurement units.
Cylinder Volume Formula
A cylinder has two parallel circular bases connected by a curved surface. To find its volume, multiply the area of the circular base by the cylinder's height.
The cylinder volume formula is:
V=πr2h
Where:
(V) = volume
(r) = radius of the circular base
(h) = height of the cylinder
The radius must be measured from the center of the circular base to its edge. If you have the diameter instead, divide it by 2 to get the radius:
r=2d
Rectangular Tank Volume Formula
A rectangular tank is a rectangular prism. Its volume is calculated from its length, width, and height:
V=lwh
Where:
(V) = volume
(l) = length
(w) = width
(h) = height
This calculation gives the geometric volume based on the dimensions entered.
Capsule Volume Formula
A capsule consists of a cylindrical middle section with two hemispherical ends that together form a sphere.
If (r) is the radius and (a) is the length of the cylindrical portion, its volume can be represented as:
V=πr2a+34πr3
Where:
(V) = total volume
(r) = radius
(a) = length of the cylindrical section
The first part calculates the cylindrical portion, while the second represents the two hemispherical ends.
Spherical Cap Volume Formula
A spherical cap is the portion of a sphere cut off by a plane.
When the cap height (h) and sphere radius (r) are known, its volume is:
V=3πh2(3r−h)
Where:
(V) = volume
(r) = radius of the sphere
(h) = height of the spherical cap
The cap height should not be confused with the full diameter or radius of the sphere.
Conical Frustum Volume Formula
A conical frustum is formed when the top of a cone is cut by a plane parallel to its base.
Its volume is:
V=31πh(R2+Rr+r2)
Where:
(V) = volume
(R) = radius of the larger circular base
(r) = radius of the smaller circular base
(h) = perpendicular height
Both radii are required because the two circular ends are different sizes.
Ellipsoid Volume Formula
An ellipsoid is a three-dimensional shape similar to a stretched or compressed sphere.
Its volume is:
V=34πabc
Where:
(V) = volume
(a), (b), and (c) = the three semi-axis lengths
If all three semi-axes are equal, the ellipsoid becomes a sphere.
Square Pyramid Volume Formula
A square pyramid has a square base and triangular faces that meet at an apex.
Its volume is:
V=31s2h
Where:
(V) = volume
(s) = side length of the square base
(h) = perpendicular height
The (s2) term represents the area of the square base.
Tube Volume Formula
A tube is a hollow cylinder. Its material volume can be found by subtracting the volume of the inner cylinder from the outer cylinder:
V=πh(R2−r2)
Where:
(V) = volume of the tube material
(R) = outer radius
(r) = inner radius
(h) = tube length or height
The outer radius must be larger than the inner radius for a valid hollow tube.
Cylinder Volume Calculation Example
Suppose a cylinder has:
Radius = 4 cm
Height = 10 cm
Using the cylinder volume formula:
V=πr2h
Substitute the measurements:
V=π(4)2(10)
V=160π
Therefore:
V≈502.65 cm3
So, the cylinder has a volume of approximately 502.65 cubic centimeters.
This same calculation can be completed more quickly with the cylinder volume calculator by entering the radius and height and selecting the corresponding units.
Understanding Cubic Volume and Volume Units
Volume is expressed in cubic units because it measures space in three dimensions: length, width, and height.
For example, if the measurements of an object are given in centimeters, its volume is typically expressed in cubic centimeters (cm³). If the dimensions are measured in meters, the volume is expressed in cubic meters (m³).
Common volume units include:
Unit | Symbol | Common Uses |
Cubic millimeter | mm³ | Very small objects and precision measurements |
Cubic centimeter | cm³ | Small objects and components |
Cubic meter | m³ | Rooms, tanks, construction, and large objects |
Cubic inch | in³ | Products, components, and US customary measurements |
Cubic foot | ft³ | Rooms, containers, storage, and construction |
Cubic yard | yd³ | Concrete, soil, gravel, and other bulk materials |
Always pay attention to the unit attached to a volume result. A measurement of 10 m³ represents something very different from 10 cm³.
Volume vs. Area: What's the Difference?
Area and volume measure different things.
Area measures the amount of two-dimensional space covered by a surface and is expressed in square units, such as cm² or ft².
Volume measures three-dimensional space and is expressed in cubic units, such as cm³ or ft³.
For example, the area of a square depends on two dimensions:
A=s2
The volume of a cube includes a third dimension:
V=s3
Using an area formula when you need volume is one of the most common mistakes in geometry calculations.
Volume vs. Capacity
Volume and capacity are closely related, but they are not always used in exactly the same way.
Volume describes the three-dimensional space occupied by an object or enclosed by its boundaries.
Capacity usually describes how much a container can hold, particularly when liquids are involved.
For example, the internal dimensions of a rectangular tank can be used to calculate its geometric volume. That volume may then be converted into liters, gallons, or another capacity unit when needed.
For reference:
1 m3=1000 L
However, the usable capacity of a real tank may differ from its theoretical geometric volume because of wall thickness, fill limits, internal components, or other design factors.
When and Where Is a Volume Calculator Useful?
Knowing how to find volume is useful anywhere the amount of three-dimensional space matters.
Construction and Home Projects
Volume calculations can help estimate the space occupied by or available within geometric structures. They may also be useful when estimating quantities of concrete, soil, gravel, or similar materials.
Real projects may require allowances for waste, compaction, irregular shapes, or other factors that a basic geometric calculation does not include.
Tanks and Containers
A volume calculation can help estimate the internal space of rectangular or cylindrical containers when the necessary dimensions are known.
For real storage capacity, make sure you use internal rather than external dimensions where appropriate.
Manufacturing and Engineering
Engineers, designers, and manufacturers frequently work with the volume of cylinders, tubes, cones, and other three-dimensional components.
Volume can also be used as an input for other calculations involving material requirements, mass, or displacement.
Packaging and Shipping
Knowing an object's cubic volume can help when planning packaging, storage space, and transportation.
Keep in mind that shipping companies may use dimensional weight or package-specific rules rather than physical volume alone when calculating shipping charges.
Math and Geometry
Students and teachers can use a volume calculator to check manual calculations for common geometric solids and better understand how changes in dimensions affect volume.
Who Can Use a Volume Calculator?
A volume calculator can be useful for:
Students solving geometry problems or checking calculations.
Teachers preparing examples and verifying answers.
Engineers and designers working with geometric dimensions.
Construction professionals estimating volumes for basic shapes.
DIY users measuring containers, spaces, or project materials.
Manufacturers working with cylindrical, tubular, or other geometric components.
Homeowners estimating storage or container volume.
You do not need to memorize every formula to use the volume calculator, but understanding which measurements belong to each shape helps you enter the correct values.
Common Mistakes When Calculating Volume
Even when the formula is correct, inaccurate measurements or incorrect inputs can produce the wrong result. Watch for these common issues.
1. Confusing Radius and Diameter
The radius is half the diameter:
r=2d
If a formula requires radius but you enter the full diameter as the radius, the result will be much too large.
This is especially important when using the cylinder volume formula, sphere formula, cone formula, and other equations involving circular dimensions.
2. Mixing Measurement Units
Avoid inserting dimensions measured in different units into a formula without converting them first.
For example, using a radius in centimeters and a height in meters directly in the same manual calculation will not produce a meaningful cubic unit.
3. Forgetting Cubic Units
Volume is a three-dimensional measurement, so the result should be expressed in cubic units.
For example:
Correct: 125 cm³
Incorrect: 125 cm or 125 cm²
4. Choosing the Wrong Shape
A cylinder, cone, tube, and conical frustum may look similar, but they use different formulas.
Choose the volume calculator mode that most closely represents the object you are measuring.
5. Confusing Height With Slant Height
For cones and pyramids, volume formulas use the perpendicular height, not the sloping distance along the side.
Using slant height in place of perpendicular height changes the result.
6. Using Outer Dimensions for Internal Capacity
If you are trying to estimate how much a container can hold, external measurements can overstate its internal volume because they include the thickness of the walls.
Use appropriate internal dimensions when calculating internal storage space.
7. Entering Tube Measurements Incorrectly
A tube has both inner and outer dimensions. Make sure you correctly identify which measurement represents the inner radius and which represents the outer radius.
The outer radius must be greater than the inner radius.
Tips for More Accurate Volume Calculations
A calculator can perform the mathematics quickly, but the quality of the result still depends on the measurements you provide.
For better results:
Measure dimensions as accurately as practical.
Double-check whether a measurement is a radius or diameter.
Select the correct shape before entering values.
Keep measurement units consistent when calculating manually.
Avoid rounding measurements too early.
Check whether you need internal or external dimensions.
Use perpendicular height rather than slant height when the formula requires it.
Keep additional decimal places during intermediate calculations and round the final result only as needed.
For irregular real-world objects that do not closely match one of the available geometric shapes, a standard geometric volume formula may provide only an approximation.
Frequently Asked Questions (FAQs)
What is the formula for volume?
The volume formula depends on the shape. For example, a cube uses:
V=s3
A cylinder uses:
V=πr2h
A sphere uses:
V=34πr3
You first need to identify the shape before choosing the appropriate formula.
How do I use the Volume Calculator?
To calculate volume, identify the object's shape, measure the required dimensions, and substitute those measurements into the correct formula. The final answer is generally expressed in cubic units.
A volume calculator simplifies this process by applying the appropriate formula after you select a shape and enter its dimensions.
How do you find the volume of a cube?
Measure the length of one side and cube it.
The cube volume formula is:
V=s3
For a cube with a side length of 4 inches:
V=43=64 in3
What is the cylinder volume formula?
The cylinder volume formula is:
V=πr2h
Here, (r) is the radius of the circular base and (h) is the perpendicular height of the cylinder.
A cylinder volume calculator performs this calculation automatically after you provide the required dimensions.
How do you find volume if you only know the diameter?
For shapes whose formulas require radius, first divide the diameter by 2:
r=2d
You can then substitute the radius into the appropriate volume formula.
The other dimensions you need depend on the shape. For example, a cylinder also requires its height.
Why is volume measured in cubic units?
Volume measures space in three dimensions. When three compatible linear dimensions are multiplied, their units are also multiplied.
For example:
cm×cm×cm=cm3
That is why volume is reported in cubic units rather than ordinary linear or square units.
Is volume the same as capacity?
Not exactly. Volume measures the three-dimensional space occupied or enclosed by an object, while capacity usually describes how much a container can hold.
The two measurements can be converted between compatible units when appropriate.
Does doubling a dimension double the volume?
Not necessarily. The effect depends on the shape and which dimensions change.
For a cube:
V=s3
If every side doubles, the new volume is:
(2s)3=8s3
So doubling every linear dimension of a cube makes its volume eight times larger, not twice as large.
Conclusion
Finding volume starts with identifying the shape and using the correct measurements and formula. Simple solids such as cubes require only one dimension, while cylinders, cones, frustums, ellipsoids, tubes, and other shapes require multiple measurements.
A volume calculator makes it easier to calculate volume without manually solving a different equation each time. Select the appropriate 3D shape, enter its dimensions and units, and calculate the result while avoiding common issues such as mixing units, confusing radius with diameter, or using the wrong geometric formula.
Helpful Resources
Pro Tips
Choose the correct geometric shape before entering the measurements.
Enter accurate dimensions such as radius, height, or length for precise results.
Ensure all values use the same measurement unit before calculating.
Volume results are expressed in cubic units such as cubic meters, cubic centimeters, or cubic inches.
Volume calculations are commonly used in engineering, construction, physics, and manufacturing.