Skip to main content
KalkuNet

IPv4 Subnet Calculator (CIDR & Subnetting)

Network, broadcast, host range and count, masks and binary from an IP/prefix, plus equal subnet splits.

Calculated in your browserNetwork
Leave empty to skip the split.
Network address
192.168.10.64/26
Usable host range
192.168.10.65 – 192.168.10.126
Usable hosts
62
Broadcast address
192.168.10.127
Total addresses
64
Subnet mask
255.255.255.192
Wildcard mask
0.0.0.63
IP in binary (| = prefix boundary)
11000000.10101000.00001010.01|001101
Address type
Private (RFC 1918)
Class (pre-CIDR system)
C
Next subnet
192.168.10.128/26
PTR name (reverse DNS)
77.10.168.192.in-addr.arpa
IP in hexadecimal
0xC0A80A4D
IP as an integer
3232238157
Number of /28 subnets
4
Hosts per /28 subnet
14

/28 subnets inside 192.168.10.64/26

No.SubnetFirst hostLast hostBroadcastHosts
1192.168.10.64/28192.168.10.65192.168.10.78192.168.10.7914
2192.168.10.80/28192.168.10.81192.168.10.94192.168.10.9514
3192.168.10.96/28192.168.10.97192.168.10.110192.168.10.11114
4192.168.10.112/28192.168.10.113192.168.10.126192.168.10.12714

Formula and sources

Subnet size = 2^(32 − prefix); network = the IP rounded down to a multiple of the size; broadcast = network + size − 1 Hosts = size − 2 (network and broadcast are not used); /31 = 2 point-to-point hosts (RFC 3021), /32 = 1 host Wildcard = 255.255.255.255 − subnet mask; split into /n: 2^(n − prefix) subnets PTR name = the octets reversed + .in-addr.arpa; integer = a × 2²⁴ + b × 2¹⁶ + c × 2⁸ + d

When to use the IPv4 Subnet

  • From an IP and a prefix to the subnet

    Enter an IP address and prefix such as 192.168.10.77/26. The calculator finds the network address 192.168.10.64, the broadcast 192.168.10.127 and the 62 usable hosts from 192.168.10.65 to 192.168.10.126.

  • Prefix or subnet mask

    The prefix box takes /26, 26 or 255.255.255.192. Masks whose bits are not contiguous, such as 255.255.0.255, are refused because they are not valid subnet masks. The wildcard mask for ACLs and OSPF is shown as well.

  • Splitting a subnet into smaller ones

    Enter a split prefix to cut the subnet into equal blocks. A /26 split into /28 gives 4 subnets of 14 hosts each, with the range and broadcast of every subnet, downloadable as CSV.

  • Address type

    The calculator says whether the address is private (RFC 1918), CGNAT 100.64.0.0/10, loopback, link-local, documentation, multicast or public, following the IANA registry. Classes A–E are only the pre-CIDR names.

Frequently asked questions

How many hosts are in a /24, /25, /26, /27 and /28?

A /24 has 254, a /25 126, a /26 62, a /27 30 and a /28 14 hosts. Each extra prefix bit halves the number of addresses.

What if each subnet needs a different number of hosts?

Use the VLSM calculator: enter the hosts each network needs and it allocates right-sized prefixes from the parent block without overlaps.

Is my IP address sent anywhere?

No. The calculation runs entirely in your browser, so internal office or customer addresses are safe to enter without being sent anywhere.

Related calculators

Related tools & guide