Skip to main content
Networking & protocolsLocal in browser — nothing is uploaded

IPv4 subnet & CIDR calculator

Calculate network boundaries, broadcast addresses, usable host ranges, wildcard masks, and RFC 1918/6598 scopes from IPv4 CIDR or dotted subnet masks locally.

Canonical Network

192.168.1.0/24

Class C

Usable Host Range

192.168.1.1

to 192.168.1.254

Usable Hosts

254

256 total IPs

Broadcast Address

192.168.1.255

Private RFC 1918 (192.168.0.0/16)

Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0 (/24)
Wildcard mask
0.0.0.255
Host range
192.168.1.1 — 192.168.1.254
Binary IPv4
11000000.10101000.00000001.00101010
Binary Netmask
11111111.11111111.11111111.00000000
Scope classification
Private RFC 1918 (192.168.0.0/16)

Processing runs inside your browser without accounts or server uploads. Modular TypeScript domain logic tested locally.

Report a problem with this tool

CIDR & bitmask math

Unsigned 32-bit bitmasks: Network and broadcast addresses compute via exact bitwise AND and OR against a 32-bit contiguous prefix mask.

RFC 3021 /31 links: Point-to-point /31 links expose 2 usable host addresses and /32 host routes expose 1 address rather than subtracting 2.

Scope detection

Reserved blocks: Automatically tags RFC 1918 private networks, RFC 6598 CGNAT (100.64.0.0/10), APIPA link-local, loopback, and multicast prefixes.

Frequently asked questions

Can I paste a dotted netmask like 192.168.1.5/255.255.255.0?
Yes. The parser accepts both CIDR prefixes (/0–/32) and contiguous dotted-decimal subnet masks.