{"generatedAt":"2026-07-19T03:01:59.513Z","tool":{"id":"subnet-calculator","name":"IP & Subnet Calculator","description":"Calculate subnets, CIDR ranges, network addresses, and host counts for IPv4 with visual binary breakdown","category":"devtools","icon":"IP","keywords":["subnet calculator","cidr","ip calculator","subnet mask","ipv4","network","broadcast","host range"],"remoteCallable":true,"remoteMode":"dedicated_api","riskClass":"L","maxInputBytes":131072,"timeoutMs":2000,"supportsStreaming":false,"url":"/subnet-calculator/","tags":["devtools"],"faqs":[{"question":"What is CIDR notation?","answer":"CIDR (Classless Inter-Domain Routing) notation like 192.168.1.0/24 specifies an IP address and the number of network bits (prefix length), defining a range of IP addresses in that subnet."},{"question":"How many hosts in a /24 subnet?","answer":"254 usable hosts. A /24 has 256 total addresses (2^8), minus the network address and broadcast address. The tool shows exact host counts for any prefix length."},{"question":"Can I split a subnet into smaller subnets?","answer":"Yes, enter a network and specify how many subnets you need. The tool calculates equal sub-ranges, each with their own network address, broadcast address, and usable host range."},{"question":"How do I know if an IP is private or public?","answer":"The tool auto-detects private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and clearly indicates whether each address is private or public with a visual badge."},{"question":"Is this tool free and private?","answer":"Yes. Free to use. All subnet calculations happen in your browser. No data is sent to any server."}],"howTo":[{"title":"Enter IP and CIDR","description":"Input an IPv4 or IPv6 address with CIDR notation (e.g., 192.168.1.0/24). The calculator validates and interprets the range."},{"title":"Analyze subnet details","description":"View the network address, broadcast address, usable host range, subnet mask, and total host count in a clear breakdown."},{"title":"Perform subnet division","description":"Split a subnet into smaller subnets by increasing the CIDR value. The tool shows each resulting subnet range and usable IPs."},{"title":"Check IP membership","description":"Test if a specific IP address belongs to your subnet. Useful for firewall rules, access control lists, and security planning."},{"title":"Export network plan","description":"Download a CSV or JSON file with all subnet details, ranges, and calculations for documentation or infrastructure provisioning."}],"agentContract":{"toolId":"subnet-calculator","contractVersion":"2.0.0","remote_callable":true,"remote_mode":"dedicated_api","risk_class":"L","max_input_bytes":131072,"timeout_ms":2000,"supports_streaming":false,"preferred_surface":"dedicated_api","dedicated_api":{"baseUrl":"https://aidevhub.io/api/subnet-calculator/","openapiUrl":"https://aidevhub.io/api/openapi.yaml","endpoints":[{"method":"GET","path":"/api/subnet-calculator/","summary":"GET subnet-calculator"},{"method":"POST","path":"/api/subnet-calculator/","summary":"POST subnet-calculator"}],"riskClass":"L","inputMaxBytes":131072,"timeoutMs":2000},"runtime":{"endpoint":"/api/tools/run/","methods":["GET","POST"],"queryParams":[{"name":"toolId","required":true,"description":"Tool identifier"},{"name":"a","required":true,"description":"Primary input"}],"postBodyShape":{"toolId":"string","input":"{ a, b?, c?, mode? }"},"exampleGet":"https://aidevhub.io/api/tools/run/?toolId=subnet-calculator&a=...","policy":{"riskClass":"L","limit":60,"burst":20,"windowSec":60,"inputMaxBytes":131072,"timeoutMs":2000,"cacheTtlSec":0,"networkEnabled":false,"supportsStreaming":false}}},"relatedTools":[{"id":"cli-ux-linter","name":"CLI UX Linter","url":"/cli-ux-linter/","category":"devtools"},{"id":"ai-cli-generator","name":"AI CLI Generator","url":"/ai-cli-generator/","category":"devtools"},{"id":"csv-endpoint-builder","name":"CSV Endpoint Builder","url":"/csv-endpoint-builder/","category":"devtools"},{"id":"openprose-flow-linter","name":"OpenProse Flow Linter","url":"/openprose-flow-linter/","category":"devtools"},{"id":"trace-context-validator","name":"Trace Context Validator","url":"/trace-context-validator/","category":"devtools"},{"id":"retry-idempotency-contract-builder","name":"Retry & Idempotency Contract Builder","url":"/retry-idempotency-contract-builder/","category":"devtools"}]}}