About ipv4 calculator
See an IPv4 address's type, class and different representations. It tells you whether an address is private, public or special.
Private ranges
- 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are private and not routed on the internet.
- 127.0.0.0/8 is loopback (localhost).
- 169.254.0.0/16 is link-local, assigned when DHCP fails.
Runs in your browser
Calculations on this page happen on your device. Nothing you enter is uploaded.
A worked example
The address 192.168.1.20 is private and falls in class C by the old system. It is 3232235796 as a single decimal number, C0.A8.01.14 in hexadecimal and 11000000.10101000.00000001.00010100 in binary. The tool shows these forms and what the address is used for.
Special ranges
- 127.0.0.1 is your own computer (localhost).
- 169.254.x.x appears when a device cannot get an address from DHCP.
- 224.0.0.0 and above are for multicast and reserved use.
Classes are historical
Old class A, B and C ranges have been replaced by CIDR notation. The class is shown for reference, but modern networks use prefix lengths instead.
