Subnet Mask Calculator

Professional subnet calculator supporting IPv4/IPv6, CIDR notation, VLSM planning. Calculate network parameters instantly including broadcast address, host range, and subnet masks for efficient network design.

IPv4 Calculator
IPv6 Calculator
VLSM Planner

Network Information

Quick Presets

IPv6 Network Information

Common IPv6 Prefixes

VLSM (Variable Length Subnet Mask) Planning

Embed tool Add this tool to your website Get embed code

Add this calculator to a related page with a visible HeyCal source link.

Instant results No signup required Standard formulas Free to use

Frequently Asked Questions about Subnet Mask Calculator

How do I sanity-check the subnet mask result?

Rerun the calculator with a known example and compare it against the figure you expect; then swap back to your own numbers.

Which subnet mask inputs change the outcome most?

Adjust one field at a time. The figure that shifts the result hardest is the assumption worth double-checking before you rely on it.