Skip to content

Cubic Yard Calculator

Enter the length, width and depth of a rectangular space. Choose each measurement unit separately to find its volume and the number of bags needed for your own bag size.

Free, no sign-up · Last updated

Example assumption only. Enter the filled volume or yield printed on your bag, not its weight.
US defaults ·

Cubic yards

0.926 yd³

Cubic feet
25
Cubic metres
0.708
Whole bags (rounded up)13
Bags before rounding12.5

Generic rectangular volume for any material. Bag size is an editable volume assumption. No weight, compaction or waste allowance is included.

Definition

What a cubic yard is

A cubic yard is the volume of a cube one yard long, one yard wide and one yard deep. Each edge is three feet long, so the cube holds 27 cubic feet. It is a common unit for bulk materials such as soil and mulch.

Exact conversion
27 cubic feet per cubic yard
Measure depth
Use the thickness of the finished layer
Buying bags
Divide by the volume printed on the bag

Volume starts with three measurements

An area measurement describes a surface. Adding a depth turns it into a volume, which is the space a material occupies. A shallow garden bed, a storage box and a rectangular excavation all use the same multiplication. Measure inside the boundaries of the space you want to fill, rather than along the outside of a container.

For a sloping or uneven surface, take several depth measurements and decide on a representative average. If the shape changes substantially, split it into rectangular parts and add their volumes. Avoid counting overlapping parts twice. This calculator handles one rectangular part at a time.

Keep the measurement units clear

Length, width and depth each have a separate unit choice. This is helpful when a tape gives length in feet but a product instruction gives depth in inches. Choose the units before reading the result, and check every label when returning to a saved measurement. A cubic unit contains three dimensions, so volume conversions differ from length conversions.

The three volume results all describe the same space. Cubic yards may suit a bulk supplier, cubic feet may match a bag label, and cubic metres may match a metric delivery quote. Switching the bag volume unit does not change the measured space; it changes only how the bag requirement is calculated.

A worked volume and bag example

Take a rectangular bed that is 10 feet long and 10 feet wide, with a desired layer 3 inches deep. The code converts depth to 0.25 feet and calculates 25 cubic feet. Dividing by 27 gives 0.925926 cubic yards. The metric equivalent is 0.707921 cubic metres.

Using an example bag volume of 2 cubic feet gives 12.5 bags before rounding. The order count is therefore 13 whole bags. The form shows the unrounded requirement as well, so you can understand why a fraction of a bag becomes an additional whole bag in the order count.

Use a suitable bag yield

The starting bag size is an editable example assumption, not a standard for every product. Loose garden material may list its packaged volume, while a dry mix may list its yield after preparation. Use whichever figure describes the material in the state needed for your project. Never substitute kilograms or pounds into a volume field.

No spare material is added automatically. If a project needs extra for uneven ground or handling losses, increase the dimensions or plan that allowance separately. The result also leaves out prices, compaction, structural design and material weight. Keeping these choices separate makes the volume estimate reusable for many different materials.

Step-by-step example

Fill a 10 × 10 ft rectangular bed to a depth of 3 in using bags that each contain 2 ft³.

StepResult
Volume in cubic feet25 ft³
Volume in cubic yards0.925926 yd³
Volume in cubic metres0.707921 m³
Bag requirement before rounding12.5 bags
Whole bags13

Formulas used

Rectangular volume and whole bags

Volume = length × width × depth, after converting all dimensions to feet

Cubic yards = cubic feet ÷ 27

Cubic metres = cubic feet × 0.028316846592

Whole bags = round up (volume ÷ volume per bag)

Example: 10 ft × 10 ft × (3 ÷ 12) ft = 25 ft³ = 0.925926 yd³. 25 ÷ 2 = 12.5 bags, rounded up to 13.

When the answer can mislead

  • Treating a 3 in layer as 3 ft multiplies the volume by 12.
  • A bag marked only with a weight needs a separate volume or density to compare it with a bulk order.
  • Settled fill may occupy less space than the same material delivered loose.

Questions

How do I calculate cubic yards?

Convert length, width and depth to the same unit and multiply them. When using feet, divide the resulting cubic feet by 27. The calculator performs these conversions even when you enter a different unit for each dimension. It measures a rectangular volume without assuming a particular material.

How much is a 10 by 10 foot area at 3 inches deep?

The depth is 0.25 feet, so the volume is 25 cubic feet. That equals 0.926 cubic yards or 0.708 cubic metres, rounded to three decimal places. If your bags contain 2 cubic feet each, the exact requirement is 12.5 bags, so buy 13 whole bags before any separate waste allowance.

Can I enter feet for length and inches for depth?

Yes. Each dimension has its own unit selector, offering feet, inches, yards and metres. Match the selector to the measurement beside it. There is no need to turn an inch measurement into a decimal foot measurement yourself, and you can also mix imperial and metric measurements.

Can I enter the weight printed on a bag?

The bag field needs a volume or finished yield, not a weight. Bags with the same weight can fill very different spaces depending on the material and mixing instructions. Check the product label for cubic feet, cubic metres or litres of coverage at the intended depth.

How many 50 litre bags fill a cubic metre?

The calculation gives exactly 20 bags. This follows from the volume of the space and the volume per bag, without any density assumption. If the material settles, spills or compacts, you may need a separate allowance. Use the yield supplied for the product you actually plan to buy.

Does this calculate gravel weight or concrete mix?

No material density or mixing recipe is assumed here. Use the gravel calculator for an editable density and estimated weight, the concrete calculator for its concrete options, or the mulch calculator for garden materials. This page is useful when you only need the size of the space.

Sources

  1. NIST: Conversion factors by unit type
Last updated How we check
Embed this calculator
Cite this calculator

Cubic Yard Calculator. CalculatorLab. https://calculatorlab.site/calculators/cubic-yard-calculator/. Last updated .