Omni Calculator logo

The volume calculator will calculate the volume of some of the most common three-dimensional solids. Before we go into how to calculate volume, you must know the definition of volume. Volume differs from the area, which is the amount of space taken up in a two-dimensional figure. So you might be confused as to how to find the volume of a rectangle versus how to find the volume of a box (spoiler alert: there's no such thing as volume of a rectangle). The calculator will assist in calculating the volume of a sphere, cylinder, cube, cone, and rectangular solids.

What is volume? — Volume definition

Volume is the amount of space that an object or substance occupies. Generally, the volume of a container is understood as its capacity — not the amount of space the container itself displaces. Cubic meter (m3) is an SI unit for volume.

However, the term volume may also refer to many other things, such as

  • the degree of loudness or the intensity of a sound;
  • the number or amount of something (usually large quantity); and
  • formal word for a book or one in a set of related books.

Volume units and conversion table

Popular units of volume are:

  1. Metric volume units
    • Cubic centimeters (cm3)
    • Cubic meters (m3)
    • Liters (l, L)
    • Milliliters (ml, mL)
  2. US Standard, UK
    • Fluid ounce (fl oz)
    • Cubic inch (cu in)
    • Cubic foot (cu ft)
    • Cups
    • Pints (pt)
    • Quarts (qt)
    • Gallons (gal)

If you need to convert the units of volume, you can use our great volume converter. Another useful tool is our grams to cups calculator, which can help if you want to use a food recipe from a different country. Note that it's not a simple conversion but a change from weight (grams) to volume unit (cups) — that's why you need to know the ingredient type (or, more specifically, its density).

Also, you can have a look at this neat volume unit conversion table to find out the conversion factor in a blink of an eye:

cubic inches

cubic feet

cubic yards

us liquid gallons

us dry gallons

imp liquid gallons

barrels (oil)

cups

fluid ounces (UK)

fluid ounces (US)

pints (UK)

cubic meter

6.1·104

35.3

1.308

264.2

227

220

6.29

4227

3.52·104

3.38·104

1760

cubic decimeter

61.02

0.035

1.3·10-3

0.264

0.227

0.22

0.006

4.23

35.2

33.8

1.76

cubic centimeter

0.061

3.5·10-5

1.3·10-6

2.64·10-4

2.27·10-4

2.2·10-4

6.29·10-6

4.2·10-3

3.5·10-2

3.34·10-2

1.76·103

cubic millimeter

6.1·10-5

3.5·10-8

1.31·10-9

2.64·10-7

2.27·10-7

2.2·10-7

6.3·10-9

4.2·10-6

3.5·10-5

3.4·10-5

1.76·10-6

hectoliters

6.1·103

3.53

0.13

26.4

22.7

22

0.63

423

3.5·103

3381

176

liters

61

3.5·10-2

1.3·10-3

0.26

0.23

0.22

6.3·10-3

4.2

35.2

33.8

1.76

centiliters

0.61

3.5·10-4

1.3·10-5

2.6·10-3

2.3·10-3

2.2·10-3

6.3·10-5

4.2·10-2

0.35

0.338

1.76·10-2

milliliters

6.1·10-2

3.5·10-5

1.3·10-6

2.6·10-4

2.3·10-4

2.2·10-4

6.3·10-6

4.2·10-3

3.5·10-2

3.4·10-2

1.76·10-3

cubic inches

1

5.79·10-4

2.1·10-5

4.3·10-3

3.7·10-3

3.6·10-3

1.03·10-4

6.9·10-2

0.58

0.55

2.9·10-2

cubic feet

1728

1

0.037

7.48

6.43

6.23

0.18

119.7

997

958

49.8

cubic yards

4.7·104

27

1

202

173.6

168.2

4.8

3232

2.69·104

2.59·104

1345

us liquid gallons

231

0.134

4.95·10-3

1

0.86

0.83

0.024

16

133.2

128

6.7

us dry gallons

268.8

0.156

5.76·10-3

1.16

1

0.97

0.028

18.62

155

148.9

7.75

imp liquid gallons

277.4

0.16

5.9·10-3

1.2

1.03

1

0.029

19.2

160

153.7

8

barrels (oil)

9702

5.61

0.21

42

36.1

35

1

672

5596

5376

279.8

cups

14.4

8.4·10-3

3.1·10-4

6.2·10-2

5.4·10-2

5.2·10-2

1.5·10-3

1

8.3

8

0.4

fluid ounces (UK)

1.73

10-3

3.7·10-5

7.5·10-3

6.45·10-3

6.25·10-3

1.79·10-4

0.12

1

0.96

5·10-2

fluid ounces (US)

1.8

10-3

3.87·10-5

7.8·10-3

6.7·10-3

6.5·10-3

1.89·10-4

0.13

1.04

1

0.052

pints (UK)

34.7

0.02

7.4·10-4

0.15

0.129

0.125

3.57 103

2.4

20

19.2

1

How to calculate volume? — Volume formulas

There is no simple answer to this question, as it depends on the shape of the object in question. Here are the formulas for some of the most common shapes:

  1. Cube = s3s^3, where ss is the length of the side.

  2. Sphere = (4/3)πr3(4/3)\pi r^3, where rr is the radius.

  3. Cylinder = πr2h\pi r^2h, where rr is the radius and hh is the height.

  4. Cone = (1/3)πr2h(1/3)\pi r^2h, where rr is the radius and hh is the height.

  5. Rectangular solid (volume of a box) = lwhlwh, where ll is the length, ww is the width and hh is the height (a simple pool may serve as an example of such shape).

  6. Pyramid = (1/3)Ah(1/3)Ah where AA is a base area and hh is the height. For a pyramid with a regular base, another equation may be used as well: Pyramid = (n/12)hs2cot(π/n)(n/12) h s^2 \cot(\pi/n), where nn is a number of sides ss of the base for a regular polygon.

  7. Prism = AhAh, where AA is a base area and hh is the height. For a right triangular prism, the equation can be easily derived, as well as for a right rectangular prism, which is apparently the same shape as a box.

Shape

Name

Formula

How to calculate cube volume?

Cube

V=s3V = s^3

how to calculate box volume

Right rectangular prism (cuboid, box)

V=lwhV = lwh

prism volume, cylinder volume formula

Prism or cylinder

V=AhV = Ah

pyramid volume, cone volume formula

Pyramid or cone

V=13AhV = \frac{1}{3}Ah

sphere volume

Sphere

V=43πr3V = \frac{4}{3} \pi r^3

Volume calculator and tools dedicated to specific shapes

We've decided to make this volume calculator a simple tool that covers the five most popular 3D shapes. However, not every volume equation and shape type may be implemented here, as it will make the calculator overloaded and unintuitive. So if you're looking for a specific shape, check out the calculators on our site dedicated to volumes of chosen shapes!

How do I use the volume calculator?

Let's look at the example of how to use this volume calculator:

  1. Select the 3D shape type. If you can't find the shape you want to calculate the volume of, choose other special dedicated calculators on our site. In this example, let's assume you want to calculate the volume of a cylinder.

  2. Type your data into the proper boxes. Our cylinder has a radius of 1 ft and a height of 3 ft. You can change the units by a simple click on the unit name.

  3. Here you go! The volume of a chosen shape is displayed. In our case, it's 9.42478 cu ft.

If you want to check how much that is in the US barrels unit, just click on the unit name and choose barrels from the drop-down list. Our cylinder has a capacity of ~2.24 oil barrels.

Measuring the volume of solids, liquids and gases

How to find the volume of objects with different states of matter?

1. Solid

Archimedes in his bath - the discovery of how to measure volume of solids using a container filled with water.

For regular three-dimensional objects, you can easily calculate the volume by taking measurements of its dimensions and applying the appropriate volume equation. If it's an irregular shape, you can try to do the very thing that caused Archimedes to shout the famous word Eureka! Probably you heard that story — Archimedes was asked to find out if the Hiero's crown is made from pure gold or just gold-plated — but without bending or destroying it. The idea came to him when he was taking a bath — stepping into a bathtub, he noticed that the water level rose. From this observation, he deduced that volume of water displaced must be equal to the volume of the part of his body he had submerged. Knowing the irregular object's volume and its weight, he could calculate the density and compare it with the density of pure gold. Legend says that Archimedes was so excited about this discovery that he popped out of his bathtub and ran naked through the streets of Syracuse.

So, if you want to measure an irregular object's volume, just follow in Archimedes' footsteps (though you can omit the naked race part):

How to find volume of a solid? Volume measurement: two graduated cylinders - left with water and second with water and object. Difference between the measurements is the volume of our object.
  • Take a container bigger than the object you want to measure the volume of. It may be a bucket, a measuring cup, a beaker, or a graduated cylinder. It should have a scale.

  • Pour water into the container and read the volume measurement.

  • Put the object inside. It should be totally submerged to measure the object's whole volume. Read off the volume. This method won't work if your object dissolves in water.

  • The difference between the measurements is the volume of our object.

These measurements are essential in calculating the buoyancy force, which are based on Archimedes' principle.

2. Liquid

4 measuring cups: gill, pint, quart, and gallon.

Usually, it's quite easy to measure the volume of a liquid — all you need to have is a graduated measuring vessel of some kind. Choose the one that fits your needs: the amount of liquid and degree of accuracy are the parameters to consider. The containers used in baking a cake will be different from those used in chemistry (e.g., in molar concentration calculations) and will be different from ones used for medical purposes (like the dose of a medication).

Measuring spoons - how to find the volume of liquid?

3. Gas

We have to use more elaborate methods to measure the volume of a gas. You need to remember that the volume of gas is influenced by temperature and pressure and that gases expand to fill any container in which they're placed. You can try to measure it:

  • Inflate a balloon with the gas you want to measure (e.g., with helium to lift you up in the air). Then you can use the Archimedes method - put the balloon into the bucket with water and check the volume difference. You'll find detailed instructions on the wikiHow page.

  • Check out the measures connected to your lung capacity by using a device called spirometer.

  • In chemistry, a gas syringe is used to insert or withdraw a volume of a gas from a closed system. This laboratory glassware can also be used to measure the volume of gas evolved from a chemical reaction.

Or calculate:

  • Find the volume of the gas, given its density and mass. Use simple V=m/dV = m / d volume equation.

  • Calculate the volume of a compressed gas in a cylinder by applying the ideal gas equation.

How to find the volume of a rectangle vs volume of a box

You can't calculate a volume of a rectangle, a volume of a circle, or a volume of a square because they are 2-dimensional geometric figures. As such, a rectangle does not have a volume (but it does have an area). What you're probably looking for is the volume of a rectangular cuboid (or, in more common terms, you want to find the volume of a box), which is a 3-dimensional object.

To find the volume of a box, simply multiply length, width, and height — and you're good to go! For example, if a box is 5×7×2 cm, then the volume of a box is 70 cubic centimeters.

For dimensions that are relatively small whole numbers, calculating volume by hand is easy. For larger or decimal-valued numbers, the use of the volume calculator is very efficient.

Real-life applications

There are many applications in real life where the volume calculator is useful:

  1. One such instance is in road or pavement construction, where slabs of concrete must be built. Generally, concrete slabs are rectangular solids, so the concrete calculator — which is an application of the volume calculator — can be used.

  2. Also, the volume formulas may be helpful if you are a keen gardener or just a happy owner of a house with a yard. Check out our other awesome tools, such as potting soil calculator, to estimate the volume and cost of topsoil, as well as the amount of soil needed for your flower pot.

  3. Moreover, you can meet volume in your kitchen or bathroom: any liquid we drink (e.g., bottled water), as well as beauty products or toothpaste, have a volume written on the product packaging (either in milliliters/liters or fluid ounces/gallons).

  4. Next, the volume calculations are really handy if you want to guarantee enough living space for your beloved pets, be they turtles/fish kept in the aquarium or mice/rats in cages.

  5. Another related application, although slightly different, is the concept of surface area. Suppose the entire exterior of a building must be painted. To know how much paint must be purchased, the surface area of the building must be calculated. The convenient to use surface area calculator will calculate this for you.

FAQ

How to find volume?

The volume formula depends on the shape of the object. One of the most popular shapes is a rectangular prism, also known as a box, where you can simply multiply length times width times height to find its volume. Another common shape is a cylinder — to find its volume, multiply the height of the cylinder by the area of its base (π × r²). For other 3D shapes, check Omni's Volume Calculator.

How do I measure volume?

Measuring the volume depends on your object's state of matter. For liquids, you can use a graduated cylinder or burette for the chemistry lab measurements, or a measuring cup & spoon for everyday life purposes. For gases, to roughly measure the volume, you can inflate a balloon and use it to displace the water in a graduate cylinder. A similar method works for solids — put the object into a graduated container and measure the change in reading.

Is volume squared or cubed?

Volume is "cubed", as it's a three-dimensional measure. Area is a "squared" value, as the area of a shape covers two dimensions. You can remember that volume is a cubed value by recalling a few volume unit names, such as cubic meters, cubic feet or cubic yards.

How do I calculate volume?

Depending on your object shape, you can use different formulas to calculate volume:

  • Cube volume = side³
  • Cuboid (rectangular box) volume = length × width × height
  • Sphere volume = (4/3) × π × radius³
  • Cylinder volume = π × radius² × height
  • Cone volume = (1/3) × π × radius² × height
  • Pyramid volume = (1/3) × base area × height

What is volume measured in?

A cubic meter is the SI volume unit. However, as it's quite impractical, so most often you will encounter volume expressed in:

  • Cubic centimeters
  • Cubic inches
  • Milliliters
  • Liters
  • Gallons

How to find volume of a liquid?

Graduated cylinders and Erlenmeyer flasks will work if you need to roughly measure the volume of a liquid. For more precise measurements, you need to use a volumetric pipette and burette. However, if you're baking a cake or preparing a delicious dish and the recipe uses volume units, you can simply use a measuring cup, glass, or spoon.

What is the SI unit for volume?

The cubic meter (m³) is the SI unit of volume. It is derived from the base SI unit of length — the meter. Although the cubic meter is the basic SI unit, other units are used more often: for the metric system milliliters, liters, or cubic centimeters are popular choices, while for the Imperial system, you can find volume expressed in pints, gallons, cubic inches, cubic feet or cubic yards.

Is volume intensive or extensive?

Volume is an extensive property, the same as the amount of substance, mass, energy, or entropy. An extensive property is a measure that depends on the amount of matter. Check out this example: a glass, a barrel, and a pool full of water have different volumes & masses (extensive properties), but water in these three containers will have the same density, refractive index & viscosity (intensive properties).

What is the difference between surface area and volume?

A volume is a 3D measure, while surface area is two-dimensional. The volume tells us about the cubic space that an object occupies, and the surface area is the sum of all areas forming the 3D shape. Take the cardboard box as an example 📦:

  • Volume is the amount of space taken up by the box — simply, it's the space available inside the box.
  • Surface area is the space occupied by the box's sides, calculated when painting the sides or wrapping the box in paper.

How to find the volume of an irregular-shaped object?

You can use the fluid displacement method for irregularly shaped solid objects:

  1. Fill the container with water and mark the water level.
  2. Drop your object inside and mark the level again. Make sure your object isn't soluble in water.
  3. For scaled containers, you can just subtract the original volume from the new volume. And that's it, congrats!

But if your original container doesn't have a scale:

  1. Take out the object.
  2. Fill your container with water to the second mark, pour that water into a graduated cylinder/another measuring vessel.
  3. Repeat step 5 for another marked level and subtract the volumes.
  4. Pat yourself on the back — you found the volume of an irregular-shaped object!

What does volume measure?

The volume measures the amount of space taken up by an object in three dimensions. Another closely related term is capacity, which is the volume of the interior of the object. In other words, capacity describes how much the container can hold (water, gas, etc.).

What is the volume of the Earth?

The volume of the Earth is approximately equal to 1.08321×1012 km³ (1.08 trillion cubic kilometers), or 2.59876×1011 cu mi (259 billion cubic miles). You can get this result using the sphere volume formula (4/3) × π × radius³ and assuming that the Earth's average radius is 6,371 kilometers (3,958.76 mi).

How do I calculate surface area to volume ratio?

To calculate the surface area to volume ratio SA:V, you simply divide the surface area by volume. For some chosen shapes:

  • SA:V ratio for cube = (6 × side²) / (side³) = 6 / side
  • SA:V ratio for sphere = (4 × π × radius²) / ((4/3) × π × radius³)= 3 / radius
  • SA:V ratio for cylinder = (2 × π × radius² + 2 × π × radius × height) / (π × radius² × height) = 2 × (radius + height) / (radius × height)
Hanna Pamuła, PhD, Piotr Małek and Mateusz Mucha
Shape
Rectangular prism (box)
Volume of a box





Width (w)
in
Length (l)
in
Height (h)
in
Volume
cu in
Looking for the volume of a partially filled container, like an aquarium? Then make sure to check our great tank volume calculator!
Check out 23 similar 3d geometry calculators 📦
Area of a hemisphereCubeCube Calc: find v, a, d… 20 more
People also viewed…

Plant spacing

Optimize your garden layout with our garden spacing calculator. Perfect for precise plant spacing. Plan your dream garden effortlessly now!

Pyramid angle

From solid geometry to ancient Egyptian carpentry, our pyramid angle calculator will help you!

Test grade

With this test grade calculator, you'll quickly determine the test percentage score and grade.

Torus volume

Discover the volume of a doughnut shape with our torus volume calculator using the precise volume of a torus formula. Try it out now!