Hex to IP Converter

Hex to IP Converter calculator can be used for converting hexadecimal addresses to IPv4 addresses by specifying 8 hexadecimal values separated by spaces or commas.

Input Parameters

Separate each value with a space or comma.

Calculation Results

Calculation Formula

IPv4 = (Hex1 << 24) + (Hex2 << 16) + (Hex3 << 8) + Hex4

Where:
Hex1-4 are the 8 hexadecimal values entered
<< represents bit shift operation

Hex to IP Converter Calculator Usage Guide

Learn how to use the Hex to IP Converter calculator and its working principles

How to Use This Calculator

  1. Enter exactly 8 hexadecimal values (0-9, A-F) in the input field. You can separate each value with either a space or a comma.
  2. Click the "Calculate" button to convert the hexadecimal values to an IPv4 address.
  3. The calculator will display the resulting IP address in standard dotted-decimal notation (e.g., 192.168.1.1).
  4. The calculation formula and intermediate hexadecimal values will be shown for reference.

Working Principle

The calculator works by treating each hexadecimal value as a byte (8 bits) in the IPv4 address. It then performs bitwise operations to combine these bytes into a single 32-bit integer, which is then converted to the standard dotted-decimal format.

Example

For example, if you enter the values "1A 2B 3C 4D 5E 6F 7A 8B", the calculator will convert them to the IP address:

168.123.188.139

Common Applications

This calculator can be useful for:

  • Converting hexadecimal subnet masks to IPv4 format
  • Working with network addresses in hexadecimal representation
  • Understanding how IP addresses are represented in different formats