Math · Number bases

Hexadecimal Calculator

Convert integers between binary, decimal, and hexadecimal or perform basic integer arithmetic in a selected base.

Calculator inputs

Calculated in your browser.
Result

FF hex

Hexadecimal representation

Decimal255
Binary11111111
Formulasame integer represented in base 2, base 10, and base 16Conversion accepts nonnegative integers and treats A–F as hexadecimal digits when base 16 is selected.

Use the result with the units shown

Hexadecimal Calculator: what it calculates

Choose the input base, enter A, and select Convert or an arithmetic operation. The result shows the same integer in hexadecimal, decimal, and binary.

Formula and inputs

The calculator uses nonnegative integer input for base conversion and BigInt arithmetic for results. It does not impose a fixed bit width or wrap overflow.

Calculation modelhex digit values use base 16decimal value = Σ(digit × base^position)integer arithmetic preserves the selected base representation

Worked example: FF plus 1

Decimal values255 + 1 = 256
Hexadecimal resultFF + 1 = 100
Binary result1 0000 0000

Hexadecimal is a representation of an integer, so the same value can be shown in several bases without changing its quantity.

Limits and assumptions

This is not a programming IDE. Signed encodings, fixed-width overflow, floating-point values, and language-specific literals are outside this page.

Hexadecimal Calculator FAQs

What does FF mean in decimal?

FF in base 16 equals 15 × 16 + 15, or 255 in base 10.

Does the calculator wrap at 8 bits?

No. It shows the mathematical integer result and does not apply a fixed-width overflow rule.