#QuoteOfDay 💡 ! Content is Not the King, It's the Kingdom  content is not king it is kingdom techyxpert

CybersecurityTechnology

Subnet Calculator: IPv4 CIDR, Mask, Hosts & Ranges

Subnet Calculator – IPv4 CIDR, mask and host range (TechyXpert)

Last updated: November 28, 2026 · By Visal Vadayar

Quick answer: Enter an IP address and prefix (for example 192.168.1.10/24). The calculator shows the network address (192.168.1.0), broadcast address (192.168.1.255), usable host range (.1 to .254) and 254 usable hosts. Each step down in prefix (/24 to /23) doubles the addresses.

Subnet Calculator (IPv4 CIDR)

Enter an IP address and CIDR prefix or subnet mask to get the network address, broadcast address, usable host range, wildcard mask and number of hosts.

Usable hosts exclude the network and broadcast addresses (except /31 point-to-point links and /32 single hosts, per RFC 3021).

Subnet cheat sheet

CIDRSubnet maskUsable hosts
/30255.255.255.2522
/29255.255.255.2486
/28255.255.255.24014
/27255.255.255.22430
/26255.255.255.19262
/25255.255.255.128126
/24255.255.255.0254
/23255.255.254.0510
/22255.255.252.01,022
/16255.255.0.065,534
/8255.0.0.016,777,214

How subnetting works

An IPv4 address has 32 bits. The prefix says how many bits identify the network; the rest identify hosts. Hosts = 2^(32 − prefix) − 2. The network address has all host bits set to 0, and the broadcast address has them all set to 1.

Example: 10.20.30.40/22 → network 10.20.28.0, broadcast 10.20.31.255, hosts 10.20.28.1 – 10.20.31.254 (1,022 usable).

Private IP ranges

RangeCIDRTypical use
10.0.0.0 – 10.255.255.25510.0.0.0/8Large company networks
172.16.0.0 – 172.31.255.255172.16.0.0/12Medium networks, Docker
192.168.0.0 – 192.168.255.255192.168.0.0/16Home routers

Networking guides: how to reset a router, clear DNS cache, mesh Wi-Fi vs extender. Look up any domain’s IP and WHOIS with Domain Dossier.

FAQ

How many hosts are in a /24 subnet?

A /24 (255.255.255.0) has 256 addresses and 254 usable hosts, because the network and broadcast addresses can’t be assigned to devices.

What is CIDR notation?

CIDR notation writes the subnet mask as the number of network bits after a slash. /24 means the first 24 bits are the network, equal to 255.255.255.0.

What is a wildcard mask?

It’s the inverse of the subnet mask, used in router access lists and OSPF. The wildcard for 255.255.255.0 is 0.0.0.255.

Which IP ranges are private?

RFC 1918 private ranges are 10.0.0.0/8, 172.16.0.0/12 and 192.168.0.0/16. They’re used inside home and company networks and aren’t routed on the internet.

About author

Visal Vadayar is a digital marketing strategist and serial entrepreneur from India with a decade of building high-growth, profitable online businesses. Founder of MyMidlist.com—a verified B2B directory spanning MENA—and TechyXpert.com. Expert in SEO, content strategy, and SaaS growth.
Related posts
GadgetsTechnology

Download Time Calculator: How Long Will It Take?

GadgetsTechnology

Wi-Fi 7 vs Wi-Fi 6 (and 6E): Is It Worth Upgrading?

GadgetsTechnology

Why Is My Wi-Fi So Slow? 12 Causes and Fixes

GadgetsTechnology

How to Reset Your Router (Restart vs Factory Reset)

Sign up for our Newsletter and
stay informed

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.