Embed the STR Investment Calculator
Add a free short-term rental calculator to your blog, real estate site or newsletter page. Visitors enter a price, nightly rate and costs, and see revenue, cash flow, cap rate and cash-on-cash return instantly.
Live preview
Copy and paste
Paste this where you want the calculator to appear. In most site builders, use a "Custom HTML" or "Embed code" block.
<iframe
id="ssr-calc"
src="https://shortstayroi.com/embed/calculator"
title="Short-term rental investment calculator"
width="100%"
height="760"
style="border:0;max-width:720px;"
loading="lazy"
></iframe>
<p style="font-size:12px;margin:4px 0 0;">
Powered by <a href="https://shortstayroi.com/str-calculator" target="_blank" rel="noopener">shortstayroi.com</a>
</p>Please keep the "Powered by shortstayroi.com" link. It is how the calculator stays free.
Optional: auto-resize
The calculator has a fixed starting height of 760px. If you want the frame to fit its content exactly, add this script after the snippet above. It only listens for messages from shortstayroi.com.
<script>
window.addEventListener("message", function (e) {
if (e.origin !== "https://shortstayroi.com") return;
if (!e.data || e.data.type !== "ssr-embed-height") return;
document.getElementById("ssr-calc").style.height = e.data.height + "px";
});
</script>Good to know
- It works on any site that lets you add an iframe or custom HTML.
- It starts with example numbers (not market data). Visitors replace them with their own.
- The results are estimates for planning, not financial advice.
- The widget does not set cookies or show ads.