Interactive Tool · Networking Zero to Hero

Subnet Calculator

See the bits. Learn the math.

01 · Configure Your Network

IP Address
. . .
Quick Preset
Prefix Length - drag to borrow bits /24
/0/4/8/12/16 /20/24/28/32
192
168
1
100
Network bits - identify the subnet
Host bits - identify the device

02 · Live Inspector

CIDR Notation
192.168.1.100/24
Subnet Mask
255.255.255.0
Network Address
192.168.1.0
Broadcast Address
192.168.1.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Usable Hosts
254
Network Bits
24 bits
Host Bits
8 bits

03 · Key Concepts

Network Bits

Network bits identify which subnet a device belongs to. Every device sharing the same network bits is reachable without a router. This is how LANs are formed.

Host Bits

Host bits identify the individual device within a subnet. The network address sets all of them to 0. The broadcast sets all of them to 1. Everything between is usable.

Borrowing Bits

Move the slider right by 1 and you borrow one host bit. This doubles your subnets but halves your hosts. Every bit borrowed is a trade-off - more networks, less room on each one.

Why /24 Everywhere?

A /24 gives 254 usable hosts - enough for any home or small office, and clean to read in decimal. It's one full octet for hosts. Your router is almost certainly 192.168.x.0/24 right now.

Test what you know. The bits don't lie.

Question

10.4.12.200/22

What is the network address?