LogoPractical Web Tools

Free Forever

All our tools are completely free to use. No account required, No hidden fees and No subscriptions.

Fast & Secure

All processing happens in your browser. Your files never leave your device.

No File Size Limits

Convert files of any size. No restrictions on file sizes or number of conversions.

Batch Processing

Convert multiple files at once to save time and effort.

File Converters

  • PDF Tools
  • Image Converter
  • Video Converter
  • Audio Converter
  • Document Converter
  • eBook Converter
  • Archive Tools
  • File Tools

Calculators

  • Finance Calculators
  • Health Calculators
  • Math Calculators
  • Science Calculators
  • Other Tools

Popular Tools

  • PDF to Word
  • HEIC to JPG
  • Merge PDF
  • Fillable PDF Creator
  • Mortgage Calculator
  • BMI Calculator
  • AI Chat

Company

  • About Us
  • Blog
  • Contact
  • Request a Tool

Legal

  • Privacy Policy
  • Terms of Service
Email Support
Practical Web Tools Logo
Practical Web Tools

Free Tools — Your Files Never Leave Your Device

Practical Web Tools - Convert files & chat with AI — fully offline | Product Hunt

© 2026 Opal Emporium LLC. All rights reserved.

Privacy-first file conversion and AI chat. No accounts, no uploads, no tracking.

  1. Home
  2. Other Tools
  3. IP Subnet Calculator

IP Subnet Calculator

Calculate IP subnets, network ranges, and CIDR notation. Find network address, broadcast address, usable hosts, and subnet mask for any IP.

Subnet Info

Network Address

192.168.1.0

Broadcast Address192.168.1.255
Usable Hosts254
Subnet Mask255.255.255.0
IP Range192.168.1.1 - 192.168.1.254

IP Address

.
.
.
/
192.168.1.100/24

Common Subnet Sizes

Subnet Details

Network Address192.168.1.0
Broadcast Address192.168.1.255
First Usable IP192.168.1.1
Last Usable IP192.168.1.254
Subnet Mask255.255.255.0
Wildcard Mask0.0.0.255
Total Addresses256
Usable Hosts254

IP Classification

IP Class

Class C

IP Type

Private (192.168.0.0/16)

Binary Representation

IP Address:

11000000.10101000.00000001.01100100

Subnet Mask:

11111111.11111111.11111111.00000000

Network/Host Split:

11111111111111111111111100000000(24 network bits, 8 host bits)

Subnet Reference Table

CIDRSubnet MaskUsable HostsNotes
/8255.0.0.016,777,214Class A
/16255.255.0.065,534Class B
/24255.255.255.0254Class C
/25255.255.255.128126/25
/26255.255.255.19262/26
/27255.255.255.22430/27
/28255.255.255.24014/28
/29255.255.255.2486/29
/30255.255.255.2522/30 (P2P)
/31255.255.255.2542/31 (P2P)
/32255.255.255.2551/32 (Host)

Private IP Ranges (RFC 1918)

Class A Private

10.0.0.0/8

10.0.0.0 - 10.255.255.255

16.7M addresses

Class B Private

172.16.0.0/12

172.16.0.0 - 172.31.255.255

1M addresses

Class C Private

192.168.0.0/16

192.168.0.0 - 192.168.255.255

65K addresses

Quick Answer

To calculate a subnet: determine how many hosts you need, find the smallest subnet that fits, apply the subnet mask. CIDR /24 = 254 usable hosts, subnet mask 255.255.255.0. /25 = 126 hosts, /26 = 62 hosts, /27 = 30 hosts. Formula: Usable hosts = 2^(32-CIDR) - 2. The -2 accounts for network and broadcast addresses.

Key Facts

  • CIDR notation: /24 means 24 network bits, 8 host bits
  • Usable hosts = 2^(host bits) - 2 (minus network and broadcast)
  • /24 = 255.255.255.0 = 254 hosts
  • /25 = 255.255.255.128 = 126 hosts
  • /26 = 255.255.255.192 = 62 hosts
  • /27 = 255.255.255.224 = 30 hosts
  • /28 = 255.255.255.240 = 14 hosts
  • IPv4: 32 bits total. IPv6: 128 bits total

Frequently Asked Questions

A subnet mask is a 32-bit number that divides an IP address into network and host portions. It determines which part of the IP identifies the network and which identifies the device. Common masks: /24 (255.255.255.0) for 254 hosts, /16 (255.255.0.0) for 65,534 hosts.

A 32-bit number separating network and host portions of an IP. /24 = 254 hosts, /16 = 65K hosts.

CIDR (Classless Inter-Domain Routing) notation expresses the subnet mask as a slash followed by the number of network bits. For example, /24 means 24 bits for network, 8 bits for hosts. 192.168.1.0/24 covers 192.168.1.0 to 192.168.1.255.

Slash + number of network bits. /24 = 24 network bits, 8 host bits = 256 addresses.

The network address is the first IP in a subnet (all host bits = 0) and identifies the network. The broadcast address is the last IP (all host bits = 1) and is used to send data to all hosts on the subnet. Neither can be assigned to devices.

Network = first IP (identifies subnet). Broadcast = last IP (sends to all hosts). Neither is usable.

Private IP ranges are reserved for internal networks and not routable on the internet: 10.0.0.0/8 (Class A), 172.16.0.0/12 (Class B), 192.168.0.0/16 (Class C). These allow multiple organizations to use the same addresses internally.

10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16. Internal-only, not internet-routable.

Usable hosts = 2^(host bits) - 2. Subtract 2 because the network address and broadcast address cannot be assigned to devices. For /24: 2^8 - 2 = 254 usable hosts. For /30: 2^2 - 2 = 2 usable hosts (often used for point-to-point links).

Usable = 2^(host bits) - 2. Example: /24 = 2^8 - 2 = 254 usable hosts.

A wildcard mask is the inverse of a subnet mask, used in access control lists (ACLs) and routing protocols. Where subnet mask has 1s, wildcard has 0s, and vice versa. For /24: subnet mask is 255.255.255.0, wildcard is 0.0.0.255.

Inverse of subnet mask. Used in ACLs. /24: subnet 255.255.255.0, wildcard 0.0.0.255.

Subnet Info

Network Address

192.168.1.0

Broadcast Address192.168.1.255
Usable Hosts254
Subnet Mask255.255.255.0
IP Range192.168.1.1 - 192.168.1.254