Ambiakshi Tools VerifiedAEO Direct Answer

CIDR to Subnet Mask Conversion Table

Classless Inter-Domain Routing (CIDR) notation denotes the number of contiguous binary 1-bits in a subnet mask. For example, /24 corresponds to 24 ones followed by 8 zeros, translating in dotted decimal to 255.255.255.0 and allocating 256 total IP addresses with 254 usable for hosts.

Mask = (~0 << (32 − CIDR)) >>> 0; Usable Hosts = 2^(32 − CIDR) − 2

IPv4 CIDR & Subnet Calculator Engine

Calculate network boundaries, usable IP ranges, broadcast addresses, wildcard masks, and binary bit allocations from an IP and prefix. Compliant with RFC 4632 (CIDR), RFC 3021 (/31 point-to-point links), and RFC 1918 private networking.

Quick Prefixes:

Subnet Calculations

Network Address
/24
192.168.1.0

First address of the subnet

Broadcast Address
192.168.1.255

Last address (for broadcast packets)

Usable Host Range
Usable Range
192.168.1.1 — 192.168.1.254

254 usable host addresses

Total Usable Hosts
256 total
254

2^(8) − 2 hosts

Subnet Mask
255.255.255.0

Dotted decimal subnet mask

Wildcard Mask
0.0.0.255

Inverse mask used in ACLs & OSPF

IP Scope & Type
Private Network (RFC 1918)

Legacy Class C (CIDR RFC 4632 standard)

CIDR Notation
192.168.1.0/24

Classless Inter-Domain Routing prefix

Binary Representation & Bit Boundary

IP Address:11000000.10101000.00000001.00000000
Subnet Mask:11111111.11111111.11111111.00000000
Network Address:11000000.10101000.00000001.00000000
Broadcast:11000000.10101000.00000001.11111111

First 24 bits represent the Network ID; remaining 8 bits represent the Host ID.

Subnet Splitting (Subdivide Network)

Frequently asked

Direct answers for search, answer engines, and generative crawlers.

A /24 network has a subnet mask of 255.255.255.0. It provides 256 total IP addresses, with 254 usable for client interfaces, servers, or gateways.

More IPv4 subnets answers