Ip Subnet Calculator
Enter an IPv4 address and CIDR prefix (/16–/30) to get the network address, broadcast address, first and last usable host, subnet mask, wildcard mask, total and usable host counts, plus address class and private/public scope — with full binary representations.
TheCalculators — Ip Subnet Calculator
Printed thecalculators.com
Network Address
192.168.1.0/24
C-class · Private (RFC 1918) · 254 usable hosts
- IP Address
- 192.168.1.10
- CIDR Prefix
- /24
- Subnet Mask
- 255.255.255.0
- Wildcard Mask
- 0.0.0.255
- Network
- 192.168.1.0
- Broadcast
- 192.168.1.255
- First Host
- 192.168.1.1
- Last Host
- 192.168.1.254
- Total Addresses
- 256
- Usable Hosts
- 254
- Address Class
- C
- Scope
- Private (RFC 1918)
How the subnet is derived
- 1Mask the IPIP 11000000.10101000.00000001.00001010 AND mask 11111111.11111111.11111111.00000000 → network 11000000.10101000.00000001.00000000 = 192.168.1.0
- 2OR the wildcardnetwork OR 00000000.00000000.00000000.11111111 → broadcast 192.168.1.255
- 3Host windowusable hosts run from 192.168.1.1 to 192.168.1.254
- 4Count hosts2^8 total − network − broadcast = 254 usable
Binary representations
The network and broadcast addresses cannot be assigned to hosts. /31 (point-to-point, RFC 3021) and /32 (single host) are the classic exceptions — this tool covers /16 through /30.
Most useful next
Formula
network = IP AND mask · broadcast = network OR wildcard · usable hosts = 2^(32−CIDR) − 2
Pro tips
- • /26 and /28 subnets are the sweet spots for carving up a /24 into teams and DMZs.
- • Wildcard masks are what Cisco ACLs and OSPF network statements expect — mask inverted.
FAQ
Related Calculators
More Developer tools you might need.
Base64 Encode
Encode text to Base64 or decode Base64 back to text — instantly, safely in your browser.
CalculateBinary Calculator
Add, subtract, multiply or divide binary values and convert between base 2, 8, 10 and 16.
CalculateHex Calculator
Hex arithmetic and instant conversion between hexadecimal, decimal, octal and binary.
CalculateBandwidth Calculator
Estimate download or upload time from file size and connection speed, at any unit.
Calculate