- Home
- Tools
- Network Tools
- Subnet Calculator
- /25 Subnet (255.255.255.128)
/25 Subnet (255.255.255.128)
A /25 network has 128 addresses, 126 of them usable, and the subnet mask 255.255.255.128: one half of a /24.
With or without a prefix: 192.168.1.10/24
Network in CIDR notation
192.168.1.128/25
126 usable hosts, from 192.168.1.129 to 192.168.1.254.
- Network address
- 192.168.1.128
- Broadcast address
- 192.168.1.255
- First usable host
- 192.168.1.129
- Last usable host
- 192.168.1.254
- Usable hosts
- 126
- Total addresses
- 128
- Subnet mask
- 255.255.255.128
- Wildcard mask
- 0.0.0.127
- IP class
- C, default mask /24
- Address type
- Private (RFC 1918), in 192.168.0.0/16
In binary
- Address
- 11000000.10101000.00000001.10000000
- Mask
- 11111111.11111111.11111111.10000000
- Network
- 11000000.10101000.00000001.10000000
- Broadcast
- 11000000.10101000.00000001.11111111
The line marks where the network part ends: 25 network bits to its left, 7 host bits to its right.
Split into smaller subnets
4 subnets of /27, 30 usable hosts each.
- 192.168.1.128/27Hosts 192.168.1.129 – 192.168.1.158Broadcast 192.168.1.159
- 192.168.1.160/27Hosts 192.168.1.161 – 192.168.1.190Broadcast 192.168.1.191
- 192.168.1.192/27Hosts 192.168.1.193 – 192.168.1.222Broadcast 192.168.1.223
- 192.168.1.224/27Hosts 192.168.1.225 – 192.168.1.254Broadcast 192.168.1.255
/25 at a glance
- Subnet mask
- 255.255.255.128
- Mask in binary
- 11111111.11111111.11111111.10000000
- Wildcard mask
- 0.0.0.127
- Addresses in one network
- 128
- Usable for hosts
- 126
- Networks of this size
- 2 in a /24, 512 in a /16
Where /25 networks begin
One network covers 128 addresses, so a new network begins wherever the last number of the address is a multiple of 128: 0 and 128.
192.168.1.0/24 divided into 2 networks of /25
- 192.168.1.0/25Hosts 192.168.1.1 – 192.168.1.126Broadcast 192.168.1.127
- 192.168.1.128/25Hosts 192.168.1.129 – 192.168.1.254Broadcast 192.168.1.255
In practice
Splitting a /24 in two is the simplest piece of subnetting: one more network bit, and the last number of the address divides at 128.
The halves do not behave like the /24 they came from. .127 is now a broadcast address and .128 a network address, so neither can be given to a device, and a host in the lower half reaches the upper half only through a router.
The subnet calculator takes any address with any prefix or mask, explains the address classes and the private ranges, and splits a network into subnets.
Other prefix lengths
- /8 (255.0.0.0)
- /12 (255.240.0.0)
- /16 (255.255.0.0)
- /20 (255.255.240.0)
- /21 (255.255.248.0)
- /22 (255.255.252.0)
- /23 (255.255.254.0)
- /24 (255.255.255.0)
- /26 (255.255.255.192)
- /27 (255.255.255.224)
- /28 (255.255.255.240)
- /29 (255.255.255.248)
- /30 (255.255.255.252)
- /31 (255.255.255.254)
- /32 (255.255.255.255)
- Subnet mask cheat sheet