AndroidVerified in the current app

IPv4 Subnet Calculator – online and on Android

Free online IPv4 subnet calculator: enter an IP and CIDR prefix to get network, broadcast, mask, wildcard, host range and subnet splits. Also on Android.

Calculate a subnet

Enter an IPv4 address with a CIDR prefix (192.168.1.10/24) or a mask (10.0.0.5 255.255.240.0). Results update as you type and nothing leaves your browser.

Network address
Broadcast address
First usable host
Last usable host
Subnet mask
Wildcard mask
Usable hosts
Total addresses
CIDR notation
Address type
Class
Binary (IP / mask, network bits highlighted)

A /31 has 2 usable addresses on point-to-point links (RFC 3021) and a /32 is a single host, so neither has a broadcast address.

Need it on your phone, offline? The same calculator ships in Network Toolkit for Android, next to the WiFi, IP and port scanners. Get it on Google Play

The subnet calculator converts an IPv4 address and prefix into the boundaries used for routing and address planning. It is a quick offline-style reference during network configuration and troubleshooting.

How it works

The CIDR prefix defines which bits belong to the network. From that mask, the calculator derives the network address, broadcast behavior, and usable range, including the special handling needed for /31 and /32 prefixes.

How to use it in Network Toolkit

  1. Enter an IPv4 address and CIDR prefix.
  2. Review the calculated network and mask.
  3. Check the first and last addresses for the intended topology.
  4. Use the result to verify DHCP, static addressing, or scan scope.

What information you can see

  • Network address and subnet mask
  • Broadcast address where applicable
  • Address range and subnet size
  • Correct /31 and /32 handling

Common use cases

  • Verify whether two hosts share a subnet
  • Plan a small static address range
  • Confirm the scope for an authorized scan
  • Check a router or VPN prefix

Limitations and Android considerations

The verified calculator covers IPv4. A calculated range does not account for reservations, VLAN policy, routing, or addresses already assigned on the network.

Related network tools

IP Scanner for Android, Network Scanner for Android, Ping Tool for Android can help confirm the result from another angle.

Frequently asked questions

What does /24 mean?

It means the first 24 bits identify the network, equivalent to the mask 255.255.255.0.

Are /31 subnets usable?

Yes. They are commonly used on point-to-point links and are handled differently from traditional host subnets.

What is a /32?

A /32 identifies one IPv4 address rather than a multi-address subnet.

Keep a network toolbox in your pocket.

Network Toolkit is free on Google Play, needs no account and works on your local network.