CraftTools

IP Subnet Calculator

Guide: Linux File Permissions and chmod Explained

Network address
192.168.1.0
Broadcast address
192.168.1.255
First usable host
192.168.1.1
Last usable host
192.168.1.254
Subnet mask
255.255.255.0
Wildcard mask
0.0.0.255
CIDR notation
192.168.1.0/24
Usable hosts
254
Total addresses
256
IP class
C
Address type
Private
IP    11000000.10101000.00000001.00001010
Mask  11111111.11111111.11111111.00000000

Split into smaller subnets

Makes 4 subnets of /26.

  • 192.168.1.0/26
  • 192.168.1.64/26
  • 192.168.1.128/26
  • 192.168.1.192/26

Nothing you enter or choose here leaves your device. This tool runs in your browser.

How to use

  1. 1Type an IPv4 or IPv6 address with a prefix, such as 192.168.1.10/24 or 2001:db8::/32.
  2. 2Read the network, broadcast, first and last host and the number of hosts.
  3. 3Use the split section to divide the network into smaller subnets.
  4. 4Click Copy next to any value.

Frequently asked questions

What does /24 mean?

It is the CIDR prefix: the first 24 bits are the network part, which is the mask 255.255.255.0. That leaves 8 bits for hosts, or 256 addresses.

Why are there two fewer usable hosts than addresses?

The first address is the network address and the last is the broadcast address, so neither can be given to a device. /31 and /32 are special cases.

What is a wildcard mask?

The mask with every bit flipped, such as 0.0.0.255 for 255.255.255.0. Network equipment such as Cisco access lists use it.

Does it support IPv6?

Yes. Type an address with colons, such as 2001:db8::/32, and the calculator switches to IPv6. It shows the shortest and full forms, the network, the first and last address, the size, the number of /64 subnets and the address type.

Read the guides

Learn how this works and how to get the most from it.

Developer

Linux File Permissions and chmod Explained

Understand read, write and execute permissions, what 755 and 644 mean, and how to use chmod with octal and symbolic modes.

2 min read

Developer

Subnet Masks and CIDR Notation Explained

What /24 and 255.255.255.0 mean, how to count hosts in a subnet, and how to split a network into smaller ones.

1 min read

Chmod Calculator

Work out Linux file permissions in octal and symbolic form.

Number Base Converter

Convert between binary, octal, decimal, hexadecimal and any base to 36.

HTTP Status Codes

Look up every HTTP status code, from 200 OK to 503 Service Unavailable.

URL Parser & Query Builder

Split a URL into its parts and edit its query parameters.