/30 Subnet Mask (255.255.255.252)

/30 subnet summary
Prefix/30
Subnet mask255.255.255.252
Wildcard mask0.0.0.3
Binary mask11111111.11111111.11111111.11111100
Total addresses4
Usable hosts2
Host bits2
Subnets of /30 in a /2464
Block size4 addresses (subnets start every 4 in the last octet)

e.g. 10.0.0.5/22 or 10.0.0.5 255.255.252.0

Subnet calculation results
Network address192.168.1.0
Broadcast address192.168.1.3
First usable host192.168.1.1
Last usable host192.168.1.2
Total addresses4
Usable hosts2
Subnet mask255.255.255.252
Wildcard mask0.0.0.3
CIDR notation192.168.1.0/30
IP classClass C (legacy)
Address typePrivate (RFC 1918)
IP address (binary)11000000.10101000.00000001.00000000
Subnet mask (binary)11111111.11111111.11111111.11111100

■ network bits ■ host bits

Runs entirely in your browser. Nothing you enter is sent to a server.

What is a /30 subnet?

A /30 subnet uses the first 30 bits of an IPv4 address for the network and leaves 2 bits for hosts. Its subnet mask is 255.255.255.252, and it contains 2² = 4 addresses, of which 2 can be assigned to devices. Typical use: Classic point-to-point link: 2 usable hosts. Use the subnet calculator above to check any /30 network.

/30 subnet example

For 192.168.1.0/30: network address 192.168.1.0, usable hosts 192.168.1.1 – 192.168.1.2, broadcast address 192.168.1.3, wildcard mask 0.0.0.3.

/30 networks in 192.168.1.0/24

A /24 holds 64 /30 networks:

Frequently asked questions

How many usable IPs are in a /30?

2. The block has 4 addresses; the first is the network address and the last is the broadcast address.

What is the subnet mask for /30?

255.255.255.252, or 11111111.11111111.11111111.11111100 in binary.

How many /30 subnets are in a /24?

64 (2⁶), because a /30 uses 6 more network bits than a /24.

What is the difference between /30 and /29?

A /29 (255.255.255.248) is twice as large: 8 addresses and 6 usable hosts, spanning two consecutive /30 blocks such as 192.168.1.0–192.168.1.7.

Nearby prefixes