Embed our calculators

Add the free cubic yard calculator to your own website with one iframe. No signup, no API key, no cost — keep the attribution link and it is yours to use.

What the widget is

The widget is a compact version of our Cubic Yard Calculator. Visitors enter length, width and depth, pick a material (bark mulch, topsoil, gravel, sand or concrete), and get the exact volume, the order quantity with a 10% waste allowance rounded up to the nearest quarter yard, the bag count for 2 cu ft bags, and the weight in tons. All the math runs in the visitor’s browser — nothing is sent anywhere, and there is no tracking.

Add it to your site

Copy this snippet and paste it into your page where you want the calculator to appear:

<iframe src="https://yardlogic.netlify.app/embed/cubic-yard-calculator/" width="100%" height="520" style="border:1px solid #d9d2c5;border-radius:10px" title="Cubic Yard Calculator"></iframe>
<p style="font-size:12px;text-align:right"><a href="https://yardlogic.netlify.app/cubic-yard-calculator/">Cubic Yard Calculator</a> by YardLogic</p>

Recommended size

Use width="100%" and height="520". The widget is designed to fit a 520 px tall frame at any width down to about 320 px; below that, the form stacks and the frame may need a little more height. The border and rounded corners in the snippet are optional — style the frame to match your site.

Attribution

The snippet includes a small attribution line below the calculator — “Cubic Yard Calculator by YardLogic” — linking back to the full calculator, and the widget itself carries the same credit at the bottom. Keeping both links visible is the only condition of use. Please do not hide them, restyle them out of view, or remove them.

Terms

  • Free for any site — personal, commercial, or a client’s site. No licence fee, no usage limit.
  • No tracking. The widget sets no cookies, runs no analytics and collects no data from your visitors.
  • No warranty. The calculator is provided as-is; results are estimates for planning. We may update the widget’s design or content at any time, and the embed URL stays the same.

Live demo

This is the widget running live — try it:

Cubic Yard Calculator by YardLogic

Want the full version with truck loads, cost comparison and an order summary? See the Cubic Yard Calculator. More embeddable calculators are planned — if there is one you would like, let us know via the About page.