TSToolSphere

IP Address Converter

web100% Client-Side

Convert an IPv4 address between dotted-decimal, binary, hexadecimal, octal, and 32-bit integer.

CIDR / Subnet Calculator

Compute network range, broadcast address, and host counts from an IPv4 CIDR block.

Network Address
192.168.1.0
Broadcast Address
192.168.1.255
Subnet Mask
255.255.255.0
Wildcard Mask
0.0.0.255
First Usable Host
192.168.1.1
Last Usable Host
192.168.1.254
Total Addresses
256
Usable Hosts
254
Address Class
C

About IP Address Converter

One Address, Several Representations

An IPv4 address is fundamentally a single 32-bit number, and dotted-decimal notation (like 192.168.1.1) is just the most human-readable of several equally valid ways to write that same underlying value (see IP Address Notations for the full breakdown of why each format exists). Binary reveals exactly what a CIDR/subnet prefix operates on — a count of fixed leading bits — which is far more transparent when written out in binary than reasoned about in decimal.

The packed 32-bit integer form matters specifically for anywhere IP addresses are stored or compared at scale — many databases and geolocation datasets store addresses as a single integer rather than four separate octets, since a single integer is both more storage-efficient and trivially comparable for range queries ("is this address between X and Y") — a comparison that's awkward to express directly across four separate decimal octets.

Converting between these representations by hand is genuinely error-prone (each octet's positional weight in the integer form is a power of 256, not 10), which is exactly the kind of mechanical conversion worth automating rather than risking a manual arithmetic mistake in something like a firewall rule or database query.

Educational Guides & Tutorials

Frequently Asked Questions

Help Us Improve IP Address Converter

Did you find this tool helpful? Tell us how we can make it even better, or report a bug or request a new feature in under 1 minute.

Submit Feedback