Home Net Guide

Home / Subnet calculator / /25

/25 subnet: mask 255.255.255.128

A /25 network holds 128 addresses, of which 126 can be given to devices. Its subnet mask is 255.255.255.128.

Prefix length (CIDR)
/25
Subnet mask
255.255.255.128
Wildcard mask
0.0.0.127
Mask in binary
11111111.11111111.11111111.10000000
Network bits / host bits
25 / 7
Total addresses
128 (2 to the power of 7)
Usable host addresses
126 (the first address names the network and the last is the broadcast address)
Fits
2 times into a /24

What a /25 is used for

A /25 is half of a /24, with 126 usable addresses. It is what you get when one /24 has to become two networks, for example staff and guests, each needing more than 62 addresses.

Worked example: which /25 is 192.168.1.130 in?

The mask's value in the fourth octet is 128, so networks advance in steps of 256 minus 128, which is 128, in that octet: 0, 128. The fourth octet of 192.168.1.130 is 130, which falls in the step that starts at 128. The network is therefore 192.168.1.128/25.

Network
192.168.1.128/25
Usable range
192.168.1.129 to 192.168.1.254
Broadcast address
192.168.1.255
Next /25 begins at
192.168.2.0/25

Open this example in the subnet calculator to see it bit by bit, or to try your own address.

All 2 /25 networks in 192.168.1.0/24

NetworkUsable rangeBroadcast
192.168.1.0/25192.168.1.1 to 192.168.1.126192.168.1.127
192.168.1.128/25192.168.1.129 to 192.168.1.254192.168.1.255

One size up and one size down

Each bit removed from the prefix doubles a network, and each bit added halves it. A /24 is twice the size, with 254 usable addresses, and a /26 is half the size, with 62 usable addresses. The table of every prefix size compares them all, and the VLAN planner lays out several networks of different sizes without overlaps.