Calculate Cubic Yards template

Put a cubic yard or volume calculator on your website and let your customers calculate the quantity and price of landscaping and construction materials.

No credit card required
Cancel anytime

4.8 out of 5 stars

4.8 / 5
"Any website needs a calculator!"

What is a Cubic Yard Calculator

A cubic yard calculator quickly converts length, height, and width measurements into cubic yards or any other unit of volume you desire such as cubic feet, cubic inches, or cubic meters.

With our easy-to-use calculator builder, you can customize your own yardage calculator to do pretty much anything you want it to do. Simply plug in your own formulas and equations (such as the ones you already use in Excel or Google Sheets) into the calculator builder so that your customers and target audience can use it whenever they need to estimate how much they need.

Want your calculator to automatically turn volume measurements made in inches, feet, meters, gallons, or tonnage into cubic yards? Want to give your customers an easy way of calculating how many bags, sacks, or buckets of material they'll need for their projects? You can set it up quickly in just a few minutes with no advanced coding involved.

It eliminates the extra steps needed to explain to your customers how much material or product they require which helps you convert leads into sales much faster. They can simply do it on your website and click the 'Buy' or 'Request Quote' button as soon as they've figured out how much they want.

The Cubic Yardage Formula

A cubic yard is simply a measurement of volume. The common equation to calculate cubic yards is to measure length, width and height, and multiply them altogether. This will allow you to get the exact volume whether all of the sides are perfectly square or some sides are longer than others (rectangular).

Volume (Cubic Yard) = Length (Yards) x Width (Yards) x Height (Yards)
Volume Image

The measurements for length, width and height have to be in yards to get the volume in cubic yards.

For reference, 1 yard = 3 feet or 36 inches.

The Applications for a Cubic Yard Calculator, Like Dirt Calculations

Measurements in cubic yards or yards are most often used in construction and landscaping. It’s a convenient way to measure large quantities of materials such as concrete, gravel, dirt and mulch.

Businesses that measure volume in cubic yards, cubic feet and cubic meters include:

  • Construction
  • Gardening, Landscaping and Agriculture
  • Home improvement
  • Waste management
  • Shipping and moving services
  • Logistics and warehousing
  • Storage units
  • Mining
  • Manufacturing

All the above mentioned industries use, haul and store materials in bulk. Similar businesses that deal with retail customers who require smaller quantities will also benefit from a cubic yard calculator that automatically converts cubic yards into cubic feet, cubic inches or even into gallons.

Common materials and products that are measured in cubic yards include:

  • Concrete
  • Sand
  • Gravel
  • Rocks
  • Soil
  • Dirt
  • Compost
  • Mulch
  • Dumpsters

You can create a calculator to convert cubic yards into pre-packaged quantities like bags, sacks, buckets, barrels, containers or truck loads of whatever product or service you’re offering. This is very useful for quickly determining how many trips it will take to transport or haul the materials.

Cubic Feet to Cubic Yards

Most people measure things in feet and inches. These measurements first have to be converted into yards in order to calculate the volume in cubic yards.

Using our calculator builder, you can add a drop-down list to your cubic yard calculator so customers can easily pick any unit of measurement they’d like to use.

A cubic yard calculator can also automatically calculate the price of the materials for your customers which greatly simplifies the buying process and gives them a compelling reason to click on your call-to-action buttons.

To convert feet into yards, simply divide the measurement by 3.


5 feet ÷ 3 = 1.67 Yards

12 feet ÷ 3 = 4 Yards

To convert inches into yards, simply divide it by 36.


16 inches ÷ 36 = 0.45 Yards

24 inches ÷ 36 = 0.67 Yards

You can convert cubic feet into cubic yards by dividing the volume (in cubic feet) by 27, which is the number you get when you multiply 3 feet by 3 feet by 3 feet.


27 Cubic Feet ÷ 27 = 1 Cubic Yard

64 Cubic Feet ÷ 27 = 2.37 Cubic Yards

To convert cubic inches into cubic yards, divide the volume (in cubic inches) by 46,656, which is what you get when you multiply 36 inches by 36 inches by 36 inches.


216 Cubic Inches ÷ 45,656 = 0.0047 Cubic Yards

