molecalculator

Moles & Molar Mass

Equation for Finding Volume: Shapes, Formulas & Examples

Calculator No. 01-11975 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

The equation for finding volume depends on the shape you are measuring. For a rectangular prism (like a box), volume = length × width × height; for a cylinder, volume = π × radius² × height; for a sphere, volume = (4/3) × π × radius³. This article explains the most common volume formulas, how to use them, and how to avoid common mistakes.

Formula

For a rectangular prism (box), the volume formula is:

V = l × w × h

where:

  • V = volume (cubic units, e.g., cm³, m³, in³)
  • l = length (same unit as width and height)
  • w = width
  • h = height

For a cylinder (like a can or pipe):

V = π × r² × h

where r is the radius of the circular base, h is the height, and π ≈ 3.14159.

For a sphere (a ball):

V = (4/3) × π × r³

where r is the radius.

For a cone:

V = (1/3) × π × r² × h

For a pyramid (with a square or rectangular base):

V = (1/3) × base area × height

For a cube (a special box where all sides are equal):

V = s³

where s is the length of one edge.

For an irregular object, volume is often found by water displacement: the volume of water displaced equals the object’s volume.

Worked Example

Let’s calculate the volume of a rectangular box with length = 5 cm, width = 3 cm, and height = 2 cm.

  1. Write the formula: V = l × w × h
  2. Plug in the numbers: V = 5 × 3 × 2
  3. Multiply: 5 × 3 = 15; 15 × 2 = 30
  4. Result: V = 30 cm³

So the box holds 30 cubic centimeters. If you need liters, remember 1 L = 1000 cm³, so 30 cm³ = 0.03 L.

For a cylinder with radius 2 cm and height 10 cm:

  1. Formula: V = π × r² × h
  2. r² = 2² = 4
  3. V = π × 4 × 10 = 40π ≈ 125.66 cm³

For a sphere with radius 3 cm:

  1. Formula: V = (4/3) × π × r³
  2. r³ = 3³ = 27
  3. V = (4/3) × π × 27 = 36π ≈ 113.10 cm³

Assumptions

  • Shapes are assumed to be perfect geometric forms (e.g., a cylinder has a perfectly circular base and straight sides).
  • Measurements are taken in the same unit; if not, convert first.
  • For water displacement, the object must not dissolve or react with the liquid, and the liquid level must be read at eye level.
  • These formulas give the mathematical volume, not the actual capacity of a container, which may be less due to wall thickness.

How to Choose the Right Formula

To pick the correct equation, identify the shape of the object. Ask yourself:

  • Does it have flat sides and right angles? → Box or cube.
  • Does it have a circular base and a uniform width? → Cylinder.
  • Does it taper to a point? → Cone or pyramid.
  • Is it round like a ball? → Sphere.
  • Is it irregular? → Use water displacement.

If the shape is a combination (e.g., a cylinder with a hemisphere on top), break it into parts, calculate each volume, and add them.

Common Mistakes and How to Avoid Them

  • Mixing units: Always convert all measurements to the same unit before multiplying. For example, if length is in meters and width in centimeters, convert one to the other.
  • Using diameter instead of radius: In cylinder and sphere formulas, r is the radius (half the diameter). Using diameter gives a result 4 times larger for cylinders and 8 times larger for spheres.
  • Forgetting the 1/3 factor: For cones and pyramids, the 1/3 is essential. Many people forget it and get a volume three times too large.
  • Confusing volume with surface area: Volume is the space inside (cubic units), surface area is the total area of the outer faces (square units). They are different.
  • Rounding too early: If you round π to 3.14, you may get a slightly different answer. For precise work, keep more digits or use a calculator’s π button.

How to Measure Irregular Objects (Water Displacement)

For objects that don’t have a simple geometric shape, water displacement is a reliable method:

  1. Fill a graduated cylinder or overflow can with water to a known level.
  2. Carefully submerge the object completely.
  3. Read the new water level.
  4. The difference between the final and initial water levels is the object’s volume.

If the object floats, push it down with a thin rod (accounting for the rod’s volume if needed) or use a sinker.

This method works because the object displaces its own volume of water. It is commonly used in labs to measure the volume of irregular solids.

Why Volume Matters in Real Life

Volume calculations are used in countless everyday and professional situations:

  • Cooking and baking: Measuring cups and spoons measure volume, and recipes often require converting between cups and milliliters.
  • Construction and DIY: Calculating the amount of concrete for a slab, or the volume of a room for heating/cooling.
  • Medicine and science: Dosing liquids, preparing solutions, and understanding fluid dynamics.
  • Shipping and packaging: Determining how much space a package occupies, which affects shipping costs.
  • Aquariums and pools: Knowing the volume of water helps with chemical dosing and pump sizing.

Frequently Asked Questions

Q: How do I find the volume of a pipe?
A: A pipe is a cylinder. Measure the inner radius (half the inner diameter) and the length of the pipe. Use V = π × r² × h, where h is the length. This gives the volume of the hollow space inside.

Q: What is the difference between volume and capacity?
A: Volume is the amount of space an object occupies, measured in cubic units (cm³, m³). Capacity is the amount of liquid a container can hold, usually measured in liters or gallons. They are related: 1 L = 1000 cm³, and 1 mL = 1 cm³.

Q: How do I convert cubic centimeters to liters?
A: Divide by 1000. For example, 2500 cm³ ÷ 1000 = 2.5 L. Conversely, multiply liters by 1000 to get cm³.

Q: Why is the volume of a cone one-third of a cylinder with the same base and height?
A: This is a geometric fact proven by calculus. If you fill a cone with water and pour it into a cylinder of the same base and height, it takes exactly three cone-fulls to fill the cylinder. The 1/3 factor reflects that.

Q: Can I use the same formula for any prism?
A: For any prism (a shape with a uniform cross-section), volume = area of the base × height. For a rectangular prism, the base is a rectangle, so area = l × w. For a triangular prism, the base is a triangle, so area = (1/2) × base × height of triangle. So yes, the general formula works, but you must calculate the base area correctly.

Q: What if my object is a compound shape?
A: Break it into simpler shapes (e.g., a cylinder with a hemisphere on top). Calculate each volume separately and add them together. If there are holes, subtract the volume of the hole.

Related

Formula used
in m | Mass of solute | g | 2.922 | 0
in mm | Molar mass | g/mol | 58.44 | 0.001
in v | Final solution volume | mL | 250 | 0.001
out c | Molarity | mol/L | m / mm / (v / 1000) | 4
out cmm | Concentration in millimolar | mM | c * 1000 | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →