Mathematics calculator

Volume Calculator

Calculate the volume of a sphere, right circular cone, or cube after converting the entered dimensions to metres.

Calculator inputs

Enter your values

3D geometry
Calculated output

Result summary

Your result will appear here

Complete the required fields and select the calculate button.

Sphere, cone, and cube with the dimensions used in their volume formulas
Use radius for the sphere, base radius and perpendicular height for the cone, or one edge for the cube.

What Is Geometric Volume?

This page calculates the volume of a sphere, right circular cone or cube from linear dimensions. Every dimension is converted to metres before the selected geometric formula is applied, so the result is consistently reported in cubic metres.

Volume measures three-dimensional space. A length-unit conversion is cubed in a volume calculation: one centimetre is 0.01 metre, but one cubic centimetre is 0.000001 cubic metre. That distinction explains why a seemingly small unit mistake can produce a very large error.

How to Calculate Sphere, Cone or Cube Volume

  1. Choose Sphere, Right circular cone or Cube in Solid shape.
  2. For a sphere, enter its radius and unit.
  3. For a cone, enter base radius and perpendicular height, selecting a unit for each.
  4. For a cube, enter one edge length and its unit.
  5. Select Calculate and read the result in m³.

All dimensions must be positive numbers. Radius is half the diameter, and cone height means the perpendicular distance from the base plane to the tip rather than the sloping side.

For mixed cone units, the calculator converts radius and height separately. Keep enough decimal places when measuring small objects because the final value is sensitive to every dimension.

Volume Formulas and Length Conversions

Sphere: V = 4 × π × r³ ÷ 3

Cone: V = π × r² × h ÷ 3

Cube: V = a³

Length in meters = entered length × selected conversion factor

Convert each linear dimension to meters before applying the shape formula. The result then has units of m³. For a cone, radius and perpendicular height may use different input units because the page converts them separately. The calculation uses the programming language’s value of π and rounds the volume to six decimal places.

The OpenStax volume chapter explains these ideal solids. For example, a centimeter-to-meter factor of 0.01 becomes 0.01³ = 0.000001 when converting cubic centimeters to cubic meters.

Shape Dimensions and Cubic-Meter Results

Solid shape
Choose Sphere, Right circular cone or Cube. Only the visible dimensions for that shape are needed.
Sphere radius r
Positive distance from the sphere center to its surface. Divide a measured diameter by two before entry.
Cone base radius r
Positive radius of the circular base, with its own length-unit selector.
Perpendicular cone height h
Positive distance from the base plane to the tip. It is not the sloping side length.
Cube edge length a
Positive length of one edge. The cube model assumes all edges are equal.
Length-unit selectors
Identify each input unit. The page converts the chosen dimensions to meters; it does not return cubic units matching the input selector.
Volume
Ideal geometric volume in cubic meters, rounded to six decimals. Very small positive volumes can display as zero.
Selected solid, formula and output unit
Reference results showing the shape, equation and fixed m³ output unit used.

Mixed-Unit Volume Calculation Examples

Illustrative example. Choose Right circular cone. Enter a base radius of 45 cm and a perpendicular height of 1.6 m.

Convert the radius to 0.45 m. Then V = π × 0.45² × 1.6 ÷ 3 = 0.3392920066… m³. The displayed answer is 0.339292 m³.

For comparison, a sphere of radius 0.6 m gives 0.904779 m³ after rounding, and a cube with an edge of 40 cm gives 0.064 m³. These are separate shape selections, not simultaneous outputs.

Calculation check. These illustrative results were checked independently against the formula and calculator response. Keep unrounded intermediate values when repeating the calculation.

Mixed-Unit Volume Calculation Examples
Shape and dimensionsVolume in m³
Cone: r = 45 cm, h = 1.6 m0.339292
Sphere: r = 0.6 m0.904779
Cube: edge = 40 cm0.064

Cubic Units, Capacity and Measurement Scale

Volume units change by a cubed length factor. The input selectors describe lengths; the answer remains in m³. The conversions below help interpret that answer, but the form does not have a separate output-unit selector. Use internal dimensions when estimating capacity.

Cubic Units, Capacity and Measurement Scale
VolumeEquivalent in cubic meters
1 cm³ = 1 mL0.000001 m³
1 L0.001 m³
1 m³ = 1,000 L1 m³
Cube with 40 cm edges0.064 m³

How to Use a Calculated Volume

The calculated figure is an ideal geometric volume. Real containers may have wall thickness, rounded corners, seams, tapers or unusable space that the simple solid does not include.

For capacity planning, distinguish internal dimensions from external dimensions. External measurements overstate the space inside a tank, box or mould whenever walls have appreciable thickness.

The cube calculator applies to equal edges. A rectangular box with different length, width and height needs V = lwh and should not be forced into the cube form.

The cone equation assumes a circular base and a tip centered over the base. An oblique cone has the same formula when h is the perpendicular height, but measuring along the sloping side is still wrong.

Cubic metres can be converted to litres using 1 m³ = 1,000 L. Do that after calculating rather than treating a linear unit as though it were a volume unit.

Rounding deserves attention with tiny parts. A result below 0.0000005 m³ may display as zero at six decimal places even though the mathematical volume is positive. Use the formula or a smaller cubic unit when that precision matters.

Measurement uncertainty grows through powers. A small radius error affects a sphere through r³ and a cone through r². Do not report more reliable digits than the source measurements justify.

For material orders, volume is only one part of the estimate. Add a documented allowance for waste, compaction, voids or spillage when the project requires it rather than hiding that allowance inside a dimension.

A useful plausibility check is to compare related solids. A cone with a given circular base and height has one-third the volume of the cylinder with that same base and height. A sphere with radius r fits inside a cube of side 2r, so its volume must be less than 8r³. These comparisons catch misplaced factors without repeating the entire calculation.

Common Volume Calculation Mistakes

  • Entering diameter in a radius field.
  • Using cone slant height instead of perpendicular height.
  • Leaving one mixed-unit dimension on the wrong scale.
  • Calling a rectangular box a cube.
  • Converting metres to centimetres without cubing the factor.
  • Treating external container volume as usable capacity.
  • Reporting six decimals from rough measurements.

Frequently Asked Questions

Does the result use my selected unit?

The input is converted to metres and the answer is reported in cubic metres.

Can I enter a diameter for a sphere?

Divide the diameter by two first because the field and formula require radius.

Can cone radius and height use different units?

Yes. Choose the correct unit beside each value; both are converted separately.

Why is a small result displayed as zero?

Six-decimal rounding can hide very small cubic-metre values. A smaller output unit may be clearer.

How do I convert cubic metres to litres?

Multiply cubic metres by 1,000.

Does this calculate cylinder volume?

No. The page currently handles a sphere, cone and cube.

Should I add a waste allowance?

Add one separately when estimating purchased material, using a percentage supported by the project conditions.

Does doubling every dimension double the volume?

No. Scaling every length by a factor k scales volume by k³. Doubling all dimensions multiplies volume by eight.

Sources and References