Skip to main content
Network tools

IP subnetting calculator

Compute network and broadcast addresses, host ranges, CIDR, masks, and IPv6 prefixes - client-side for quick planning and troubleshooting.

Configuration
IP version
IPv4 address
Mask input
CIDR notation

Network bits (0–32)

Quick CIDR

Network information

Derived from your inputs (updates as you type)

Network address
192.168.1.0
Broadcast address
192.168.1.255
First host
192.168.1.1
Last host
192.168.1.254
Total hosts
256
Usable hosts
254
CIDR
/24
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255

Binary representation

IP address
11000000.10101000.00000001.00000000
Network address
11000000.10101000.00000001.00000000
Broadcast address
11000000.10101000.00000001.11111111
Subnet mask
11111111.11111111.11111111.00000000

Common subnet sizes

  • /24: 254 usable hosts (typical LAN)
  • /25: 126 hosts
  • /26: 62 hosts
  • /27: 30 hosts
  • /28: 14 hosts
  • /29: 6 hosts
  • /30: 2 hosts (point-to-point)

RFC 1918 private ranges

Not routable on the public internet; use with NAT as needed.

10.0.0.0/8
10.0.0.0 – 10.255.255.255
Class A private (~16.7M addresses)
172.16.0.0/12
172.16.0.0 – 172.31.255.255
Class B private (~1M addresses)
192.168.0.0/16
192.168.0.0 – 192.168.255.255
Class C private (~65k addresses)