Fast • Accurate • No Signup Required

Free IPv4 Subnet Calculator & CIDR Network Tool

⭐ Free Online Tools ⚡ Instant In-Browser Results 🔒 Privacy Focused

IPv4 Subnet Calculator

Calculate subnet masks, network addresses, broadcast addresses, CIDR prefixes, and usable hosts instantly.

Free to Use Instant Results No Signup Required Works in Your Browser
Enter an IPv4 address such as 192.168.1.106.
Select prefix from /0 to /32.
Synchronized with CIDR prefix.
Common Presets:

Calculation Results

192.168.1.106 / 26
Class C (Historical)
Usable Hosts
62
Total IP Addresses
64
Network Address
192.168.1.64
Broadcast Address
192.168.1.127
Network Information
Network Address
192.168.1.64
CIDR Prefix
/26
Subnet Mask
255.255.255.192
Wildcard Mask
0.0.0.63
Broadcast Address
192.168.1.127
Historical IP Class Class C
Host Information
First Usable Host
192.168.1.65
Last Usable Host
192.168.1.126
Total IP Addresses 64
Usable Hosts 62
Host Range 192.168.1.65 – 192.168.1.126
Addressing Mode Classless (CIDR)

How Was This Calculated?

Need an in-depth mathematical walkthrough of IPv4 binary subnetting, bitwise boolean logic, and RFC 3021 point-to-point links? Read our complete guide:
Read Complete Subnetting Guide →

How to Calculate IPv4 Subnet Parameters in 3 Steps

Step 1

Enter IPv4 Address & Prefix

Input any valid IPv4 dotted-decimal address (e.g. 192.168.1.106) and select your target CIDR prefix from /0 to /32, or click common quick presets like /24 or /26.

Step 2

Review Network Boundaries

The calculator instantly executes bitwise operations in browser memory, displaying Network ID, Broadcast IP, First/Last Usable Hosts, Total/Usable Host counts, and Wildcard Mask.

Step 3

Copy Subnet Parameters

Click the copy icon adjacent to any calculated value or use the Quick Copy buttons to transfer network boundaries directly into router configs, ACL rules, or documentation.

Computed Subnet Metrics & Parameter Specifications

Below are the standard network parameters generated by this calculator for IPv4 network segmentation:

Network Parameter Calculation Formula / Rule Operational Network Purpose
Network Address IP Address & Subnet Mask (Bitwise AND) Identifies the subnet boundary; reserved as routing table destination prefix.
Broadcast Address Network Address | Wildcard Mask (Bitwise OR) Highest IP in the block; transmits packets simultaneously to all local subnet nodes.
Usable Host Range (Network + 1) to (Broadcast - 1) Valid assignable range for servers, workstations, and router interface gateways.
Usable Hosts 2^(32 - Prefix) - 2 (Standard subnets) Total assignable endpoints excluding reserved network and broadcast boundaries.
Subnet Mask Prefix length 1-bits followed by host 0-bits 32-bit dotted-decimal mask separating network bits from host identifier bits.
Wildcard Mask 255.255.255.255 - Subnet Mask (Bitwise NOT) Inverse mask required for Cisco IOS Access Control Lists (ACLs) and OSPF routing.

Practical Example: Segmenting a /26 Department Subnet

Consider a department requiring an isolated segment using IP 192.168.1.106 with a /26 CIDR prefix:

Input Parameters:
  • IPv4 Address: 192.168.1.106
  • CIDR Prefix: /26
  • Subnet Mask: 255.255.255.192
Calculated Subnet Results:
  • Network Address: 192.168.1.64
  • Broadcast Address: 192.168.1.127
  • Usable Host Range: 192.168.1.65 – 192.168.1.126
  • Usable Hosts: 62 (out of 64 total IPs)
  • Wildcard Mask: 0.0.0.63

Client-Side Processing & Privacy Guarantee

Network topology and private IP addressing plans (such as RFC 1918 subnets like 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16) represent sensitive operational infrastructure data.

All binary conversions, bitwise arithmetic, and subnet range calculations in this tool execute 100% locally in your web browser using client-side JavaScript. No IP addresses, subnet configurations, or network plans are transmitted over the internet or logged on our servers.

Frequently Asked Questions About Subnet Calculations

The first usable host address is calculated as Network Address + 1, and the last usable host address is Broadcast Address - 1. For standard subnets, the usable host count is calculated as 2^(32 - Prefix) - 2, subtracting 2 to reserve the network identifier and the broadcast address.
Under RFC 3021, a /31 subnet has only 2 total IP addresses (2^1 = 2). In modern router-to-router point-to-point links, both addresses are treated as usable interface endpoints without standard network and broadcast reservations. Our calculator fully supports this standard.
A wildcard mask is the bitwise inverse of the subnet mask, calculated by subtracting each octet of the subnet mask from 255 (e.g. for mask 255.255.255.192, the wildcard is 0.0.0.63). It is primarily used in Cisco IOS Access Control Lists (ACLs) and OSPF routing configurations.
Yes. The CIDR prefix dropdown and subnet mask input are bi-directionally synchronized. Entering or modifying either field automatically recalculates and updates the other field in real time.
A /32 prefix represents a single host route (2^0 = 1) where all 32 bits are network bits. It is commonly configured on router loopback interfaces, VPN endpoint termination, or strict single-IP firewall rules without broadcast addresses.
No. All IP address parsing, binary conversions, and subnet boundaries are calculated entirely in your browser using client-side JavaScript. None of your IP addresses or network configurations are transmitted across the network or logged on our servers.