jump totool workspace
ToolHub

IP / CIDR calculator

Calculate IPv4 and IPv6 subnets and test whether an address is in a prefix.

Runs the entire process locally
views
—
favorites
—
Common prefixes

Total number of addresses

256

Available hosts

254

network prefix

/24

Address type

private address

address range

192.168.1.0/24Current IP:192.168.1.10
192.168.1.0192.168.1.255
network address192.168.1.0
Available host range ·254 a192.168.1.1 — 192.168.1.254
broadcast address192.168.1.255

Network addresses and broadcast addresses do not count toward available hosts. Drag the slider above to select a range of IP addresses.

Network parameters

parametersvalueOperation
subnet mask255.255.255.0
wildcard mask0.0.0.255
IP Class (Legacy Classification)C
network address192.168.1.0
broadcast address192.168.1.255

Network bits and host bits

network bit24Host bit8
/0
/8
/16
/24
/32
No.1 segment192
11000000
No.2 segment168
10101000
No.3 segment1
00000001
No.4 segment10
00001010
binary mask11111111.11111111.11111111.00000000

Drag the prefix slider to instantly see subnet ranges and bit divisions.

Tool description and FAQ

Tool Guide

01Enter IPv4 and prefix

Enter dotted IPv4 and the /0–/32 prefix, or /24 when omitting the prefix. Real-time display of network, broadcast, first and last hosts, subnet mask, wildcard mask and number of addresses.

02View address range vs. binary

The range visualization distinguishes network, host and broadcast positions; the binary display of network bits and host bits makes it easier to understand how prefixes divide addresses. Copy retaining the full address text.

FAQ

Q1Why only 254 hosts for 256 addresses?

The regular /24 subnet reserves both network and broadcast addresses; /31 and /32 use special host counting.

Q2Will entering the host address change the network results?

Addresses on the same subnet get the same network address according to the mask, and the host bit only changes the position of the input address in the range.

Q3Will content be uploaded or saved automatically?

Input, results and files are only processed locally and are not uploaded or automatically saved. Copying and downloading are done on your own initiative.