IP tools

Subnet math, address conversion, DNS and reverse DNS. The calculator and converters run in your browser; the lookups use DNS over HTTPS.

CIDR calculator

Enter an IPv4 or IPv6 address with a prefix, such as 192.168.1.10/24 or 2001:db8::/32.

IP address and decimal

Convert an IPv4 address to its integer form, or an integer back to an address.

Random IP generator

Generate a random IPv4 and IPv6 address, useful for test fixtures and documentation.

DNS lookup

Resolve a name through DNS over HTTPS. Records come from a public resolver, which can differ from your ISP's answer.

Reverse DNS (PTR)

Ask which hostname an address points back to. Many addresses have no PTR record.

What these tools are for

Subnet math is the part of networking people get wrong most often. A CIDR block is described by the number of fixed leading bits, and the address that looks usable is usually not the address you can assign. The calculator shows the network, the broadcast address, the first and last usable host and the size of the block, for both IPv4 and IPv6.

The DNS and PTR lookups are the practical half. A reverse record often tells you what an address is used for: mail servers, hosting providers and VPN ranges tend to have identifying hostnames, while residential connections often have none. That makes PTR a useful signal when you are checking whether an address looks like what it claims to be.

Frequently asked questions

What is CIDR notation?

CIDR notation writes an address and the size of its network as address/prefix. The prefix counts the leading bits that are fixed, so 192.168.1.10/24 means the first 24 bits identify the network and the last 8 identify the host.

What does a /24 mean?

A /24 fixes 24 of the 32 IPv4 bits, leaving 8 bits for hosts, so the block holds 256 addresses. For IPv6 a /64 is the usual size of one subnet, even though it holds an enormous number of addresses.

What is a PTR record?

A PTR record maps an IP address back to a hostname. It is optional, set by the network operator, and often reveals whether an address belongs to a hosting provider, a mail server or a residential connection.

Why does a DNS lookup here differ from my system?

These lookups use DNS over HTTPS through a public resolver, which can return a different answer than your ISP resolver, especially for CDNs that route by location.

Are these tools free?

Yes. The calculator and converter run locally in your browser. The DNS and PTR lookups use a public DNS over HTTPS service and are free.

Back to the IP checker