Skip to main content
SyntixDev
Back to Decks

IPv4 / CIDR Subnet Calculator

DevOps & Frontend

Linux chmod calculator, IPv4 CIDR subnet planner, HTTP status code search, and raw security headers auditor.

100% client-side — files and inputs never leave your browser.

Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Usable Hosts
254
IP Class / Scope
Class C · Private
IP Binary
11000000.10101000.00000001.00000000
Mask Binary
11111111.11111111.11111111.00000000
About this tool and how it works

IPv4 subnetting with CIDR

Enter an address with a prefix, such as 192.168.10.37/26, and the calculator returns the network address, broadcast address, subnet mask, wildcard mask, first and last usable host, total addresses, and usable host count.

How CIDR works

An IPv4 address has 32 bits. The prefix length (/26) says how many leading bits identify the network; the rest identify hosts. A /26 leaves 6 host bits, so the block holds 26 = 64 addresses. The first is the network address and the last is the broadcast, leaving 62 usable hosts. For 192.168.10.37/26 the network is 192.168.10.0, the broadcast is 192.168.10.63, and the mask is 255.255.255.192.

Quick reference

  • /24 — 255.255.255.0 — 256 addresses, 254 hosts (typical LAN).
  • /28 — 255.255.255.240 — 16 addresses, 14 hosts.
  • /30 — 4 addresses, 2 hosts (classic point-to-point link).
  • /31 — 2 addresses, both usable on point-to-point links (RFC 3021).
  • /32 — a single host, common in firewall rules and routes.

Wildcard masks

The wildcard mask is the inverse of the subnet mask (0.0.0.63 for a /26). Cisco ACLs and OSPF configurations use it to express which bits may vary.

Planning cloud networks

AWS, Google Cloud, and Azure reserve extra addresses in each subnet (AWS reserves 5), so usable hosts are slightly lower than the calculator's standard count. Leave room to grow and avoid overlapping ranges with offices or VPN peers — the private ranges are 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16.

Frequently asked questions

How many hosts fit in a /27?

A /27 has 32 addresses and 30 usable hosts (mask 255.255.255.224).

Does the calculator support IPv6?

Not yet; it covers IPv4 only. IPv6 subnets are usually /64 per network segment, so host counts are rarely the limiting factor.

What prefix is used if I omit it?

The calculator assumes /24 when no prefix is given.

Other tools