Base Conversion and Subnet Tool

Pick a number.     Help

 Base 10:     167_903_488
 Octal:   0___1200400400
 Hex:     0x__a_02_01_00
 IP:          10.2.1.0
 Binary:  0b__00001010_00000010_00000001_00000000

 Mask:        255.255.254.0
     =    0b__11111111_11111111_11111110_00000000
 Subnet:      10.2.0.0
     =    0b__00001010_00000010_00000000_00000000

 The number of addresses is 2**(32-23) = 512
 which go from 10.2.0.0 up to 10.2.1.255 .
   (The lowest is the network address, 
    and the highest is the broadcast address.)

Jim Mahoney <mahoney@marlboro.edu>
source code