IP Calculator

Calculate and analyze IPv4 and IPv6 addresses

IPv4 Address Calculator
Enter an IPv4 address to analyze its properties and calculate subnet information

About IP Calculator

Subnetting is one of those tasks that's simple in principle and error-prone in practice. Given an address and a prefix length, you need the network address, the broadcast address, the usable host range, and the total host count — and getting any of them wrong can mean an overlapping subnet, a firewall rule that's too broad, or a route that black-holes traffic. This calculator does the bit arithmetic for you and shows the result in binary, decimal, and hexadecimal so you can see exactly where the network and host boundaries fall.

Enter an IPv4 address with a CIDR prefix or subnet mask and the tool breaks down the network: it identifies the address class, the network and broadcast addresses, the first and last usable hosts, and how many hosts the subnet holds. For IPv6, it expands and compresses addresses, shows the prefix, and flags special-purpose ranges so you can tell a link-local address from a global unicast one at a glance.

Everything runs in your browser, so internal addressing plans and infrastructure details never leave your machine. That makes it safe to paste production CIDR blocks while planning a network, reviewing a security group, or debugging why two hosts can't reach each other.

How to use IP Calculator

  1. Choose IPv4 or IPv6

    Pick the tab for the address family you're working with. Each uses the conventions for that protocol — dotted-decimal for IPv4, colon-hex for IPv6.

  2. Enter the address and prefix

    Type an IPv4 address with a CIDR prefix (like 192.168.1.10/24) or a subnet mask, or an IPv6 address with its prefix length.

  3. Read the breakdown

    See the network and broadcast addresses, usable host range, host count, and address class, with binary, decimal, and hex views.

  4. Check special ranges

    The tool flags special-purpose addresses — private, loopback, link-local, multicast — so you can confirm an address is routable where you expect.

Frequently asked questions