Subnet Calculator

Calculate IP subnets, determine network ranges, and plan your homelab network segmentation.

Calculate Subnet

/0 /8 /16 /24 /32

Subnet Details

Network Address
192.168.1.0/24
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Usable IP
192.168.1.1
Last Usable IP
192.168.1.254
Total Hosts
256
Usable Hosts
254
IP Class
Class C
Address Type
Private (RFC 1918)
Binary Subnet Mask
11111111.11111111.11111111.00000000

Common Subnet Sizes

CIDRSubnet MaskUsable HostsName
/8255.0.0.016,777,214Class A
/16255.255.0.065,534Class B
/24255.255.255.0254Class C
/25255.255.255.128126Half C
/26255.255.255.19262Quarter C
/27255.255.255.224301/8 C
/28255.255.255.240141/16 C
/29255.255.255.24861/32 C
/30255.255.255.2522Point-to-Point
/31255.255.255.2542RFC 3021
/32255.255.255.2551Single Host

Quick Presets

Homelab VLAN Planning

Network Planning Tips

  • • Use /24 subnets for most homelab VLANs
  • • Reserve .1 for the gateway
  • • Use .2-.10 for infrastructure
  • • Enable DHCP from .100-.250
  • • Keep IoT devices isolated
  • • Document your IP allocations