~/netref / Subnet Calculator
##

Subnet Calculator

Enter an IP and prefix. Everything updates live, including the network/host bit split in binary.

IP address
prefix length/26
host math
Network
192.168.10.0
Broadcast
192.168.10.63
Subnet mask
255.255.255.192
Wildcard
0.0.0.63
First host
192.168.10.1
Last host
192.168.10.62
Usable hosts
62
Total addrs
64
// bit decompositionnetwork (26)host (6)boundary at /26
11000000
.
10101000
.
00001010
.
00000000
// copy as config
interface GigabitEthernet0/1
 ip address 192.168.10.1 255.255.255.192
 no shutdown
!
ip route 192.168.10.0 255.255.255.192 <next-hop>