TheOmniTool logoTheOmniTool
Network

Subnet Calculator

Calculate IPv4 subnets from CIDR notation.

Network address192.168.1.0
Broadcast address192.168.1.255
Subnet mask255.255.255.0
Wildcard mask0.0.0.255
Usable host range192.168.1.1 – 192.168.1.254
Usable hosts254

About Subnet Calculator

Calculate subnet details from an IP address and CIDR or netmask. Networking requires knowing a subnet's network address, broadcast address, usable host range, and total host count, and working those out from a mask by hand is slow and error-prone. Enter an IP with its CIDR prefix and this calculator instantly returns the full breakdown so you can plan address space, configure routers, or study for a certification with confidence. It is an everyday reference for network administrators and students alike. The calculation runs entirely in your browser, so nothing you enter is uploaded or stored, and the tool is completely free to use with no signup.

How to use this tool

  1. 1Enter an IPv4 address and CIDR prefix (e.g. 192.168.1.0/24).
  2. 2See the network details instantly.

CIDR prefix reference

CIDR notation (like /24) says how many bits of an IP address identify the network. The remaining bits identify hosts. Fewer prefix bits = bigger network.

Common IPv4 CIDR blocks
CIDRSubnet maskUsable hostsTypical use
/30255.255.255.2522Point-to-point links
/29255.255.255.2486Tiny office blocks
/27255.255.255.22430Small subnets
/24255.255.255.0254Standard LAN / home network
/22255.255.252.01,022Larger office networks
/16255.255.0.065,534Campus / large private ranges

Usable hosts = 2^(host bits) − 2, because the all-zeros address names the network and the all-ones address is broadcast. The private ranges reserved for internal use are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.

Frequently asked questions

What does the calculator show?

Network address, broadcast address, subnet mask, wildcard mask, usable host range, and total usable hosts.

Does it support IPv6?

This tool focuses on IPv4 subnetting. IPv6 support may be added later.