IPv4 IP calculator
Enter an IPv4 address and prefix to see the network it belongs to and what kind of address it is.
For example 192.168.1.10 or 192.168.1.10/24
- IP address
- Address type
- CIDR notation
- Subnet mask
- Network address
- Broadcast address
- First host
- Last host
- Total addresses
- Usable hosts
- IP in binary
Runs in your browser. Nothing you enter is sent to our server.
About this tool
An IP address alone does not say which network it is in β the prefix (subnet mask) does. The calculator applies the mask to the address and shows the network address, broadcast address, first and last host and the number of usable hosts.
It also identifies the address type: private (RFC 1918), public, loopback, link-local, CGNAT and other special ranges, so you can tell at a glance whether the address is reachable from the internet.
How to use
- Type an IPv4 address such as
192.168.1.10. You can include the prefix:192.168.1.10/24. - If the address has no prefix, pick one from the list. Each option shows the matching mask.
- Results update as you type. Use the copy button next to any value.
Examples
192.168.1.10/24
Network 192.168.1.0, broadcast 192.168.1.255, hosts 192.168.1.1β192.168.1.254 (254), type: private
8.8.8.8/32
Single address 8.8.8.8, no broadcast, type: public
Frequently asked questions
What is the difference between a private and a public IP address?
The private ranges 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16 are used inside local networks and are not routed on the internet. Public addresses are globally unique.
Why are there two fewer usable hosts than addresses?
The first address of a block identifies the network and the last one is the broadcast address, so neither can be assigned to a device. /31 and /32 are the exceptions.
Does it support IPv6?
No, this calculator works with IPv4 only.