[{"data":1,"prerenderedAt":102},["ShallowReactive",2],{"tool-guide:ip-calculator":3},{"overview":4,"whatIs":5,"useCases":6,"steps":12,"commonMistakes":18,"relatedStandards":24,"comparison":37,"example":78,"limitations":82,"faq":86},"IP Calculator derives IPv4 subnet boundaries, masks, usable host ranges, address classification, numeric forms, and narrower subnet ranges entirely in your browser.","Every device on an IP network needs a unique address and a way to know which other addresses are on the same local network versus a remote one. Subnetting divides an IP address into a network portion and a host portion using a subnet mask. CIDR (Classless Inter-Domain Routing) notation expresses this compactly: 192.168.1.0\u002F24 means the first 24 bits identify the network (192.168.1) and the remaining 8 bits identify hosts (0-255), giving 256 total addresses and 254 usable hosts (the first is the network address and the last is the broadcast address). Understanding subnetting is essential for designing network architectures, configuring firewalls and security groups, planning VPC layouts in cloud environments, and troubleshooting connectivity. A subnet calculator takes a CIDR block and instantly derives the network address, broadcast address, subnet mask, wildcard mask, usable host range, total address count, and address classification (Class A\u002FB\u002FC, private\u002Fpublic). The split function divides a network into smaller subnets — for example, splitting a \u002F24 into four \u002F26 networks of 62 hosts each — which is the core task when planning VLANs, cloud subnets, or office network segments.",[7,8,9,10,11],"Planning cloud VPCs — calculate how many hosts fit in a \u002F20 or \u002F24 subnet before creating AWS VPCs, Azure VNets, or GCP subnets.","Configuring firewall rules — determine the exact CIDR range to allow or deny in security group rules and ACLs.","Designing office networks — split a \u002F16 allocation into \u002F24 subnets for different floors, departments, or VLANs.","Troubleshooting connectivity — check whether two IP addresses are on the same subnet or require routing through a gateway.","IP address management (IPAM) — verify that a new allocation does not overlap with existing subnets and has enough usable host addresses.",[13,14,15,16,17],"Enter an IPv4 address with an optional CIDR prefix (e.g., 192.168.1.42\u002F24), or choose the prefix with the slider.","Review the computed results: network address, broadcast address, subnet mask, wildcard mask, usable host range, total addresses, and address classification.","Inspect additional representations: the IP address as a 32-bit integer, hexadecimal, and binary.","To split the network, open Split, choose a narrower prefix, and inspect the resulting subnet ranges with their network, broadcast, and host counts.","For very large splits, the tool computes the full count but displays up to the first 256 subnet ranges.",[19,20,21,22,23],"Forgetting to subtract network and broadcast addresses — a \u002F24 has 256 total addresses but only 254 usable hosts. A \u002F30 has 4 addresses but only 2 usable hosts (common for point-to-point links).","Confusing subnet mask and wildcard mask — the subnet mask (e.g., 255.255.255.0) identifies the network portion. The wildcard mask (0.0.0.255) is its bitwise inverse, used in ACLs and OSPF configuration.","Overlapping subnets — when splitting a network, ensure that new subnets do not overlap with existing allocations. Two overlapping ranges on the same network cause routing ambiguity.","Using classful thinking — the old Class A\u002FB\u002FC designations are informational only. Modern networks use CIDR, where any prefix length is valid. A \u002F20 is not \"part of a Class A\" — it is simply a 4,096-address block.","Ignoring reserved ranges — 10.0.0.0\u002F8, 172.16.0.0\u002F12, and 192.168.0.0\u002F16 are private (RFC 1918). 127.0.0.0\u002F8 is loopback. 169.254.0.0\u002F16 is link-local. Do not route these on the public internet.",[25,28,31,34],{"title":26,"url":27},"RFC 4632 — CIDR (Classless Inter-Domain Routing)","https:\u002F\u002Fdatatracker.ietf.org\u002Fdoc\u002Fhtml\u002Frfc4632",{"title":29,"url":30},"RFC 1918 — Private IPv4 Address Ranges","https:\u002F\u002Fdatatracker.ietf.org\u002Fdoc\u002Fhtml\u002Frfc1918",{"title":32,"url":33},"RFC 5737 — IPv4 Addresses for Documentation","https:\u002F\u002Fdatatracker.ietf.org\u002Fdoc\u002Fhtml\u002Frfc5737",{"title":35,"url":36},"AWS VPC Sizing documentation","https:\u002F\u002Fdocs.aws.amazon.com\u002Fvpc\u002Flatest\u002Fuserguide\u002Fvpc-cidr-blocks.html",{"heading":38,"columns":39,"rows":44},"Common subnet sizes",[40,41,42,43],"\u002F24","\u002F20","\u002F16","\u002F8",[45,52,59,66,73],{"label":46,"values":47},"Total addresses",[48,49,50,51],"256","4,096","65,536","16,777,216",{"label":53,"values":54},"Usable hosts",[55,56,57,58],"254","4,094","65,534","16,777,214",{"label":60,"values":61},"Subnet mask",[62,63,64,65],"255.255.255.0","255.255.240.0","255.255.0.0","255.0.0.0",{"label":67,"values":68},"Typical use",[69,70,71,72],"Small LAN, VLAN","Cloud VPC","Campus network","Large ISP block",{"label":74,"values":75},"Splits into \u002F24s",[76,77,48,50],"1","16",{"label":79,"input":80,"output":81},"Inspect a private \u002F24 network","192.168.1.42\u002F24","Network 192.168.1.0 · broadcast 192.168.1.255 · 254 usable hosts",[83,84,85],"IPv4 is supported; IPv6 calculation is not included.","Classful labels are informational and do not replace CIDR routing.","Very large splits report the full count but display only the first 256 subnet ranges.",[87,90,93,96,99],{"question":88,"answer":89},"What is CIDR notation?","CIDR (Classless Inter-Domain Routing) notation appends a prefix length to an IP address (e.g., 192.168.1.0\u002F24) to define the network size. The prefix length indicates how many bits identify the network.",{"question":91,"answer":92},"How many usable hosts does a \u002F24 subnet have?","A \u002F24 subnet has 256 total addresses, but the first (network) and last (broadcast) are reserved, leaving 254 usable host addresses.",{"question":94,"answer":95},"Does this tool support IPv6?","No. This calculator covers IPv4 subnets, masks, host ranges, and CIDR splits. IPv6 calculation is not included in this version.",{"question":97,"answer":98},"What is subnet splitting?","Subnet splitting divides a network into smaller subnets. Choose a narrower prefix than the original to see the resulting subnet ranges, their network and broadcast addresses, and host counts.",{"question":100,"answer":101},"What is the difference between subnet mask and wildcard mask?","A subnet mask (e.g., 255.255.255.0) marks network bits with 1s and host bits with 0s. A wildcard mask (0.0.0.255) is the bitwise inverse, used in Cisco ACLs and OSPF to match host bits.",1788868141461]