This guide shows you how to calculate the unit volume of a regular three-dimensional object—the amount of space it occupies—using its measured dimensions. You’ll learn the formulas for cubes, rectangular prisms (boxes), cylinders, and spheres, and you’ll be able to convert between cubic centimeters, liters, and other common units. No prior math beyond basic multiplication is needed.
Formula
For a rectangular prism (box), the volume is length × width × height:
V = l × w × h
Where:
- V = volume, in cubic centimeters (cm³) or cubic meters (m³)
- l = length, in centimeters (cm) or meters (m)
- w = width, in the same unit as length
- h = height, in the same unit as length
For a cylinder: V = π × r² × h (r = radius of the circular base, h = height).
For a sphere: V = (4/3) × π × r³ (r = radius).
For a cube (all sides equal): V = s³ (s = side length).
To convert cubic centimeters to liters, divide by 1000 (1 L = 1000 cm³). To convert cubic meters to liters, multiply by 1000 (1 m³ = 1000 L).
Worked Example
Using the calculator’s defaults: length = 10 cm, width = 5 cm, height = 2 cm.
Step 1: Multiply length by width: 10 cm × 5 cm = 50 cm² (this is the base area).
Step 2: Multiply the base area by the height: 50 cm² × 2 cm = 100 cm³.
So the volume is 100 cm³.
Step 3: Convert to liters: 100 cm³ ÷ 1000 = 0.1 L.
The calculator shows 100.00 cm³ and 0.100 L, matching our manual calculation.
Assumptions
- The object is a perfect rectangular prism with straight, perpendicular edges.
- All dimensions are measured in the same unit (here, centimeters).
- For cylinders and spheres, the object is perfectly symmetrical.
- Volume is the internal or external space, depending on which dimensions you measure.
What You’ll Need
- A ruler, caliper, or measuring tape (metric units are easiest)
- A calculator (or this page’s calculator)
- The object you want to measure (or its dimensions)
- Pen and paper (optional, for manual calculation)
Step-by-Step
- Identify the shape. Determine whether the object is a cube, rectangular prism, cylinder, sphere, or another regular shape. If it’s irregular, you may need water displacement (Archimedes’ principle) instead of this method.
- Measure the dimensions. Use a ruler or caliper to measure length, width, and height for a rectangular prism; diameter and height for a cylinder; or diameter for a sphere. Record measurements in the same unit (e.g., all in centimeters). For a cylinder, measure the diameter of the circular base and divide by 2 to get the radius. For a sphere, measure the diameter across the widest point and divide by 2.
- Choose the correct formula. For a rectangular prism: V = l × w × h. For a cube: V = s³. For a cylinder: V = π × r² × h. For a sphere: V = (4/3) × π × r³.
- Plug in your numbers. Substitute your measured dimensions into the formula. Ensure all units are the same (e.g., all in cm).
- Perform the multiplication. Multiply the numbers. For a cylinder, first square the radius, then multiply by π (approximately 3.14159), then multiply by height. For a sphere, cube the radius, multiply by π, then multiply by 4/3.
- Record the result with cubic units. If you measured in centimeters, the volume is in cubic centimeters (cm³). If in meters, it’s cubic meters (m³).
- Convert units if needed. To get liters, divide cm³ by 1000. To get milliliters, use 1 cm³ = 1 mL. To get gallons (US), multiply m³ by 264.172 or divide cm³ by 3785.41.
Common Mistakes
- Mixing units: Using length in meters and width in centimeters without converting leads to wildly wrong volumes. Always convert to one unit first.
- Forgetting the cube in cubic units: Volume is always in cubic units (cm³, m³), not square units (cm²). If you get cm², you probably multiplied only two dimensions.
- Using diameter instead of radius for circles: For cylinders and spheres, the formula uses radius (half the diameter). Using the full diameter triples or octuples the volume incorrectly.
- Rounding π too early: Using 3.14 instead of 3.14159 can shift your result by a small amount. For precise work, use the π button on your calculator.
- Measuring external dimensions when you need internal volume: For a container, the volume it holds is based on inside dimensions, not outside. Subtract wall thickness if needed.
Tips
- Measure twice: small measurement errors become large volume errors because they are multiplied three times.
- For irregular objects, use water displacement: submerge the object in a graduated cylinder filled with water, and the rise in water level equals the volume.
- When converting, remember: 1 cm³ = 1 mL, so 1000 cm³ = 1 L.
- For large volumes like rooms, measure in meters to get cubic meters directly, then multiply by 1000 to get liters.
- If you only have a ruler with inches, you can still calculate in cubic inches and then convert: 1 in³ = 16.387 cm³.
Troubleshooting
Your result looks too small or too large. Check that you used the same unit for all dimensions and that you converted correctly. For instance, a box of 10 cm × 5 cm × 2 cm is 100 cm³, which is 0.1 L—a small juice box. If you expected more, you might have measured in millimeters but treated them as centimeters.
You get a negative volume. This only happens if you enter a negative dimension. Lengths cannot be negative; re-measure and ensure you enter positive numbers.
The calculator shows “Cannot compute” for a cylinder or sphere if you enter a negative radius or height. Check your inputs.
Your cylinder volume is off by a factor of about 3. You likely used the diameter instead of the radius. Remember r = d/2.
You’re measuring a container and need the capacity. Measure the inside dimensions, not the outside. For a cylinder, measure the internal diameter and internal height.
Frequently Asked Questions
Q: What is the difference between volume and capacity?
A: Volume is the space an object occupies; capacity is how much a container can hold. For a hollow container, capacity is the internal volume. Units are the same (liters, cm³).
Q: How do I calculate the volume of a cylinder if I only know the diameter?
A: Divide the diameter by 2 to get the radius, then use V = π × r² × h. For example, a cylinder with diameter 4 cm and height 10 cm has r = 2 cm, so V = π × 4 × 10 ≈ 125.66 cm³.
Q: Why is volume measured in cubic units?
A: Because volume is three-dimensional. You multiply three lengths (or a length times an area), so the unit is raised to the third power, like cm³ (cubic centimeters).
Q: Can I calculate the volume of an irregular object using this method?
A: No, these formulas only work for regular geometric shapes. For irregular objects, use water displacement: record the water level before and after submerging the object, and the difference is the volume.
Q: How do I convert cubic centimeters to milliliters?
A: They are exactly equal: 1 cm³ = 1 mL. So 250 cm³ is 250 mL.
Q: What if my object is a composite shape, like a cylinder with a hemisphere on top?
A: Break it into simpler shapes, calculate each volume separately, and add them together. For example, a cylinder (πr²h) plus a hemisphere (2/3πr³) gives total volume.
Related
Formula used
in m | Length | cm | 10 | 0 in w | Width | cm | 5 | 0 in h | Height | cm | 2 | 0 out v | Volume | cm³ | m * w * h | 2 out vl | Volume in liters | L | v / 1000 | 3
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
- Normality to g/L Converter & Formula29.220 g/L
- Normality to meq/mL Conversion Calculator1.0000 meq/mL
- Normality Test Q-Q Plot: How to Read It
- Normality Test Results: How to Analyze Them
- Normality Slay the Spire?
- Normality Test for Paired t Test: How to Check