Quickly and easily design network layouts. Split and join subnets, add notes and color, then collaborate with others by sharing a custom link to your design.
Enter the network you wish to subnet and use the Split/Join buttons on the right to start designing!
| Subnet Address | Range of Addresses | Usable IPs | Hosts |
Note
Split/Join
|
||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Loading... | ||||||||||||||||||
Visual Subnet Calculator (v1.4.3) is an industrial-grade, interactive, client-side visual IP planning and calculation engine engineered for network engineers, cloud infrastructure architects, DevOps specialists, and systems administrators. Instead of forcing users to manually compute tedious binary bit-math or rely on static cheat sheets, it transforms complex IP address allocation into an intuitive, interactive visual binary buddy tree.
BigInt precision.
/16 through
/32) and 12 standard allocation tier
presets for IPv6 (/32 through
/128).
Subnetting in Visual Subnet Calculator follows a binary buddy-tree model:
10.0.0.0/16 creates two contiguous
/17 subnets: 10.0.0.0/17 and
10.0.128.0/17 (each spanning 32,768 IP
addresses).
2001:db8::/32 creates
2001:db8::/33 and
2001:db8:8000::/33.
/32 in
IPv4, or down to /128 in IPv6.
/64 are designated as
standard leaf subnets (marked with
.split-disabled). Clicking triggers an
educational modal explaining SLAAC interface
identifier requirements.
/127 can be split into two
/128 host addresses for router
inter-links, preventing neighbor discovery ping-pong
attacks.
Visual Hierarchy & Note Persistence: Visual tree brackets on the right clearly illustrate split lineage. All custom notes, labels, and color assignments automatically remain bound to their respective subnets throughout splitting and joining.
You can switch between IPv4 and IPv6 at any moment using the dedicated segmented toolbar at the top of the interface:
Default root network is 10.0.0.0/16 with
17 rapid preset buttons (/16
through /32). It automatically computes
Subnet Address, Address Range, Usable Host Range, Total
Addresses, Usable Hosts, Subnet Mask, and Wildcard Mask.
It includes full support for RFC 3021
/31 point-to-point links (2 usable hosts
with 0 reserved network/broadcast addresses) and
/32 single host routes.
Default root network is 2001:db8::/32 with
12 standard tier presets matching
global Internet registry and enterprise architecture
best practices:
| Prefix | Subnet Capacity | Standard Allocation Purpose | RFC Standard |
|---|---|---|---|
/32 |
65,536 × /48 sites |
Regional Internet Registry (RIR) / ISP block allocation | RFC 6177 |
/48 |
65,536 × /64 LANs |
Large enterprise / corporate data center site prefix | RFC 6177 |
/56 |
256 × /64 LANs |
Medium enterprise / branch office / multi-VPC assignment | RFC 6177 |
/60 |
16 × /64 LANs |
Small office / departmental network segment | RFC 6177 |
/64 |
18.4 × 1018 IPs | Standard end-user LAN segment / SLAAC boundary | RFC 4291 / RFC 7421 |
/80 |
2.81 × 1014 IPs | Micro-segmented server zone / Kubernetes pod network | RFC 4291 |
/96 |
4.29 × 109 IPs | IPv4-mapped / NAT64 translation boundary | RFC 6052 / RFC 6146 |
/112 |
65,536 IPs | Isolated infrastructure subnets / router loopback groups | RFC 4291 |
/120 |
256 IPs | Legacy small isolated subnets / sensor pools | RFC 4291 |
/124 |
16 IPs | Point-to-multipoint links | RFC 4291 |
/127 |
2 IPs | Point-to-point router interlinks | RFC 6164 |
/128 |
1 IP | Single host / router loopback interface | RFC 4291 |
Lossless 128-Bit Precision: IPv6 math
is executed via native JavaScript
BigInt bitwise calculations, avoiding
floating-point rounding errors across huge address
spaces. Output strictly adheres to RFC 5952 canonical
format (leading zero suppression, lowercase hexadecimal,
and ::
compression).
Major public cloud providers reserve specific IP addresses within subnets for their internal management and routing infrastructure. Select your operating profile from the Tools dropdown menu:
| Provider Profile | Reserved IPs | Specific Internal Deductions | Allowed CIDR Range |
|---|---|---|---|
| Standard Mode | 2 |
.0 (Network ID), .255
(Network Broadcast)
|
/1 to /32 |
| AWS VPC | 5 |
.0 (Network), .1 (VPC
Router), .2 (AWS DNS /
AmazonProvidedDNS), .3 (Future
use), .255 (Network Broadcast)
|
/16 to /28 |
| Azure VNet | 5 |
.0 (Network),
.1 (Default Gateway),
.2 (Azure DNS mapping),
.3 (Azure DNS mapping),
.255 (Network Broadcast)
|
/8 to /29 |
| Google Cloud (GCP) | 4 |
.0 (Network),
.1 (Default Gateway),
.254 (Reserved for future use),
.255 (Network Broadcast)
|
/8 to /29 |
| Oracle Cloud (OCI) | 3 |
.0 (Network),
.1 (Default Gateway),
.255 (Network Broadcast)
|
/16 to /30 |
When a cloud mode is activated, the Usable IPs and Hosts columns dynamically adjust to display accurate usable address boundaries, preventing costly IP provisioning errors in production.
Visual Subnet Calculator provides 10 curated pastel colors to help you visually distinguish functional layers (e.g., DMZ, Web Tier, App Tier, Database, Kubernetes, Management, VPN, Storage, IoT, External):
Every row includes an editable Note input field. Use it to record VLAN IDs, CIDR names, server cluster tags, or security zone notes. Notes are automatically preserved across splits and joins, and are serialized into shared URL links, JSON configurations, CSV spreadsheets, and Plain Text exports.
Click the share button in the bottom navigation toolbar
to copy a direct shareable URL to your clipboard. The
entire state—base network, prefix length, all splits and
joins, color assignments, notes, and cloud operating
mode—is compressed via LZ-String into a
URL hash parameter (#?c=...). Anyone
opening the link will instantly view your exact network
design without requiring an account.
In the Tools menu, select Import / Export. Visual Subnet Calculator supports 3 comprehensive data formats:
.json): Complete
hierarchical representation of your subnet tree,
notes, colors, IP version, and cloud mode for backup,
IaC (Terraform, CloudFormation), or Git tracking.
.csv): Strict RFC
4180 compliant comma-separated values format with
double-quoted fields (Subnet Address, Address Range,
Usable IPs, Hosts, Note, Color), ready for Excel,
Google Sheets, LibreOffice Calc, or IPAM tools.
.txt):
Dynamically aligned ASCII text tables with metadata
comments for network design documentation, Git pull
requests, runbooks, and change tickets.
JSON, CSV, and
Plain Text with instantaneous live
re-formatting.
.json, .csv, or
.txt files directly via the browser's
HTML5 FileReader API.
Blob
download triggers.
Yes, 100%. Visual Subnet Calculator operates entirely within your web browser's local JavaScript runtime:
escapeHtml()) prevents
stored Cross-Site Scripting (XSS), dynamic boundary
modals bind data using safe text nodes
(.text()), and all assets are verified
with Subresource Integrity (SRI) hashes. Passed GitHub
CodeQL with 0 alerts.
Visual Subnet Calculator is engineered with fluid CSS tokens and responsive container rules supporting a diverse spectrum of displays:
flex-wrap: wrap)
without breaking table alignment or clipping buttons.
0.74rem), and
accessible touch targets conforming to WCAG 2.2 Level
AA (minimum 44×44px interactive areas).
172.16.0.0/12 or
2001:db8:1::/48) directly into the
Network Address field and press
Enter or click Go. The
tool automatically parses and separates the IP and
prefix length into their respective fields.
(0xffffffff << (32 - netSize)) >>>
0), ensuring zero jitter or lag during rapid edits.
Visual Subnet Calculator is governed by formal architectural criteria defined under RFC 2119 / RFC 8174 to guarantee deterministic computation, zero data leakage, and production stability:
BigInt arithmetic and MUST NOT be cast to
standard JavaScript Number types.
escapeHtml()) prior to DOM rendering.
.text()), eliminating DOM XSS sinks.
"" and enclose all fields with double
quotes.
#importFileInput) MUST have semantic
<label> elements and descriptive
titles meeting WCAG 2.2 AA.
USER 101).
#?c=...) for serverless peer
collaboration.
max-age=31536000).
/127 for router point-to-point
inter-links (RFC 6164).
AVOID inline HTML style="..." attributes,
AVOID floating-point math for IPv6, AVOID unsanitized
innerHTML sinks, AVOID splitting past
/64 SLAAC without RFC 7421 justification,
and AVOID unscoped global CSS selector pollution.
Visual Subnet Calculator functions as the foundational IP planning and allocation engine for broader production networking systems:
in-addr.arpa and
ip6.arpa) PTR zone delegation records.
Visual Subnet Calculator is actively maintained, enhanced, and engineered by HARRY DERTIN SUTISNA (@alsyundawy) under ALSYUNDAWY IT SOLUTION. The project builds upon foundational open-source work by Caesar Kabalan, bl4ckfir3, and David C.
Visual Subnet Calculator is licensed under the open-source MIT License. Community contributions, pull requests, and feedback are always welcome!
Visual Subnet Calculator is an industrial-grade, client-side visual IP planning engine designed for high-availability enterprise network operations, cloud VPC/VNet topologies (AWS, Azure, GCP, OCI), and dual-stack IPv4/IPv6 architectures. It focuses on expediting the work of network administrators, DevOps architects, and systems engineers through visual intuition, deterministic precision, and zero data leakage.
BigInt IPv6
arithmetic with RFC 5952 canonical formatting.
Blob downloading and HTML5
FileReader upload parsing.
/16
through /32) and 12 IPv6 tier presets (/32
through /128) with real-time two-way
synchronization.
(0xffffffff << (32 - netSize)) >>> 0), eliminating legacy loop iterations.
Visual Subnet Calculator strictly implements formal engineering criteria:
BigInt for IPv6,
sanitize dynamic HTML entities (escapeHtml()),
bind modal warnings via safe text nodes
(.text()), format CSV to RFC 4180, provide
accessible form labels, and execute Docker containers under
unprivileged context (USER 101).
#?c=...), enforce production HTTPS with HSTS,
declare container healthcheck probes, and apply color-coded
tiering.
/127 P2P
links (RFC 6164).
style="..."), floating-point math for IPv6,
unsanitized innerHTML sinks, and arbitrary
splitting past /64 SLAAC without RFC 7421
justification.
Visual Subnet Calculator is actively maintained, enhanced, and engineered by HARRY DERTIN SUTISNA (@alsyundawy) under ALSYUNDAWY IT SOLUTION.
Originally created by Caesar Kabalan with contributions from the open-source community.
Special thanks to davidc for the original tool this website is inspired by.
Icons provided by Font Awesome Free v7.3.1 and Flaticon.
Licensed under the open-source MIT License.
Scan the following QRIS barcode using any supported mobile banking or digital wallet app (GoPay, OVO, DANA, LinkAja, BCA, Mandiri). Thank you for your support and appreciation! 🙏