Embed the ClearBMI Calculator

Add a free BMI calculator to your website, blog or clinic page. It works on phones and computers and runs entirely in your visitor’s browser.

Copy this code

<iframe src="https://clearbmi.com/embed/widget/" title="BMI calculator" id="clearbmi-widget" width="100%" height="1180" style="border:0;max-width:520px" loading="lazy"></iframe>
<script>addEventListener("message",function(e){if(e.origin==="https://clearbmi.com"&&e.data&&e.data.clearbmiHeight)document.getElementById("clearbmi-widget").style.height=e.data.clearbmiHeight+"px"})</script>
<p style="font-size:13px">BMI calculator by <a href="https://clearbmi.com/" rel="nofollow">ClearBMI</a></p>

The short script makes the calculator as tall as its content, so it never needs a scrollbar.

Terms

Preview