Free Online Tool

Subnet Calculator – IPv4 Subnet & IP Range

Free IPv4 subnet calculator — enter an IP with a CIDR prefix or mask to get the network, broadcast, usable hosts, wildcard and binary octets.

Reviewed by Prime Metric • Updated September 2026 WhatsApp

Network Addresses

CIDR notation192.168.1.0/24
Network address192.168.1.0
Broadcast address192.168.1.255
Subnet mask255.255.255.0
Wildcard mask0.0.0.255

Host Range

First usable host192.168.1.1
Last usable host192.168.1.254
Usable hosts254
Total addresses256
IP classClass C
Address typePrivate

Binary Octets

IP11000000.10101000.00000001.00001010
Mask11111111.11111111.11111111.00000000
Network11000000.10101000.00000001.00000000

About this Tool

The IPv4 Subnet Calculator splits any IPv4 address and CIDR prefix (or subnet mask) into its network address, broadcast address, usable host range, wildcard mask and binary octets. It handles edge cases like /31 point-to-point links and /32 single-host routes, and flags the address class and private-versus-public type. Results update from the pre-filled 192.168.1.10/24 demo so you can explore instantly.

Common Use Cases

Plan Office Networks

Size VLANs and DHCP scopes by checking usable host counts before assigning a prefix.

Write Firewall Rules

Derive exact network and wildcard addresses for ACLs and security-group CIDR blocks.

Study for Certifications

Practice subnetting with binary octets visible for CCNA and Network+ exam prep.

Debug Connectivity

Confirm two hosts share a network address when pings fail across subnets.

Pro Tips

  • !

    Prefix and Mask Stay in Sync

    Typing a valid prefix auto-fills its mask and vice versa — a quick way to memorize pairs like /24 with 255.255.255.0.

  • !

    Remember /31 and /32

    These have no traditional broadcast range: /31 gives two usable point-to-point addresses and /32 is a single host route.

  • !

    Usable Means Minus Two

    For prefixes /30 and shorter, subtract the network and broadcast addresses from the total to get assignable hosts.

FAQs

Was this calculator helpful?