Skip to content
TR EN

IPv4 Subnet Calculator — IP & Subnet Mask Tool

CIDR notation, subnet masks, network & broadcast addresses, host range, and binary bit analysis.

IPv4 32-bit
IPv4
Presets:
Network Address: 192.168.1.0 /24
Subnet Mask: 255.255.255.0 (w: 0.0.0.255)
Usable Hosts
254
Total Capacity: 256
Type & RFC
Private (RFC 1918)
Class C • RFC 1918
Broadcast
192.168.1.255
32-bit All Ones
Wildcard Mask
0.0.0.255
ACL / OSPF Inverse
Address Space Allocation 1 net · 254 host · 1 bcast
Network ID (1) Usable Hosts (254) Broadcast (1)
Datasheet Parameters RFC 4632
Network Address (ID)
Broadcast Address
Usable Host Range
Mask / Wildcard
CIDR Notation
Hexadecimal Representation

Privacy & Security: All IP and subnet computations run 100% client-side inside your browser. No IP addresses or topology data are ever transmitted to any server.

What is IPv4 Subnetting and How Does it Work?

Principles of network segmentation and binary subnet math.

In computer networking, subnetting is the strategy of dividing a large IP broadcast network into smaller, logically segmented subnets. Proper subnet planning isolates broadcast storms, reinforces zero-trust perimeter security, and prevents IPv4 address exhaustion.

Total Address Space Total IPs = 2^(32 - CIDR)

Example: For /24, 2^(32 - 24) = 2^8 = 256 total IP addresses.

Usable Host Capacity Usable Hosts = 2^h - 2

Network ID (all host bits 0) and Broadcast ID (all host bits 1) are reserved.

Network Engineering Toolset

All calculations execute client-side in your browser.

10 tools

Frequently Asked Questions (FAQ)

How does this Subnet Calculator work? →

Enter any IPv4 address and select a CIDR prefix (/0 to /32). The tool instantly calculates the network address, broadcast address, first and last usable host, total IP capacity, wildcard mask, and binary breakdown.

Are my calculations computed entirely client-side? →

Yes, 100%. All computations are executed locally in your browser using pure TypeScript. No IP addresses or corporate network topologies are ever transmitted to or logged by our servers.

What is the difference between a subnet mask and CIDR notation? →

A subnet mask expresses the network/host boundary using dotted decimal format (such as 255.255.255.0), whereas CIDR uses slash notation (such as /24) to denote the number of leading network bits.

How are /31 and /32 subnets handled? →

A /31 subnet follows RFC 3021 for point-to-point router links, offering 2 usable hosts with zero broadcast/network overhead. A /32 prefix denotes a single host route, commonly applied to router loopback interfaces.

Is this calculator aligned with Cisco CCNA / CCNP standards? →

Yes. Our calculation engine strictly adheres to IETF RFCs, Cisco networking curricula, and IEEE standards, verified with automated unit tests.