Embed the subnet calculator
Add a fast subnet calculator to your own site with a single line of HTML. No script tag to install, and it works anywhere an iframe does.
Live preview
Copy the snippet
Paste this where you want the calculator to appear:
<iframe src="https://subnetkit.dev/embed/widget.html" title="Subnet calculator by SubnetKit" width="360" height="330" loading="lazy" style="border:0;max-width:100%" ></iframe>
Responsive version
For a fluid layout that fills its container up to 360px wide, use this instead:
<div style="max-width:360px;margin:0 auto">
<iframe
src="https://subnetkit.dev/embed/widget.html"
title="Subnet calculator by SubnetKit"
width="100%"
height="330"
loading="lazy"
style="border:0"
></iframe>
</div>Frequently asked questions
How do I embed the subnet calculator?
Copy the iframe snippet on this page and paste it into your HTML where you want the calculator to appear. It works in blogs, docs, wikis, and any page that allows an iframe.
Is the embed free?
Yes, completely free, with no account needed. The widget links back to SubnetKit with a small 'Powered by' line, which is all we ask in return.
Does the widget send data to a server?
No. Like the rest of the site, the calculation runs entirely in the visitor's browser. Nothing they type is uploaded.
Can I resize the widget?
Yes. Adjust the width and height attributes, or wrap it in a container as shown in the responsive snippet. The widget adapts to its container width.