Skip to content
Home Tools IPv4 Subnet Calculator
developer-tools

IPv4 Subnet Calculator

This calculator derives the network address, broadcast address, host range, and address count for a basic IPv4 CIDR block.

Calculate an IPv4 network range from an address and prefix

Enter an IPv4 address and CIDR prefix such as 192.168.1.25/24.

Processing mode: browser-only for this tool. The interface does not require a server upload to perform its transformation.

Popular utilities

Start with a focused browser tool

Browse all tools
IPv4 Subnet CalculatorBrowser-first utility with visible inputs, outputs, and limitations.

This calculator derives the network address, broadcast address, host range, and address count for a basic IPv4 CIDR block.

Designed for: Network learners, developers, and documentation teams checking small IPv4 examples.

How to use this tool

Enter an address with a prefix from /0 to /32. The result displays the normalized network, broadcast, usable host range, and total addresses. Treat the result as a planning aid, not an authorization decision.

How the result is produced

The browser converts each octet to a 32-bit unsigned integer, applies the prefix mask with bitwise operations, and converts the resulting values back to dotted decimal.

Test examples

192.168.1.25/24 has network 192.168.1.0 and broadcast 192.168.1.255. Usable-host conventions differ for /31 and /32, so the result calls out the address count rather than pretending every prefix has two reserved endpoints.

Limitations

This is IPv4-only and does not model routing tables, VLANs, NAT, firewall rules, IPv6, provider reservations, or cloud-specific subnet policies.

Privacy and processing

The address is calculated in the browser and not sent to the server.

Related guide

CIDR prefixes, network ranges, and host-count caveats

Related tools in this category

Documentation

This page describes the implementation shipped with the NOFYI Tool Factory. Review the interface output before using it in a production workflow.