Loadingโฆ
Loadingโฆ
Calculate the network, broadcast, host range, netmask, wildcard mask, and host count for any IPv4 or IPv6 CIDR block, and split it into smaller subnets.
Also covers: IP calculator ยท CIDR calculator ยท Subnet calculator ยท IPv4 calculator ยท IPv6 calculator
Network
192.168.1.128/26
Usable hosts
62
64 addresses
Host range
192.168.1.129
to 192.168.1.190
Netmask
255.255.255.192
Private (RFC 1918)
IPv4 details ยท 16
| Field | Value |
|---|---|
| Address | 192.168.1.130 |
| CIDR notation | 192.168.1.128/26 |
| Netmask | 255.255.255.192 |
| Wildcard mask | 0.0.0.63 Used in Cisco ACLs and OSPF |
| Network address | 192.168.1.128 |
| Broadcast address | 192.168.1.191 |
| First usable host | 192.168.1.129 |
| Last usable host | 192.168.1.190 |
| Total addresses | 64 |
| Usable hosts | 62 |
| Address type | Private (RFC 1918) |
| Class (historical) | C Classful addressing was replaced by CIDR in 1993 |
| Integer | 3232235906 |
| Hex | 0xC0A80182 |
| Reverse DNS (PTR) | 130.1.168.192.in-addr.arpa |
| IPv4-mapped IPv6 | ::ffff:192.168.1.130 |
Binary ยท /26
11000000.10101000.00000001.1000001011111111.11111111.11111111.11000000Network bits ยท host bits
Type an IPv4 or IPv6 address with a prefix (10.0.0.5/24, 2001:db8::1/64) or an IPv4 netmask (10.0.0.5 255.255.255.0). Without a prefix, choose one from the list.
See the network and broadcast addresses, first and last usable host, netmask, wildcard mask, host count, address type (private, public, loopbackโฆ), and the address and mask in binary.
Choose Split into to divide the block into equal smaller subnets, for example a /24 into four /26 networks, each with its host range.
In an IPv4 subnet, the first address identifies the network and the last is the broadcast address, so neither can be assigned to a host. The exceptions are /31 (point-to-point links, RFC 3021, both usable) and /32 (a single host).
The inverse of the netmask (0.0.0.255 for a /24). Cisco ACLs and OSPF use it: 0 bits must match, 1 bits can be anything.
10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16 (RFC 1918) for IPv4, and fc00::/7 (unique local) for IPv6. They aren't routed on the internet. The calculator also recognizes loopback, link-local, carrier-grade NAT, multicast, and documentation ranges.
IPv6 address autoconfiguration (SLAAC) needs 64 bits for the interface ID, so LANs are almost always /64. Sites usually get a /48 or /56, which contains 65,536 or 256 of those /64 networks.
No. It's pure calculation in your browser: no DNS or WHOIS lookups, and the addresses you enter aren't sent anywhere.
Data
Format, validate, and minify JSON in your browser. Paste it, upload a file, or load it from a URL. Errors show the exact line and column.
C# / .NET
Paste JSON and get C# model classes or records, ready for System.Text.Json or Newtonsoft.Json. Nested objects, arrays, nullable types, dates, and GUIDs are inferred for you.
TypeScript
Paste JSON and get TypeScript interfaces or type aliases, with nested objects named for you, optional and nullable fields detected from every array item, and union types.
SQL
Turn a JSON array into a CREATE TABLE with inferred column types and batched INSERT statements for PostgreSQL, MySQL, SQL Server, or SQLite.
SQL
Format and beautify SQL queries for SQL Server (T-SQL), PostgreSQL, MySQL, Oracle, and more. Set the indentation, keyword case, and layout, and get the exact line of any syntax error.
Data
Format, validate, and minify XML (config files, .csproj, SOAP, RSS) in your browser. Entities, CDATA, and mixed content are kept exactly as written, and errors show the line and column.