Example: ,

Example: or as a number of bits per network address:

Calculation exampleExample for IP address 127.0.0.1 with netmask 255.255.255.0

Address 127.0.0.1 01111111.00000000.00000000.00000001
Netmask 255.255.255.0 = 24 11111111.11111111.11111111.00000000
Wildcard 0.0.0.255 00000000.00000000.00000000.11111111
Network 127.0.0.0/24 (Class A) 01111111.00000000.00000000.00000000
Broadcast 127.0.0.255 01111111.00000000.00000000.11111111
Start range 127.0.0.1 01111111.00000000.00000000.00000001
End range 127.0.0.254 01111111.00000000.00000000.11111110
IP type Private — Used for loopback addresses to the local host.
Hosts 254

IP Calculator

When you are building a large network, sometimes it can get too big to handle. Not only can this be difficult to manage but it can also slow down traffic and pose major security risks. Breaking down this large network into smaller networks — an act called “subnetting” — can increase network efficiency, make it safer, and make it easier to maintain.

To create a subnet, though, you’ll need to calculate various pieces of information to prevent network issues, such as subnets overlapping one another. This can be time-consuming to do mentally as it will involve using base-2 numbers and various equations.

To make things easier, the IP calculator uses two pieces of information — an IP address and its corresponding netmask — to quickly calculate this information for you.

What information can I get from an IP address and a netmask?

By entering an IP address and its corresponding netmask above, our tool will tell you what type of IP address it is, its broadcast address, the range of addresses it encompasses, its class, and more. It will also give you the binary numbers for these addresses, which could save you a ton of time translating.

With all this info, you can quickly build your subnet without needing to worry if your mental calculations are accurate.

How do I use this IP calculator?

First, you must enter both an IP address and a netmask. The tool will not work if you only fill out one field. You can use IPv4 or IPv6 addresses with our tool. If you wish, you can input the number of bits per network address instead of a netmask, but the calculation will not work if you don’t fill out that field.

When you enter both strings, hit the “Calculate” button. Our tool will conduct all the calculations for you and give you the precise info you need to build out your subnet.