breakitdown

CIDR and subnet calculator

See exactly which bits are the network and which are the host, for IPv4 and IPv6. Split blocks, check whether an address is inside, and find out if a range is private, reserved or public.

Try

10.20.0.0/22 is 1,024 addresses: 10.20.0.0 to 10.20.3.255. 1,022 usable for hosts (the first is the network address, the last is broadcast).

10000010102000010100000000000000000000
22 network bits 10 host bits
Network
10.20.0.0
First usable
10.20.0.1
Last usable
10.20.3.254
Broadcast
10.20.3.255
Addresses
1,024
Usable hosts
1,022
Netmask
255.255.252.0
Wildcard (ACL) mask
0.0.3.255
Historic class
A
Range type
Private network · not routed on the internet

Special-purpose range

Private network 10.0.0.0/8 RFC 1918
The largest of the three private IPv4 ranges: 16.7 million addresses for use inside homes and organisations. Not routed on the public internet.

Split it into subnets

or

4 subnets.

SubnetUsable rangeHostsBroadcast
10.20.0.0/2410.20.0.1 – 10.20.0.25425410.20.0.255
10.20.1.0/2410.20.1.1 – 10.20.1.25425410.20.1.255
10.20.2.0/2410.20.2.1 – 10.20.2.25425410.20.2.255
10.20.3.0/2410.20.3.1 – 10.20.3.25425410.20.3.255

Is this IP in the range?

Range to CIDR blocks

Special-purpose ranges

From the IANA IPv4 and IPv6 Special-Purpose Address Registries, plus multicast and global unicast. "Routable" is the registry's "globally reachable" column.

BlockWhat it isRoutableRFC
0.0.0.0/8This networknoRFC 791
10.0.0.0/8Private networknoRFC 1918
100.64.0.0/10Shared address space (carrier-grade NAT)noRFC 6598
127.0.0.0/8LoopbacknoRFC 1122
169.254.0.0/16Link-localnoRFC 3927
172.16.0.0/12Private networknoRFC 1918
192.0.0.0/24IETF protocol assignmentsnoRFC 6890
192.0.2.0/24Documentation (TEST-NET-1)noRFC 5737
192.31.196.0/24AS112-v4yesRFC 7535
192.52.193.0/24AMTyesRFC 7450
192.88.99.0/24Deprecated 6to4 relay anycastn/aRFC 7526
192.168.0.0/16Private networknoRFC 1918
192.175.48.0/24Direct delegation AS112 serviceyesRFC 7534
198.18.0.0/15BenchmarkingnoRFC 2544
198.51.100.0/24Documentation (TEST-NET-2)noRFC 5737
203.0.113.0/24Documentation (TEST-NET-3)noRFC 5737
224.0.0.0/4Multicastn/aRFC 5771
240.0.0.0/4Reserved for future usenoRFC 1112
255.255.255.255/32Limited broadcastnoRFC 919
::/128Unspecified addressnoRFC 4291
::1/128LoopbacknoRFC 4291
::ffff:0:0/96IPv4-mapped addressnoRFC 4291
64:ff9b::/96IPv4/IPv6 translation (NAT64)yesRFC 6052
64:ff9b:1::/48Local-use IPv4/IPv6 translationnoRFC 8215
100::/64Discard-onlynoRFC 6666
2001::/23IETF protocol assignmentsnoRFC 2928
2001::/32Teredon/aRFC 4380
2001:2::/48BenchmarkingnoRFC 5180
2001:db8::/32DocumentationnoRFC 3849
2002::/166to4n/aRFC 3056
3fff::/20DocumentationnoRFC 9637
fc00::/7Unique local address (ULA)noRFC 4193
fe80::/10Link-local unicastnoRFC 4291
ff00::/8Multicastn/aRFC 4291
2000::/3Global unicastyesRFC 4291

Prefixes and ranges, explained