Subnet Calculator

Type a range to see its addresses and mask bit by bit, how it splits, how your subnets fit in it, and whether another range overlaps it.

Takes10.20.5.7/1610.20.0.0 255.255.0.010.20.0.0 - 10.20.3.2552001:db8::/48

The 32 bits
Usable in
Split itinto

#SubnetUsableHosts
Plan your subnets

Each one's name and the hosts it needs: it gets the smallest block that fits, the biggest placed first so nothing is lost to alignment.

NameHosts
NameSubnetUsableRoom
Does it fit?

An address or a range: is it inside, does it overlap? (A peering, a VPN, another VNet.)

Usable hosts depend on where the subnet lives. On any network the first address (the network) and the last (the broadcast) are kept; Azure and AWS keep the first four and the last, Google Cloud the first two and the last two. Azure and Google Cloud take subnets down to a /29, AWS from a /16 to a /28.

More tools

Keep exploring.

All tools

Markdown Editor

Write Markdown and see it as you type, with GitHub alerts, tables, tasks, math, Mermaid and PlantUML.

Text Compare

Two texts or files side by side, every change lined up to the character.

Material Colors

Google's original Material Design palette from 2014, every shade and accent of its 19 hues in one grid, a tap to copy.