Online IP Address Calculator - Subnet Mask / Network & Broadcast Address

Network address / Broadcast address / Usable host range / IP base conversion

Network address:192.168.1.0Broadcast address:192.168.1.255First host:192.168.1.1Last host:192.168.1.254Usable hosts:254IP binary:11000000.10101000.00000001.01100100

About IP Calculation

The subnet mask accepts dotted format (255.255.255.0) and CIDR format (/24). To convert between CIDR notation and a mask, use the CIDR Converter; to divide a network into subnets, use the Subnet Calculator.

FAQ

What is the IP address calculator for?

Based on an IP address and subnet mask, it automatically computes the network address, broadcast address, usable host range and the binary/decimal/hex representation of the IP — a must-have for network engineers planning subnets and troubleshooting IP conflicts.

What does the subnet mask 255.255.255.0 mean?

255.255.255.0 means the first 24 bits are the network portion and the last 8 bits are the host portion, giving a usable range from x.x.x.1 to x.x.x.254 — 254 usable host addresses. It is equivalent to the CIDR notation /24.

What is the difference between a network address and a broadcast address?

The network address is the first address of a subnet, identifying the segment itself and not assignable to devices; the broadcast address is the last address, used to send a broadcast to all devices in the subnet and also not assignable.

How do I convert an IP address to binary?

Each byte of an IP address is 8 bits; convert each decimal octet to 8-bit binary and join them. For example 192.168.1.1 becomes 11000000.10101000.00000001.00000001. This tool does the conversion automatically.

How can I tell whether two IPs are on the same subnet?

AND each IP with the subnet mask bit by bit; if the resulting network addresses are identical, the two IPs are on the same subnet and can communicate directly without a router.