Copied to clipboard

NetCIDR Toolkit

IPv4 Subnet & CIDR Calculator

Calculate network ranges, masks, wildcard values, binary layout, and public or private scope instantly from any IPv4 address.

Input Panel
Enter an IPv4 address and choose a CIDR prefix.

Valid dotted decimal IPv4 format.

/24

Result Dashboard

Calculated from 192.168.1.10/24

Usable Hosts

254

Network Address

192.168.1.0

Broadcast Address

192.168.1.255

IP Scope

Private
Detailed Specification
Decimal, hexadecimal, binary, and host range values.
FieldValueCopy
Subnet Mask255.255.255.0
Subnet Mask (Hex)0xFFFFFF00
Subnet Mask (Binary)11111111111111111111111100000000
Wildcard Mask0.0.0.255
Usable Host Range192.168.1.1 - 192.168.1.254
CIDR Notation192.168.1.10/24
IP ClassClass C
32-Bit Binary Map
Blue bits represent the network prefix; muted bits are host space.

Octet 1

11000000

Octet 2

10101000

Octet 3

00000001

Octet 4

00001010

What is CIDR and Subnetting?

CIDR, or Classless Inter-Domain Routing, is the modern way to write IPv4 network size. A value like 192.168.1.10/24 means the first 24 bits identify the network and the remaining 8 bits identify addresses inside that network. Subnetting uses this prefix length to divide a larger address space into smaller, predictable ranges. Administrators use subnets to separate offices, VLANs, cloud environments, VPN pools, and infrastructure services without wasting address space.

Private vs Public IP Ranges explained (RFC 1918)

Private IPv4 addresses are reserved for internal networks and are not routed directly on the public internet. RFC 1918 defines three common blocks: 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. Home routers commonly use 192.168.x.x, while cloud networks and enterprise LANs often use 10.x.x.x or 172.16-31.x.x. Public addresses sit outside those private ranges and must be globally unique. Network address translation lets private devices share public connectivity while keeping internal addressing flexible.

Subnet Mask Reference Table (/8 to /32)

Shorter prefixes create larger networks with more available host addresses, while longer prefixes create smaller networks that are easier to allocate precisely. The table below covers the common mask sizes used in LAN, cloud, firewall, and routing plans.

PrefixMaskUsable Hosts
/8255.0.0.016,777,214
/9255.128.0.08,388,606
/10255.192.0.04,194,302
/11255.224.0.02,097,150
/12255.240.0.01,048,574
/13255.248.0.0524,286
/14255.252.0.0262,142
/15255.254.0.0131,070
/16255.255.0.065,534
/17255.255.128.032,766
/18255.255.192.016,382
/19255.255.224.08,190
/20255.255.240.04,094
/21255.255.248.02,046
/22255.255.252.01,022
/23255.255.254.0510
/24255.255.255.0254
/25255.255.255.128126
/26255.255.255.19262
/27255.255.255.22430
/28255.255.255.24014
/29255.255.255.2486
/30255.255.255.2522
/31255.255.255.2540
/32255.255.255.2551