/25 Subnet
About /25 Networks
Half of a /24 — used when a full /24 is too large (126 hosts). A /25 subnet uses the mask 255.255.255.128 and provides 126 usable host addresses out of 128 total IPs.
Example /25 Networks
| Network | Broadcast | First Host | Last Host |
|---|---|---|---|
| 10.0.0.0/25 | 10.0.0.127 | 10.0.0.1 | 10.0.0.126 |
| 172.16.0.0/25 | 172.16.0.127 | 172.16.0.1 | 172.16.0.126 |
| 192.168.0.0/25 | 192.168.0.127 | 192.168.0.1 | 192.168.0.126 |
| 192.168.1.0/25 | 192.168.1.127 | 192.168.1.1 | 192.168.1.126 |
| 8.8.8.0/25 | 8.8.8.127 | 8.8.8.1 | 8.8.8.126 |
Splitting a /25 Into Smaller Subnets
A /25 divides evenly into any longer prefix. Each row shows how many subnets of that size fit inside one /25, and how many usable hosts each of them carries.
How Many /25 Subnets Fit in a Larger Network
The same arithmetic read the other way: how many /25 subnets you get when you carve up each of the next larger prefixes.
Adjacent CIDRs
Larger network
/24
Mask: 255.255.255.0
Total IPs: 256
Usable Hosts: 254
Smaller network
/26
Mask: 255.255.255.192
Total IPs: 64
Usable Hosts: 62
Comparing sizes? The full /0 to /32 cheat sheet table puts every prefix side by side.
Frequently Asked Questions
What is a /25 subnet?
A /25 subnet uses the subnet mask 255.255.255.128 with 126 usable host addresses and 128 total IP addresses. It has 25 network bits and 7 host bits.
How many hosts in a /25 network?
A /25 network supports 126 usable hosts out of 128 total IP addresses. The usable range excludes the network address and broadcast address.
What subnet mask does /25 use?
A /25 subnet uses the mask 255.255.255.128 (wildcard mask 0.0.0.127). This means the first 25 bits identify the network and the remaining 7 bits identify hosts.
How many /27 subnets are in a /25?
One /25 splits into 4 /27 subnets, each with mask 255.255.255.224 and 30 usable hosts. Every prefix longer than /25 divides it evenly — the full table is above.
How many /25 subnets are in a /24?
A /24 holds 2 /25 subnets. Each step to a shorter prefix doubles that count, because one bit moves from the host portion of the address to the network portion.
Standards
The figures on this page follow from the following specifications rather than from convention.
- RFC 4632 — Classless Inter-Domain Routing (CIDR)
Defines the /25 prefix notation used throughout this page, and the address-aggregation model that replaced classful addressing.
- RFC 950 — Internet Standard Subnetting Procedure
The original definition of the subnet mask, and of the network and broadcast addresses excluded from the usable host count.
- RFC 1918 — Address Allocation for Private Internets
Reserves 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16, the ranges most /25 subnets are carved from in practice.