Ad slot — header (728x90)

What is a /30 Subnet?

Last reviewed: May 2026

A /30 subnet contains 4 total IP addresses and 2 usable host addresses. The "/30" prefix means 30 bits are used for the network portion, leaving just 2 bits (22 = 4) for host addressing. The /30 is the traditional choice for point-to-point WAN links — exactly two usable addresses, one for each end of the connection.

Calculate any /30 subnet instantly →
Quick Facts: 10.0.0.0/30 Subnet mask: 255.255.255.252  ·  Wildcard: 0.0.0.3  ·  Network: x.x.x.0 (on 4-boundary)  ·  Broadcast: x.x.x.3  ·  Total IPs: 4  ·  Usable hosts: 2

Full Breakdown

PropertyValue
Prefix length/30
Subnet mask255.255.255.252
Wildcard mask0.0.0.3
Total addresses4
Usable host addresses2
Network addressx.x.x.0 (must align to multiples of 4: .0, .4, .8, …)
Broadcast addressx.x.x.3 (last address in the block)
Binary mask11111111.11111111.11111111.11111100

Why /30 for Point-to-Point Links?

A point-to-point link connects exactly two devices — for example, a router on each side of a WAN circuit, or two routers connected over a leased line. You need only two IP addresses: one for each router interface. The /30 wastes minimal address space (2 IPs for network and broadcast) while giving you exactly the 2 usable addresses you need.

Common real-world examples:

/31 as a more efficient alternative (RFC 3021)

RFC 3021 (published 2000) allows /31 for point-to-point links. A /31 has only 2 IPs and eliminates the network and broadcast addresses entirely — both IPs are usable host addresses. This saves 2 IPs compared to /30. Modern routers (Cisco IOS, Juniper JunOS) support /31. Use /30 when working with older equipment or ISPs that don't support /31.

AWS Warning: /30 is Not Recommended in AWS VPC

In an AWS VPC, AWS reserves 5 IPs per subnet. A /30 has only 4 total IPs — all 4 would be consumed by AWS reservations, leaving 0 usable IPs for instances. The minimum usable subnet in AWS is /28. Do not use /29 or /30 in AWS VPC.

Comparison: /30 vs Nearby Prefix Lengths

CIDRSubnet MaskTotal IPsUsable HostsTypical Use
/29255.255.255.24886Very small segment / management VLAN
/30255.255.255.25242Point-to-point WAN links — traditional choice
/31255.255.255.25422*Point-to-point WAN links — RFC 3021, no wasted IPs

* /31 has no network or broadcast address per RFC 3021 — both IPs are host addresses.

How Many /30 Subnets Fit in a /24?

A /24 block contains 2(30−24) = 64 subnets of /30 size. For example, 10.0.0.0/24 can be subdivided into 10.0.0.0/30, 10.0.0.4/30, 10.0.0.8/30, … 10.0.0.252/30. Each block starts on a multiple of 4.

Try the subnet splitter in SubnetSolver →

Related Guides

Ad slot — footer (728x90)