It’s more convenient for your customers if your cubic yard calculator can automatically convert any dimensions they enter into cubic yards.

You can give them the ability to convert cubic meters into cubic yards by simply multiplying the volume in cubic meters by 1.308.


3 Cubic Meters x 1.308 = 3.92 Cubic Yards

Calculating Cubic Yardage for Different Shapes

Many projects will require volume calculations for different shapes such as cylinders for posts and columns, and triangular prisms for ramps and slopes.

You can create separate calculators for different shapes and put them on different pages or let your customers select the type of volume calculation they want from a drop-down menu before they enter their measurements.

To calculate the volume of a cylinder you just need two measurements — the radius and the height. Multiplying π (or its approximate value of 3.14) with the square value of the radius gives you the area of the circle. Multiplying the resulting area in square yards with the height of the cylinder gives you the volume.

The formula for the volume of a cylinder is illustrated below:

Volume = π x (Radius)^2 x Height
Volume Radius image

Calculating the volume of a triangular prism that has a right angle is similar to calculating the volume of a cube or rectangular box. It’s basically a box that’s been sliced in half diagonally. To get its volume in cubic yards, just take the length, height and base (width) measurements and divide it in half.

To calculate the volume of a right-angled triangular prism, use the following formula:

Volume = ½ (Base x Height x Length)

Volume right-angled triangular prism image

To get the area and volume of non-right triangles, you’ll need to find the angle of one of the corners so you can use the sine function.

These are just some of the examples of volume calculations you can build into your calculator. You can also add calculations and menus for other shapes like spheres, pyramids and cones — just to name a few.

There are endless customizations available and you can fine tune your volume calculator to suit whatever calculations you need for your niche.

Other Benefits of a Cubic Yard Calculator for Your Business

A cubic yard calculator is an effective marketing and sales tool for any business that has an online presence. It not only makes your website more dynamic and interactive but also helps you attract more traffic and generate more leads with minimal effort on your end.

It lets you collect more data about what your customers are looking for so you can adjust your marketing and business strategies to better meet their needs. Once you've built your calculator widget, we've made it so that you can easily integrate it with your favorite CRM, analytics, and payment platforms using Zapier.

Adding a custom cubic yard calculator to your website will also help your SEO efforts in many ways. It makes people spend more time on your website which reduces your bounce rate. You can even target specific keywords like 'gravel calculator', 'dirt and mulch calculator', 'how many yards of gravel do I need', or 'square feet to cubic yards of concrete to capture a specific market. Over time, it will help improve your organic and local SEO metrics and make your site more visible to your target audience.

People will also appreciate the added value a cubic yard or volume calculator brings as it eliminates the guesswork when it comes to estimating orders sizes and pricing. This makes your brand stand out more and makes your website a more useful resource to a wider audience. They're less likely to check out your competitors' websites if they can immediately find the exact information they're looking for on your website. They'll be more compelled to click on your call-to-action buttons to complete their order or request a quote if your pricing is transparent and easily accessible.

With ConvertCalculator's intuitive calculator builder, you can quickly create different calculator widgets for different sections of your website such as your:

  • Product pages
  • Pricing and Services section
  • FAQ and Help section
  • Landing pages
  • Blog posts

How to Add a Cubic Yard Calculator to your Website

We have a comprehensive Help section that will walk you through all the steps you’ll need to start building your own calculator.

You can customize the layout and look of your calculator with simple drag-and-drop operations. You can make it so that your calculator blends in seamlessly with the design of your website. All you need is the ability to edit the HTML code of your pages so that you can insert the custom code that will be automatically generated for your calculator widget.

Our calculators work seamlessly with all the popular website building platforms such as Wix, Squarespace, Weebly, Webflow, GoDaddy, WordPress, Joomla, and many more.


If you want to try it out, you can add your own cubic yard calculator today for free until you reach more than 100 monthly visits. After that, it costs less per month than what a developer typically charges per hour.

Our pricing is also scalable depending on the number of features you want and the number of monthly visits and submissions you get on your calculator widget. For example, if you’d like integration with Zapier, you’ll need to move to our Pro plan while the ability to create multi-page calculators and access to our API is available only with our Premium plan.

Is this calculate cubic yards template not what you are looking for?

Resources related to calculate cubic yards