Free tech learning for everyone, from basics to pro

IPv4 subnet calculator

Enter an address and a prefix length or subnet mask to see the network, broadcast, host range and binary breakdown. Then test yourself in practice mode below.

Address

You can also type CIDR notation, like 10.1.2.3/27.

Results for 172.16.45.130/26

Network bits Host bits
Network address
Broadcast address
First usable host
Last usable host
Usable hosts
Total addresses
Subnet mask
Wildcard mask (for ACLs and OSPF)
Binary address
Binary mask
Address class
Address type

Practice subnetting

Work out the answers on paper first, then check them. Aim to answer each question in under a minute, as you'll need to in the exam.

Score: 0 of 0 questions fully correct

Stay up to date by email

New notes, tools and security news from FM TecHub, explained simply. Free.

We only use your email to send these updates. See our privacy policy.