Technical TerrenceGet the newsletter
SYS ■ ONLINENODE // NETWORKING@TECHTERRENCE

Subnet Calculator

IPv4 network, broadcast, usable hosts, and equal splits. The math stays in this browser.

Input

Address and prefix

How it works

What the numbers mean

A subnet is the group of IPv4 addresses that share one network prefix. The prefix, such as /24, says how many bits belong to the network and how many are left for hosts. This page does that arithmetic in your browser. The address and mask you type are not sent to a server, and there is no sign-in.

The result shows the network address, the broadcast address, the subnet mask, and the wildcard mask. It also shows the first and last addresses you can give to a computer, plus the total address count and the usable host count. On an ordinary prefix, the network and broadcast addresses are reserved, so usable hosts are the total minus two.

A /31 follows RFC 3021: both addresses are usable, which is common on a point-to-point link. A /32 is a single host. The scope badge marks a private range, carrier-grade NAT, loopback, link-local space, or a public address. The binary lines show where the prefix ends.

Split cuts that network into equal smaller networks. The table lists each network, its usable range, its broadcast address, and its host count. More than 64 networks shows the first 64, with a note. Copy summary puts the numbers on your clipboard.

This page does not design a VLAN plan or check a router. For a lab with more than one VLAN, see Router-on-a-Stick in GNS3. For the path from the provider to a PC, see From the demarc to your desk.

FAQ

Does this page send the address I type?

No. The network, broadcast, mask, and split are calculated in your browser. There is no sign-in and no server request for the math.

What is a usable host?

On a normal prefix, the network address and the broadcast address are reserved, so usable hosts are the total minus two. A /31 treats both addresses as usable. A /32 is one host.

Can I use this to plan VLANs?

It shows equal splits of one parent network. It does not configure a switch. The router-on-a-stick guide shows how those subnets look in a lab.

Back to the dashboard

subscribe --weekly
> A short weekly tip. No fluff.

Get the newsletter

One useful note on AI, Windows, or Microsoft 365. You can leave anytime.

One useful note a week. Leave anytime.