NetToolForge
← Calculators🌐 CIDR · Binary · Split

IPv4 Subnet Calculator

Enter an IP address with a prefix or mask to get the network, broadcast, host range, usable hosts, wildcard and a colour-coded binary view — and split the network into smaller subnets.

How to use the IPv4 Subnet Calculator

  1. Type an address like 192.168.1.10/24 or 10.0.0.5 255.255.255.0.
  2. Read the network, broadcast, host range and usable hosts instantly.
  3. Use Split this network to divide it into smaller subnets.

Quick facts

Frequently asked questions

How do I calculate a subnet?

Enter the IP address and prefix, e.g. 192.168.1.10/24. The network address, broadcast and host range are calculated instantly.

How many hosts are in a /24?

256 addresses, of which 254 can be used by devices.

What is a wildcard mask?

The inverse of the subnet mask, used in Cisco ACLs and OSPF. /24 has the wildcard 0.0.0.255.

Why are two addresses not usable?

The first address is the network address and the last is the broadcast address.

Can I split a network into smaller subnets?

Yes. Choose a longer prefix under Split this network to list every subnet.

Is anything sent to a server?

No. All calculations run in your browser on your own device.

Worked example: 192.168.10.77/26

Written and checked by the NetToolForge Team, 30 November 2026.

ResultValue
Subnet mask255.255.255.192
Wildcard mask0.0.0.63
Network address192.168.10.64
First usable host192.168.10.65
Last usable host192.168.10.126
Broadcast address192.168.10.127
Usable hosts62

A /26 leaves 6 bits for hosts, so each subnet has 64 addresses. Subnets start at multiples of 64: .0, .64, .128 and .192. Address .77 falls in the second one.

Common prefixes at a glance

PrefixMaskUsable hostsTypical use
/24255.255.255.0254Home or small office network
/26255.255.255.19262A floor or a VLAN
/29255.255.255.2486A small block of public IPs from a provider
/30255.255.255.2522A link between two routers
/31255.255.255.2542 (RFC 3021)Point-to-point links on modern equipment

Why hosts are always two fewer

In each subnet the first address names the network and the last one is the broadcast, so neither can be given to a device. The exceptions are /31, where both addresses are usable on point-to-point links, and /32, a single host. Wildcard masks are the mask turned inside out; Cisco access lists and OSPF use them.