Skip to content
Free website migration on every plan, done by our team.Learn more ›
Free tool · Network

Subnet calculator

Enter an IPv4 or IPv6 address with its prefix, such as 192.168.1.10/24 or 2001:db8::/48, and see the network, the usable range, the masks and how to split it.

How it works

What the subnet calculator works out

Network and range

See the network address, the first and last usable addresses, the broadcast address and how many addresses fit.

Masks in every form

The subnet mask, the wildcard mask that routers and firewalls use, and the mask in binary, next to the prefix length.

IPv6 too

For IPv6 you get the full range, the expanded address and how many /64 networks fit, which is how IPv6 space is usually planned.

Questions

Subnet calculator: common questions

What is a subnet?

A subnet is a smaller part of a larger network. The prefix, such as /24, says how many leading bits name the network. The rest number the devices inside it.

What does /24 mean?

/24 means the first 24 bits are the network and the last 8 bits are for devices. That gives 256 addresses, of which 254 can be given to devices. The mask is 255.255.255.0.

Why are the first and last addresses not used?

In IPv4 the first address names the network and the last is the broadcast address, so neither can be given to a device. IPv6 has no broadcast address.

How big is an IPv6 /64?

A /64 holds 2 to the power of 64 addresses, about 18 billion billion. It’s the standard size for one network, such as an office LAN, and providers usually give a site a /48 or /56 to split into many /64s.

More free tools

Everything you need to check a website

What is my IP?See the public IP address websites see when you visit.IP address lookupLook up any IP: its provider, network, country, reverse DNS and abuse contact.Password checker and generatorTest a password’s strength and create strong ones, privately in your browser.WHOIS lookupSee who a domain is registered with and when it expires.DNS lookupCheck A, MX, TXT, SPF, DMARC and other records in seconds.SSL checkerCheck a site’s certificate, who issued it and when it expires.Website speed testMeasure how fast a server answers, plus its security headers.Domain name generatorTurn a few words into domain names that are free to register.Email security checkerGrade a domain’s SPF, DKIM and DMARC and see why email lands in spam.Website checkerOne check for DNS, SSL, speed, security headers and email protection.Hosting plan finderAnswer five quick questions and get the hosting plan that fits.DNS propagation checkerSee if a DNS change has reached the world’s big DNS resolvers yet.Email blacklist checkerSee if a mail server IP or a domain is on the email block lists.SPF and DMARC generatorCreate the SPF and DMARC records that keep your email out of spam.Uptime calculatorTurn an uptime percentage into real downtime per day, month and year.Binary translatorTurn text into binary or hex and decode it back, in your browser.Base64 encoder and decoderEncode text to Base64 or decode Base64 back to text.Hash generator (SHA-256)SHA-256, SHA-1, SHA-384 and SHA-512 hashes of any text.Unix timestamp converterTurn a Unix timestamp into a date, or a date into a timestamp.Chmod calculatorWork out file permission numbers such as 644 and 755.
See all 21 free tools
AuroxHost

A faster, safer home for your website

NVMe hosting with free SSL that renews itself, daily backups and free migration, with real people on WhatsApp 24/7.