MoaKit
All tools

Subnet Calculator

Work out network address, broadcast, host range and host count from an IPv4 address and CIDR or mask, split into subnets, and find the CIDR for a host count.

Input

Result

Network address

192.168.1.0/24

Subnet mask 255.255.255.0

Usable hosts

254

256 addresses in total

Host range

192.168.1.1

~ 192.168.1.254

Entered IP
Subnet mask
Wildcard mask
Network address
Broadcast address
First host
Last host
IP type
Private IP · Class C
Integer · hex
3232235786 · 0xC0A8010A

Binary view

IP11000000.10101000.00000001.0000101011000000101010000000000100001010
Mask11111111.11111111.11111111.0000000011111111111111111111111100000000
Network11000000.10101000.00000001.0000000011000000101010000000000100000000

Blue = network bits (24) · gray = host bits (8)

Split into subnets

/

Find the CIDR for a host count

/25 (255.255.255.128)126 usable hosts

If you already have a mask, convert it to a prefix length: 255.255.255.0 → /24

  • IPv4 only. A /31 is a point-to-point link (RFC 3021) that uses both addresses, and a /32 points to a single host.
  • Values are calculated only in this browser and never sent to a server.

Related searches

  • Subnet Calculator
  • subnet calculator online
  • subnet calculator tool
  • subnet calculator for /22
  • subnet calculator for /27
  • subnet calculator /28
  • subnet calculator /27