Home Developer IP Address Converter

Developer utility

Standalone tool page

IP Address Converter

Convert IPv4 addresses between decimal, binary, and hex formats, and calculate subnet ranges instantly.

Developer Direct route, no hidden menu

Input

IP Address Converter

Step 1

Output

Result

Step 2
Enter an IP address to see results

How It Works

Enter an IPv4 address. The tool mathematically shifts the bits to convert it to a 32-bit integer, binary string, or hex. If a CIDR subnet mask (like /24) is provided, it calculates the bitwise AND/OR against the subnet mask to reveal the network and broadcast addresses.

Example

Input 192.168.1.1/24. It converts to binary 11000000.10101000.00000001.00000001, calculates the Network ID as 192.168.1.0, and shows a usable host range of 192.168.1.1 - 192.168.1.254.

When to use this tool

  • Configuring routers or firewalls.
  • Designing cloud VPCs and subnet allocations.
  • Converting IP addresses for database storage as integers.

Understanding CIDR and Subnets

  • CIDR notation like /24 means 24 bits are used for the network mask.
  • A /24 network provides 254 usable hosts.
  • This calculator helps network engineers quickly identify ranges.

Frequently Asked Questions

What is an IP to decimal converter?

It converts a standard dotted-decimal IPv4 address (like 192.168.1.1) into its integer, binary, and hexadecimal equivalents used by networks and databases.

Does this tool support subnet calculators?

Yes! If you append a CIDR mask (e.g., /24), the tool automatically calculates the network ID, broadcast address, and usable host range.