/25 Subnet Mask

A /25 subnet mask is 255.255.255.128, with 128 addresses and 126 usable hosts.

CIDR prefix/25
Subnet mask255.255.255.128
Subnet mask (binary)11111111.11111111.11111111.10000000
Wildcard mask0.0.0.127
Network bits / host bits25 / 7
Total addresses128
Usable hosts126
/25 subnets in a /8131,072
/25 subnets in a /16512
/25 subnets in a /242

The mask ends 1 bit into octet 4, so blocks step in increments of 128 in that octet. Half of a /24. A convenient way to split one /24 into two equal segments of 126 hosts.

Try it with an address

Example /25 subnets in 192.168.1.0/24

Network First usable host Last usable host Broadcast
192.168.1.0/25 192.168.1.1 192.168.1.126 192.168.1.127
192.168.1.128/25 192.168.1.129 192.168.1.254 192.168.1.255

Frequently asked questions

What is the subnet mask for /25?

A /25 subnet mask is 255.255.255.128. In binary that is 11111111.11111111.11111111.10000000: 25 network bits followed by 7 host bits. The wildcard mask is 0.0.0.127.

How many usable hosts are in a /25?

A /25 holds 128 addresses in total. Subtracting the network and broadcast addresses leaves 126 usable hosts.

How many /25 subnets fit in a /24?

A /24 divides into 2 subnets of size /25, because each extra mask bit doubles the number of subnets.

Other prefix lengths

← /24 Full CIDR chart /26 →

Calculate this over HTTP: curl https://networkcalc.com/api/ip/192.168.1.0/25. See the Subnet Calculator API.