If you teach networking, you've probably sent students to a subnet calculator at some point. The trouble with linking out is that students leave your page, land somewhere covered in ads, and often don't come back to the lesson.
So we made ours embeddable. You can put Courseiva's subnet calculator, VLSM calculator and wildcard mask calculator straight into your own course page, blog post or study-group site, for free.
What your students get
The calculators are the same ones on our labs page, just without the surrounding site:
- Subnet calculator: network address, broadcast, usable range, mask, wildcard and host count, with the binary breakdown so students can see why the answer is what it is.
- VLSM calculator: allocates subnets largest-first from a parent block, the way you'd teach it.
- Wildcard mask calculator: for ACL and OSPF network statements, where students most often get the inversion wrong.
The embedded versions show no ads and no cookie banner, and they work on phones.
How to embed it
Each calculator page has an "Embed this calculator" box with a ready-made snippet and a copy button. It looks like this:
<iframe src="https://courseiva.com/embed/subnet-calculator" width="100%" height="640"
style="border:0;border-radius:12px" title="Subnet calculator by Courseiva" loading="lazy"></iframe>
<p style="font-size:13px">Subnet calculator by <a href="https://courseiva.com/labs/subnet-calculator">Courseiva</a></p>
For the other two, swap the address for /embed/vlsm-calculator or /embed/wildcard-mask.
Where you paste it depends on your platform:
- WordPress: add a Custom HTML block and paste the snippet. (A plain Embed block won't work, because those expect a URL from a known provider.)
- Moodle: in a Page or Label, open the editor's HTML/source view and paste. Some sites restrict iframes, in which case your Moodle admin can allow courseiva.com.
- Canvas: in the Rich Content Editor, switch to the HTML editor and paste. As with Moodle, institutions sometimes limit which sites can be framed.
- Google Sites: Insert → Embed → Embed code, then paste.
- Plain HTML or a static site: paste it wherever you want the calculator to appear.
If the calculator looks cramped, increase the height value. 640 suits the subnet calculator; the VLSM one is happier around 760.
The one thing we ask
Please keep the small credit line under the calculator. It costs you nothing and it's how other teachers find the tool. That's the whole deal: no sign-up, no API key, no usage limit.
Using it in a lesson
A pattern that works well: give students a host address and prefix, ask them to work out the network and broadcast addresses by hand, then let them check with the embedded calculator. The binary view shows them exactly where their reasoning went wrong. If you want something printable to go with it, our one-page subnetting cheat sheet is free as a PDF.
If you embed one of these, we'd genuinely like to hear how it went. Tell us via the contact page, including anything that didn't work on your platform.