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
- Find the calculator below and copy its code.
- Paste it into your page's HTML where the calculator should appear.
- 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 widgetCubic Feet to Cubic Yards
Full page · Open widgetCubic Yards to Tons
Full page · Open widgetDirt Calculator
Full page · Open widgetTopsoil Calculator
Full page · Open widgetSoil Calculator
Full page · Open widgetMulch Calculator
Full page · Open widgetGravel Calculator
Full page · Open widgetStone Calculator
Full page · Open widgetSand Calculator
Full page · Open widgetSod Calculator
Full page · Open widgetPaver Calculator
Full page · Open widgetConcrete Calculator
Full page · Open widgetAsphalt Calculator
Full page · Open widgetSquare Yard Calculator
Full page · Open widgetOptional: 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
- The widgets are free to use on any site, commercial or not.
- Keep the "Powered by YardCalculator" link visible. It is the only credit asked for.
- Do not change the calculator, frame its results as your own figures, or place ads inside or over the frame.
- Results are estimates; the same disclaimer and terms of use apply.
Questions or a calculator you would like to embed that is not listed? See the contact page.