mdi-flower About Me Skills Projects CV Tools Contact Me Request Service العربية
Home Tools Subnet / CIDR Calculator

Subnet / CIDR Calculator

Visualize, calculate, and learn how IP subnetting works.

CIDR stands for Classless Inter-Domain Routing — a method for allocating IP addresses more efficiently than the old class-based system.

Prefix: / {{ prefix }}

Calculate
{{ error_message }}

Binary Representation

{{ bit }}
0 Network bits ( {{ prefix }} )
0 Host bits ( {{ 32 - prefix }} )
Each IP address is made of 32 bits (ones and zeros). The blue bits define the network (the "neighborhood"), and the green bits define the host (the "house number" within that neighborhood). The prefix number /24 simply means the first 24 bits are the network portion.

Results

{{ label_network_address }} {{ hints.network_address }} {{ result.network_address }}
{{ label_broadcast_address }} {{ hints.broadcast_address }} {{ result.broadcast_address }}
{{ label_subnet_mask }} {{ hints.subnet_mask }} {{ result.subnet_mask }}
{{ label_wildcard_mask }} {{ hints.wildcard_mask }} {{ result.wildcard_mask }}
{{ label_total_hosts }} {{ hints.total_hosts }} {{ result.total_hosts }}
{{ label_usable_hosts }} {{ hints.usable_hosts }} {{ result.usable_hosts }}
{{ label_first_usable }} {{ hints.first_usable }} {{ result.first_usable }}
{{ label_last_usable }} {{ hints.last_usable }} {{ result.last_usable }}
{{ label_ip_class }} {{ hints.ip_class }} {{ result.ip_class }}
The Network Address is the first address in the range — it identifies the subnet itself. The Broadcast Address is the last address — it is used to send a message to every device on that subnet. The addresses in between are the ones you can assign to devices. The Wildcard Mask is the inverse of the Subnet Mask. It tells you how many addresses are in the range. If the subnet mask is 255.255.255.0, the wildcard is 0.0.0.255 — meaning 256 addresses total. Total hosts includes all addresses in the range. Usable hosts excludes the network address (first) and broadcast address (last), since those cannot be assigned to devices.

Subnet Splitting

Split into {{ n }} subnets
{{ sub.name }}
{{ sub.range }}
# Network Address Usable Range Broadcast Address Usable Hosts
{{ idx + 1 }} {{ sub.network }} {{ sub.first }} – {{ sub.last }} {{ sub.broadcast }} {{ sub.usable }}
{{ explanations.split }}
{{ dialog.title }} Close
© 2026 Ibrahim BinAlshikh — Built with WebFiori + Vuetify