Complete Documentation — All Tools & Calculators
Everything you need to know about every tool on SubnettingCalculator.com in one place. Find plain English explanations, step-by-step guides, and quick-reference tables for all IPv4 and IPv6 calculators and converters.
Quick Navigation — Jump to Any Tool
Click any tool name below to jump straight to its documentation section on this page.
IPv4 Calculators
IPv6 Tools
Converters & Utilities
All-in-One Subnet Calculator Open Tool ↗
What is the All-in-One Calculator?
The homepage calculator combines four tools in a single interface — a live subnet details panel, FLSM calculator, VLSM calculator, and Supernetting (Route Summarization) tool. It is the fastest way to go from an IP address and mask to a full set of subnet details without switching pages.
How to Use It
- 1IP Address & Mask — Enter any IPv4 address and set the subnet mask by typing it directly or dragging the CIDR slider. The Subnet Details panel updates live as you change the slider.
- 2FLSM mode — Check the FLSM checkbox, enter a Quantity and a single Hosts per Subnet value, then click Calculate to split the network into equal subnets.
- 3VLSM mode — Check the VLSM checkbox, enter comma-separated host counts (e.g.
100,50,20), then click Calculate to create variable-size subnets. - 4Supernetting — Paste two or more networks (one per line) into the Supernetting box and click Calculate to generate a summary route.
- 5Click Clear All to reset every field at once.
When to Use Each Mode
| Mode | Best For | Key Input |
|---|---|---|
| Subnet Details (live) | Quick look up of a single network's properties | IP + CIDR slider only |
| FLSM | Splitting a network into equal-size subnets | Quantity + one host count |
| VLSM | Splitting a network into different-size subnets | Comma-separated host counts |
| Supernetting | Combining multiple networks into one summary route | Networks, one per line |
Subnet Calculator Open Tool ↗
What it Does
The dedicated Subnet Calculator focuses entirely on a single subnet — it takes any IPv4 address and prefix and instantly shows you all the key properties of that network in a clean details table. Use it when you need the full breakdown of one specific network without any FLSM or VLSM overhead.
Output Fields Explained
| Field | What it Means |
|---|---|
| Network Address | First address of the subnet — identifies the network in routing tables, cannot be assigned to a device |
| Subnet Mask | Dotted decimal mask, e.g. 255.255.255.0 |
| CIDR Prefix | Slash notation, e.g. /24 |
| Wildcard Mask | Inverse of the subnet mask — used in ACLs and OSPF |
| First / Last Usable IP | The first and last addresses assignable to devices |
| Broadcast Address | Last address of the subnet — used to reach all devices at once, cannot be assigned |
| Usable Hosts | Total addresses minus 2 (network + broadcast) |
| Binary Subnet Mask | Full 32-bit binary representation — useful for visualising subnet boundaries |
| IP Class | Classful category (A, B, or C) for reference |
FLSM Calculator — Fixed Length Subnet Masking Open Tool ↗
What is FLSM?
FLSM divides a network into equal-sized pieces — every subnet gets the same number of addresses. It is the simplest subnetting method because every subnet uses the same mask. Use it when all your network segments need roughly the same number of devices.
How to Use It
- 1Enter your base IP Address and set the Subnet Mask or CIDR slider to define your total address pool.
- 2Enter the Quantity — how many equal subnets you want to create.
- 3Enter Hosts per Subnet — a single number representing the maximum devices per subnet (e.g.
50). - 4Click Calculate FLSM. Results appear in the subnets table and any leftover addresses appear in the Free/Unused IP table.
Example — 3 Subnets of 50 Devices from a /24
| Subnet | Network | Start IP | End IP | Broadcast | Hosts | Mask |
|---|---|---|---|---|---|---|
| Subnet 1 | 192.168.0.0/26 | 192.168.0.1 | 192.168.0.62 | 192.168.0.63 | 62 | 255.255.255.192 |
| Subnet 2 | 192.168.0.64/26 | 192.168.0.65 | 192.168.0.126 | 192.168.0.127 | 62 | 255.255.255.192 |
| Subnet 3 | 192.168.0.128/26 | 192.168.0.129 | 192.168.0.190 | 192.168.0.191 | 62 | 255.255.255.192 |
VLSM Calculator — Variable Length Subnet Masking Open Tool ↗
What is VLSM?
VLSM lets you give each subnet exactly the size it needs — no more, no less. One subnet can hold 100 devices while another holds 10, all carved from the same parent block. This wastes far fewer addresses than FLSM when your segments vary in size.
How to Use It
- 1Enter your base IP Address and set the CIDR to define the total pool.
- 2In Required Hosts per Subnet, enter a comma-separated list of host counts — one value per subnet, e.g.
100, 50, 20. The Quantity field auto-counts as you type. - 3Click Calculate VLSM. The calculator sorts your values largest-first automatically, then allocates subnets in order.
Example — 100, 50, and 20 Devices from 192.168.0.0/24
| Subnet | Network | Start IP | End IP | Hosts | Mask |
|---|---|---|---|---|---|
| Subnet 1 | 192.168.0.0/25 | 192.168.0.1 | 192.168.0.126 | 126 | 255.255.255.128 |
| Subnet 2 | 192.168.0.128/26 | 192.168.0.129 | 192.168.0.190 | 62 | 255.255.255.192 |
| Subnet 3 | 192.168.0.192/27 | 192.168.0.193 | 192.168.0.222 | 30 | 255.255.255.224 |
Supernetting — Route Summarization Open Tool ↗
What is Supernetting?
Supernetting is the opposite of subnetting. Instead of breaking one large network into pieces, it combines multiple smaller networks into one single summary route — reducing the number of entries in a routing table. Also called Route Summarization or IP Aggregation.
Three Rules Your Networks Must Follow
- 1Contiguous — Networks must sit next to each other with no gaps in the address space.
- 2Power of 2 — Summarize 2, 4, 8, or 16 networks. Odd numbers force over-summarization.
- 3Boundary aligned — The first network must start at an address evenly divisible by the total block size, or the summary will cover addresses outside your intended range.
How to Use It
- 1Type each network in CIDR format in the text box — one network per line, e.g.
192.168.0.0/24. - 2Enter at least two networks. Order does not matter — the calculator sorts them automatically.
- 3Click Calculate Summary Route. The result shows the summary network details and an Individual Networks breakdown table confirming each input is included.
Subnet Overlap Checker Open Tool ↗
What is Subnet Overlap?
Subnet overlap occurs when two network ranges share one or more IP addresses. Overlapping subnets cause routing conflicts — the router cannot determine which path to use for a packet. This is critical to check before configuring VPC peering, VPN tunnels, or merging two networks.
How to Use It
- 1Enter the first network or IP in the Network 1 field (e.g.
10.0.0.0/16). - 2Enter the second network or IP in the Network 2 field (e.g.
10.0.50.0/24). - 3Click Check For Overlap. A status banner appears instantly along with a comparison table showing the exact start and end IP boundaries of both networks.
Understanding the Status Results
| Status | Meaning | Action Required |
|---|---|---|
| Safe | Ranges are completely separate — no shared addresses | None. Safe to peer or route. |
| Subset | One network is entirely inside the other | Review routing priority — Longest Prefix Match applies. |
| Partial | Networks share some but not all addresses | Redesign — change one network's prefix to eliminate the overlap. |
| Match | Both ranges are identical | Critical conflict — one must be changed or removed. |
Subnet List Generator Open Tool ↗
Bulk IP Address Generation
This tool expands a CIDR block into a complete list of every usable IP address it contains — each one on its own line, ready to copy. For example, a /29 network contains 6 usable host addresses. Use it when you need a full address inventory for firewall rules, audit documentation, or DHCP pool planning.
How to Use It
- 1Define your network — enter the IP address and set the prefix using the subnet mask field or CIDR slider.
- 2Generate the list — click the Generate button to produce every usable host address in the block.
- 3Export — copy the list directly into firewall allow/deny rules, audit spreadsheets, or network documentation.
Common Use Cases
| Use Case | How It Helps |
|---|---|
| Firewall allowlisting | Generate every IP in a trusted subnet and paste the list directly into your firewall policy |
| DHCP pool planning | See every available address before deciding which range to reserve for static assignments |
| Audit & compliance | Produce a full address inventory for a network segment for documentation or change management |
| Security scanning | Feed the list into a scanning tool to check which hosts are active within a subnet |
IP Address Class & Type Detector Open Tool ↗
What it Does
A professional diagnostic tool that instantly identifies the legacy Class of an IPv4 address or the modern Scope and Type of an IPv6 address. By analysing the leading bits of any IP address, the detector reveals how hardware categorises the address for routing, multicasting, or private networking.
How to Use It
- 1Enter your address — type or paste any IPv4 (e.g.
172.16.0.1) or IPv6 (e.g.fe80::1) address into the input field. - 2Detect Properties — click the button to perform a bitwise analysis of the leading octet or hex digits.
- 3Analyse Results — view the protocol version, the legacy class (for IPv4), or the reachability scope (for IPv6) alongside the default mask and private/public status.
IPv4 Class Reference
| Class | First Octet Range | Default Mask | Private Range |
|---|---|---|---|
| A | 1 – 126 | 255.0.0.0 (/8) | 10.0.0.0 – 10.255.255.255 |
| B | 128 – 191 | 255.255.0.0 (/16) | 172.16.0.0 – 172.31.255.255 |
| C | 192 – 223 | 255.255.255.0 (/24) | 192.168.0.0 – 192.168.255.255 |
| D | 224 – 239 | N/A | Multicast — not assignable to hosts |
| E | 240 – 255 | N/A | Reserved / Experimental |
The class is determined strictly by the leading bits of the first octet. If the first bit is 0, it is Class A. If it starts with 10, it is Class B. If it starts with 110, it is Class C. This binary logic allowed early routers to handle traffic efficiently before CIDR was invented.
Why IPv6 Doesn't Use Classes
IPv4 classful addressing was found to be extremely wasteful — a company needing 500 addresses had to take an entire Class B (/16 with 65,534 hosts). IPv6 abandoned this system entirely in favour of a hierarchical prefix and scope model. Instead of a class, IPv6 uses the leading bits to indicate scope: whether the address is intended for a single link (fe80::/10 Link-Local), a private organisation (fc00::/7 Unique Local), or the global internet (2000::/3 Global Unicast). The tool detects all of these automatically for any address you enter. The modern internet uses CIDR for IPv4 too, making classes obsolete in practice — but they remain essential knowledge for CCNA, Network+, and other IT certification exams.
IPv4 Subnet Cheat Sheet Open Tool ↗
What it Contains
A pre-calculated reference table listing all 33 IPv4 prefix lengths from /0 to /32 — each with subnet mask, wildcard mask, total addresses, usable host count, class, and a description of common use. Also includes the three RFC 1918 private address ranges. Bookmark it and keep it open during exams, router configuration, and firewall rule writing.
| Prefix | Subnet Mask | Usable Hosts | Common Use |
|---|---|---|---|
| /30 | 255.255.255.252 | 2 | Point-to-point router link |
| /27 | 255.255.255.224 | 30 | Small department or VLAN |
| /24 | 255.255.255.0 | 254 | Standard LAN / office |
| /16 | 255.255.0.0 | 65,534 | Large campus network |
IPv6 Subnet Calculator Open Tool ↗
What it Does
Enter any IPv6 address and set a prefix length from /0 to /128. The calculator instantly expands the address to its full 128-bit form, compresses it to its shortest form, splits it into Network Prefix and Host (Interface ID) portions, shows the first and last addresses in the block, calculates the total address count, detects the address type and scope, and tells you how many /64 subnets fit inside the block.
Key Output Fields
| Field | What it Means |
|---|---|
| Full IPv6 Address | All 8 groups shown with leading zeros restored — no shortcuts |
| Compressed Address | Shortest valid form using :: for consecutive zero groups |
| Network Prefix | The left-hand portion that identifies the network (host bits zeroed) |
| Host Portion / Interface ID | The right-hand portion that identifies the device (network bits zeroed) |
| First / Last Address | Boundaries of the entire block — no broadcast reserved in IPv6 |
| Address Type & Scope | Global Unicast, Link-Local, Unique Local, Multicast, Loopback etc. |
| Number of /64 Networks | How many standard LAN segments fit inside this prefix |
IPv6 SLAAC / EUI-64 Generator Open Tool ↗
What is SLAAC and EUI-64?
SLAAC (Stateless Address Autoconfiguration) allows an IPv6 host to generate its own unique IP address without a DHCPv6 server. The device takes the /64 network prefix advertised by the router and combines it with a 64-bit Interface Identifier it creates itself. The EUI-64 (Extended Unique Identifier) method generates that Interface ID from the device's 48-bit MAC address.
The EUI-64 Conversion Process
-
1
FF:FE Insertion — The 48-bit MAC address is split into two 24-bit halves (the OUI and the device-specific portion). The 16-bit hex value
FFFEis inserted between them, expanding the 48-bit MAC into a 64-bit Interface Identifier. -
2
7th Bit Flip (U/L Bit) — The 7th bit of the first octet (the Universal/Local bit) is inverted. A
0becomes1, indicating the address is universally unique. This is why a MAC starting with00becomes02in EUI-64.
How to Use the Generator
- 1MAC Address — paste your device's hardware address. The tool accepts any separator format: colons (
:), hyphens (-), or Cisco dots (.). - 2Network Prefix (optional) — enter your /64 prefix (e.g.
2001:db8::) to see the complete SLAAC-generated IPv6 address, not just the Interface ID. - 3Click Generate — review the step-by-step breakdown showing the FFFE insertion, the bit flip, and the final Interface Identifier.
Worked Example — MAC: 00:00:AA:11:22:33
| Step | Value | Explanation |
|---|---|---|
| Original MAC | 00:00:AA:11:22:33 | 48-bit hardware address |
| Split & Insert FFFE | 0000:AAFF:FE11:2233 | FFFE inserted between the two 24-bit halves |
| 7th Bit Flip | 00 → 02 | Binary 00000000 → 00000010 (bit 7 set) |
| Final EUI-64 ID | 0200:aaff:fe11:2233 | 64-bit Interface Identifier ready to combine with /64 prefix |
IPv6 Address Compression Tool Open Tool ↗
Understanding IPv6 Notation
IPv6 addresses are 128-bit strings — writing them out in full produces 32 hex characters split into 8 groups of 4. To make them manageable, network engineers use compressed notation. This tool converts freely between the Expanded form (all 32 digits shown) and the Compressed form (using the :: shortcut). Both formats represent the exact same address — the compressed version is simply shorthand for human readability.
:: once per address. Using it twice would make the address ambiguous — a computer could not know how many zero groups belong to each ::.How to Use It
- 1Paste your IPv6 address into the input field. The tool is flexible — you can enter a messy, partially compressed, or fully expanded address in any valid format.
- 2Click Format Address to see the results. If the input is invalid an error message will appear.
Output Formats Explained
| Format | Rule | Example | Best For |
|---|---|---|---|
| Compressed | Leading zeros removed; longest consecutive zero-group run replaced with :: | 2001:db8::1 | Router CLI configuration and documentation — everyday use |
| Expanded | All 8 groups restored to 4 digits each, leading zeros included | 2001:0db8:0000:0000:0000:0000:0000:0001 | Older firewalls, scripts, and tools that require the full fixed-width format |
| Raw Hex | All colons removed — 32 hex digits as a single string | 20010db8000000000000000000000001 | Database storage and low-level programming where colons would break parsing |
::. Only one :: may appear in the final address.IPv6 Subnet Cheat Sheet Open Tool ↗
What it Contains
Three reference tables in one page: a prefix length table covering /0 to /128 with total address counts and /64 subnet counts; a full address types table covering all 11 IPv6 address categories with scope and routability; and a well-known multicast addresses table. The most comprehensive IPv6 quick-reference available — bookmark it alongside the IPv4 chart.
| Prefix | /64 Subnets | Assigned To |
|---|---|---|
| /32 | 4,294,967,296 | ISP allocation from RIR |
| /48 | 65,536 | Business customer |
| /56 | 256 | Home broadband customer |
| /64 | 1 | Single LAN segment (SLAAC standard) |
IPv4 to IPv6 Converter Open Tool ↗
Why Convert IPv4 to IPv6?
As networks migrate from IPv4 to IPv6, devices on pure IPv6 networks still need to communicate with legacy IPv4 systems. Transition mechanisms embed a 32-bit IPv4 address inside a 128-bit IPv6 address in different ways depending on the protocol.
Three Output Formats
| Format | Example | Used For |
|---|---|---|
| IPv4-Mapped (::ffff:) | ::ffff:192.168.1.1 | Dual-stack software — representing an IPv4 connection to an IPv6 application. Most common format. |
| 6to4 (2002::) | 2002:c0a8:0101::/48 | Legacy IPv6-over-IPv4 tunnelling. The public IPv4 address is converted to hex and embedded after 2002::. |
| IPv4-Compatible (deprecated) | ::192.168.1.1 | Original IPv4-over-IPv6 method — now deprecated by RFC 4291. Shown for reference only. |
IP Range to CIDR Converter Open Tool ↗
Why Convert a Range to CIDR?
Firewalls, routers, cloud security groups (AWS, Azure, GCP), and routing protocols all require CIDR notation — they do not accept arbitrary IP ranges like "192.168.0.10 to 192.168.0.50". This tool converts any start-to-end IP range into the minimum set of CIDR blocks that covers it exactly.
How to Use It
- 1Enter the Start IP of your range, e.g.
192.168.0.10. - 2Enter the End IP of your range, e.g.
192.168.0.50. - 3Click Convert to CIDR. The tool outputs the smallest list of CIDR blocks that covers every address from start to end with no gaps and no excess.
IP Address Converter Open Tool ↗
What it Does
Converts any IPv4 or IPv6 address into binary, hexadecimal, and integer formats. Automatically detects which type of address you have entered. Useful for packet analysis, database work, and low-level protocol debugging.
Output Formats and Their Uses
| Format | Example (for 192.168.1.1) | Primary Use Case |
|---|---|---|
| Dotted Decimal | 192.168.1.1 | Standard human-readable format — used everywhere |
| Binary | 11000000.10101000.00000001.00000001 | Visualising subnet boundaries and bit masking |
| Hexadecimal | 0xC0A80101 | Packet captures (Wireshark), memory dumps, network programming |
| Integer (Decimal) | 3232235777 | Database storage — storing IPs as integers makes range queries far faster than string comparison |
Wildcard Mask Converter Open Tool ↗
What is a Wildcard Mask?
A wildcard mask is the bitwise inverse of a subnet mask. A 0 bit means "this bit must match" and a 1 bit means "this bit can be anything". Wildcard masks are used in Cisco IOS access control lists (ACLs) and OSPF network statements to define which bits of an address a rule applies to.
Binary Bit Meaning
| Bit Value | Wildcard Meaning | Subnet Mask Meaning |
|---|---|---|
| 0 | Match — check this bit exactly | Network — this bit belongs to the network portion |
| 1 | Ignore — this bit can be anything | Host — this bit belongs to the host portion |
Reverse IP Converter Open Tool ↗
What is a Reverse IP / PTR Record?
A reverse DNS (PTR) record maps an IP address back to a hostname — the opposite of the normal forward DNS lookup. To store PTR records, DNS uses a special reversed notation. For IPv4, the octets are reversed and .in-addr.arpa is appended. For IPv6, each nibble (hex character) is reversed individually and .ip6.arpa is appended.
| Type | Input | Reverse DNS Notation |
|---|---|---|
| IPv4 | 192.168.1.100 | 100.1.168.192.in-addr.arpa |
| IPv6 | 2001:db8::1 | 1.0.0.0...0.8.b.d.1.0.0.2.ip6.arpa |
MAC Address Converter Open Tool ↗
What it Does
A MAC (Media Access Control) address is a 48-bit hardware identifier assigned to every network interface. Different vendors and operating systems display the same MAC address in different formats. This tool converts between all common formats instantly. Paste any valid MAC in any format and get every other format back.
MAC Address Formats
| Format | Example | Used By |
|---|---|---|
| Colon Separated | 00:1a:2b:3c:4d:5e | Linux, macOS, Unix — IEEE standard format |
| Hyphenated | 00-1A-2B-3C-4D-5E | Windows — output of ipconfig /all |
| Cisco Dot Notation | 001a.2b3c.4d5e | Cisco IOS CLI — required in Cisco router and switch commands |
| Plain Hex | 001a2b3c4d5e | Database storage, packet analysis tools |
IP Address Cleaner Open Tool ↗
What it Does
Paste a messy block of text containing IP addresses — log files, firewall exports, spreadsheet dumps, emails — and the IP Cleaner extracts every valid IPv4 and IPv6 address, removes duplicates, sorts them, and gives you back a clean deduplicated list ready to use. It strips out all surrounding text, punctuation, and noise automatically.
- 1Paste any text containing IP addresses into the input box — the format does not matter, IPs can be mixed with other text.
- 2Click Clean IPs. The tool parses every valid address and outputs a clean sorted list.
- 3Copy the result directly into your firewall rules, access lists, or documentation.