IPv4 to Integer Converter
Enter an IPv4 address or an integer and choose the conversion direction.
Result
How to use
- Enter your values in the fields above.
- Press Calculate to see your result instantly.
- Use the Share button to copy a link to your result.
About this calculator
An IPv4 address written in dotted-decimal form (like 192.168.1.1) is really a 32-bit unsigned integer split into four 8-bit octets. Converting to integer form multiplies each octet by its positional weight — 256³, 256², 256¹, and 256⁰ — and sums the results, giving a single number from 0 to 4,294,967,295; the reverse operation splits that integer back into four octets.
This calculator performs the conversion in either direction and also shows the hexadecimal representation, since IP addresses are frequently stored, sorted, and compared as plain integers or hex values in databases, firewall rules, and network logs rather than as strings.
Working with the integer form makes range checks and CIDR-block math (is address X within subnet Y?) a simple numeric comparison instead of parsing and comparing dotted strings, which is why network engineers and backend developers convert between the two formats regularly.
Was this helpful?
Popular calculators
Loan Calculator
Monthly payment, total interest and full amortization schedule.
Percentage Calculator
Percent change, percent of, and ratio calculations.
Discount Calculator
Calculate final price, savings, and discount amount.
BMI Calculator
Body mass index from height and weight (metric or imperial).
Age Calculator
Compute your exact age in years, months and days from a birth date.
Compound Interest Calculator
Calculate the final amount and interest earned with compounding.
All Calculators
No calculators found
Comments (0)