NAVANEM

IPv4 & IPv6 · runs in your browser

Subnet Calculator

Calculate IPv4 and IPv6 subnets: network and broadcast address, usable host range, mask, wildcard and CIDR, and split a block into subnets.

Network
Network address
192.168.1.0
Broadcast address
192.168.1.255
Usable host range
192.168.1.1 – 192.168.1.254
First host
192.168.1.1
Last host
192.168.1.254
CIDR notation
192.168.1.0/24
Details
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
Total hosts
256
Usable hosts
254
IP class
C
Binary
11000000.10101000.00000001.00000000
Hex
0xC0A80100

Subnet divider

Split 192.168.1.0/24 into smaller subnets

NetworkBroadcastFirst hostLast hostUsable
192.168.1.0192.168.1.63192.168.1.1192.168.1.6262
192.168.1.64192.168.1.127192.168.1.65192.168.1.12662
192.168.1.128192.168.1.191192.168.1.129192.168.1.19062
192.168.1.192192.168.1.255192.168.1.193192.168.1.25462
Quick reference, common subnet masks
PrefixSubnet maskWildcardUsable hostsCommon use
/8255.0.0.00.255.255.25516,777,214Very large network (Class A)
/16255.255.0.00.0.255.25565,534Large network (Class B)
/24255.255.255.00.0.0.255254Typical LAN (Class C, 254 hosts)
/25255.255.255.1280.0.0.127126Half C — 126 hosts
/26255.255.255.1920.0.0.636262 hosts
/27255.255.255.2240.0.0.313030 hosts
/28255.255.255.2400.0.0.151414 hosts
/29255.255.255.2480.0.0.766 hosts
/30255.255.255.2520.0.0.32Point-to-point (2 hosts)
/31255.255.255.2540.0.0.12P2P link (RFC 3021)
/32255.255.255.2550.0.0.01Single host / loopback

About this tool

This subnet calculator turns any IPv4 or IPv6 CIDR block into the numbers you actually need: network and broadcast addresses, the usable host range, total and usable host counts, the subnet mask and its wildcard mask. Enter an address with a prefix (for example 10.0.0.0/24) and everything updates instantly.

It also splits a parent network into equal subnets, so you can plan VLSM addressing for a new site or validate an existing scheme before you push it to a router. Every calculation runs locally in your browser — no address plan is ever sent to a server.

Frequently asked questions

How many usable hosts are in a /24?+

A /24 has 256 addresses, 254 of them usable for hosts. The first is the network address and the last is the broadcast address, which is why you subtract two.

Does it support IPv6?+

Yes. Enter an IPv6 address with a prefix length (for example 2001:db8::/48) and the tool returns the network range and address counts using IPv6 rules, where there is no broadcast address.

What is a wildcard mask used for?+

Wildcard masks are the inverse of a subnet mask and are used in ACLs and OSPF on Cisco-style devices. The calculator shows both so you can copy whichever your config needs.