Hexadecimal Calculator

Convert between hexadecimal, decimal, binary, and octal number systems. Perform arithmetic operations on hex numbers.

Calculator

Enter hex value (0-9, A-F). Prefixes 0x or # are optional.

Enter a hexadecimal value to convert, or perform arithmetic operations on hex numbers.

Complete User Guide

What is Hexadecimal?

Hexadecimal (hex) is a base-16 number system using digits 0-9 and letters A-F. It's commonly used in computing for representing binary values in a more compact form.

Each hex digit represents 4 bits. For example, FF in hex equals 255 in decimal and 11111111 in binary.

How to Use This Calculator

  • Convert Mode: Enter a hex value to see its decimal, binary, and octal equivalents
  • Arithmetic Mode: Perform addition, subtraction, multiplication, division, or modulo on two hex numbers
  • Hex values can be entered with or without 0x or # prefix
  • Use uppercase or lowercase letters (A-F or a-f)

Examples

Example 1: Conversion

Hex: FF

Decimal: 255

Binary: 11111111

Octal: 377

Example 2: Arithmetic

Operation: FF + 0A

Result (Hex): 109

Result (Decimal): 265

📤 Share This Tool