Calculate IPv4 subnets from CIDR or mask: network, broadcast, host range, wildcard and more.

/24
Results
Network address
Broadcast address
First usable host
Last usable host
Usable hosts
Total addresses
Subnet mask
Wildcard mask
CIDR notation
IP class
Range type
Binary (network vs host bits)
Network bits Host bits
Subnet split

Divide this network into smaller equal subnets.

Possible subnets:

# Network Address range Usable hosts

About Subnet / CIDR Calculator

The Subnet Calculator turns an IPv4 address plus a CIDR prefix or subnet mask into every number a network engineer needs: network address, broadcast address, first and last usable host, usable host count, total addresses, wildcard mask and canonical CIDR notation. The prefix and dotted mask stay in sync, so you can enter whichever you have.

It also classifies the address — legacy class A through E and the practical range type: private (RFC 1918), public, loopback, link-local/APIPA, shared CGNAT space, multicast or reserved. A binary breakdown shows the address with network bits visually separated from host bits, the clearest way to understand why a /26 holds 62 hosts.

A subnet split section divides your network into smaller equal subnets: choose a new, longer prefix and get a table of the resulting networks with their address ranges and host counts. All calculation happens instantly in your browser.

How to use Subnet / CIDR Calculator

  1. Enter an IPv4 address, or click “Load sample” to start with an example.
  2. Choose the CIDR prefix or the dotted subnet mask — the two stay synchronized.
  3. Read the results: network, broadcast, first and last usable host, host counts and wildcard mask.
  4. Study the binary view to see where the network bits end and the host bits begin.
  5. Pick a longer prefix under “Subnet split” to divide the network into equal subnets.
  6. Copy any value — or the binary breakdown — with the copy buttons.

Frequently asked questions

Two addresses in every ordinary subnet are reserved: the lowest is the network address and the highest is the broadcast address. That leaves 2^host-bits minus 2 assignable addresses — 254 for a /24, 62 for a /26.

It is the bitwise inverse of the subnet mask — 0.0.0.255 for /24 — and is the format Cisco ACLs and OSPF network statements expect. The calculator shows it so you can paste it into router configuration directly.

Whether the address is routable on the public internet or belongs to a special block: RFC 1918 private space, loopback, link-local/APIPA, shared CGNAT (100.64.0.0/10), multicast or reserved. It instantly explains why some addresses can’t be reached externally.

Classful addressing was replaced by CIDR in 1993, but classes A–E still appear in textbooks, certification exams and legacy configurations. The calculator shows the class for reference while all real math uses the CIDR prefix.

No, this tool is IPv4-only — four octets with prefixes from /0 to /32. IPv6’s 128-bit space works differently enough (no broadcast, standard /64 subnets) that it deserves its own calculator.

Yes, it is free and works entirely in your browser — addresses you type are never sent to a server, so internal network plans stay private.


Popular searches
subnet calculator cidr calculator ip subnet calculator subnet mask calculator cidr to subnet mask ipv4 network calculator wildcard mask calculator subnet range calculator
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.