DevBox Fast developer utilities, no signup

New: a subnet calculator that handles /31 and /32 correctly

· DevBox

Working out a subnet by hand means the same bit math every time: build a mask from the prefix length, AND it with the address for the network, OR it with the mask’s complement for the broadcast. Our new Subnet Calculator does that instantly, and gets the edge cases right that a lot of quick mental math (or a sloppy tool) gets wrong.

Try 192.168.1.0/24 for the ordinary case, or 10.0.0.0/30 to see the smallest subnet that still gets a network and broadcast address of its own — and if you write technical docs, the calculator is embeddable on your own site with one iframe.

Share this result