Skip to content

Embed a calculator

Landscape suppliers, contractors and home-improvement writers can add any YardCalculator calculator to their own pages for free. Each widget is the same tested calculator as on this site, shown in a frame with a small "Powered by YardCalculator" link. There is nothing to sign up for, and the widget has no ads, cookies or tracking.

How to add a widget

  1. Find the calculator below and copy its code.
  2. Paste it into your page's HTML where the calculator should appear.
  3. Adjust the height if the frame is too short for your layout (taller on narrow screens).

For a fixed light or dark look, add ?theme=light or ?theme=dark to the end of the address in the code. Without it, the widget follows the visitor's device setting.

Preview

Embed code for each calculator

Cubic Yard Calculator

Full page · Open widget

Cubic Feet to Cubic Yards

Full page · Open widget

Cubic Yards to Tons

Full page · Open widget

Dirt Calculator

Full page · Open widget

Topsoil Calculator

Full page · Open widget

Soil Calculator

Full page · Open widget

Mulch Calculator

Full page · Open widget

Gravel Calculator

Full page · Open widget

Stone Calculator

Full page · Open widget

Sand Calculator

Full page · Open widget

Sod Calculator

Full page · Open widget

Paver Calculator

Full page · Open widget

Concrete Calculator

Full page · Open widget

Asphalt Calculator

Full page · Open widget

Square Yard Calculator

Full page · Open widget

Optional: automatic height

Calculators get taller when a visitor opens "More options". To let the frame grow and shrink with its content, paste this once on the same page, after the widget code. It only listens for height messages sent from YardCalculator widgets.

Terms for embedding

Questions or a calculator you would like to embed that is not listed? See the contact page.