WhatIPIP tools + free calculators
Free tool · No signup

Subnet & CIDR Calculator

All the IPv4 subnet math, instantly. Enter an address and a prefix.

Subnet / CIDR calculator

CIDR block
192.168.1.0/24
256 addresses · 254 usable hosts
Network address
192.168.1.0
Broadcast address
192.168.1.255
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
About this tool

Subnetting splits a large IP block into smaller, manageable networks. This calculator does all the math for you: enter an IPv4 address and a CIDR prefix length (or a subnet mask) and you'll get the network address, broadcast address, first and last usable host, total addresses in the range, usable hosts after subtracting network and broadcast, the subnet mask in dotted-decimal, and the wildcard mask. Useful for network planning, ACL writing, and decoding what a `/24` or `/16` actually contains. All calculations happen in your browser, no external service is queried.

Frequently asked questions

5 questions answered

It's the number of bits at the front of the IPv4 address used for the network portion. A /24 means 24 bits identify the network and 8 bits identify the host within it, giving 256 addresses (254 usable). A /16 gives 65,536 addresses. Lower prefix means bigger network.

Related tools

This tool runs in your browser using public lookup endpoints. We do not log or store the data you enter. Information returned by third-party services is provided as-is and may be cached or approximate.