Subnet Mask Calculator

Enter the values the subnet mask form asks for and the result is computed here, in the page, with no sign-up and no upload. Change one field at a time to see how sensitive the subnet mask figure is to that assumption.

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.