Free website embeds
Add the roof cost calculator or the cost index map to your site
TheRoofBill offers two free embeds. The roof replacement cost calculator gives your visitors an itemized estimate for their own roof, with tear-off, permits and decking broken out. The cost index map shows the typical cost of the same roof in all 50 states and DC. Both use the same published model as this site, and both are free. There is no sign-up, no API key and no lead capture: we don’t collect your visitors’ names, emails or phone numbers, and nothing is sold to contractors.
Who uses them
Local roofers add the calculator to a pricing or FAQ page so homeowners can see a realistic range before the first call. It sets expectations without replacing your written quote. Real-estate agents use it in listing and buyer guides, where a roof near the end of its life is a common negotiating point. Home-improvement bloggers add the calculator or the map to cost articles so readers get current numbers instead of a stale figure.
Roof cost calculator
Paste this where the calculator should appear. The script lets the frame resize to fit its contents.
<iframe
id="theroofbill-calculator"
src="https://theroofbill.com/embed/calculator"
title="TheRoofBill roof replacement cost calculator"
loading="lazy"
style="width:100%;height:900px;border:0;"
></iframe>
<script>
window.addEventListener("message", function (event) {
var frame = document.getElementById("theroofbill-calculator");
if (!frame || event.origin !== "https://theroofbill.com" || event.source !== frame.contentWindow) return;
if (event.data && event.data.type === "theroofbill:resize" && Number.isFinite(event.data.height)) {
frame.style.height = Math.max(500, Math.min(4000, event.data.height)) + "px";
}
});
</script>Cost index map
Paste this to show the map from the Roof Replacement Cost Index. Each state links to its cost guide.
<iframe
src="https://theroofbill.com/embed/cost-index-map"
title="TheRoofBill Roof Replacement Cost Index 2026 map"
loading="lazy"
style="width:100%;max-width:980px;aspect-ratio:975/700;border:0;"
></iframe>
<p>Source: <a href="https://theroofbill.com/state">TheRoofBill Roof Replacement Cost Index 2026</a></p>What you can change
You can set the frame’s width and starting height in the style attribute, and the calculator frame grows or shrinks on its own when the resize script is included. The calculator’s inputs, figures and branding can’t be changed. Each embed shows a plain, visible credit link back to TheRoofBill, and we ask that you keep it. The resize listener only accepts messages from theroofbill.com and the embedded frame. You can also open the standalone calculator.