BEHIND THE ANSWER
How the calculation works
Use digits only in the input; omit prefixes such as 0x and 0b in this converter. Negative results use a leading minus sign rather than a fixed-width two’s-complement encoding.
A worked example
255 in decimal equals FF in hexadecimal and 11111111 in binary. FF means 15 × 16 + 15 = 255.
Using the calculator
- Enter integer, source base, target base. Use the units shown beside each label.
- Choose Calculate to see the result and the substituted steps. Correct any highlighted input error before relying on an answer.
- Read the assumptions below. You can change one input at a time to see how sensitive the result is to that assumption.
Conversion factors and display precision
| Relationship | Standard value | Scope |
|---|---|---|
| International inch | 0.0254 metre exactly | Length |
| International pound | 0.45359237 kilogram exactly | Avoirdupois mass |
| Celsius to kelvin | K = °C + 273.15 | Absolute temperature reading |
| One byte | 8 bits | A count, not a hexadecimal digit |
Conversion changes the unit or representation of a quantity, not the quality of the original measurement. If a scale only resolves to the nearest gram, printing ten decimal places after converting to pounds does not create additional accuracy. Round the final answer to suit the precision of the source measurement.
Check that the units describe the same kind of quantity. Mass cannot be converted to volume without density, and a length factor cannot be reused unchanged for area. When a familiar unit has multiple definitions, such as a fluid ounce or a historical foot, confirm the standard before using a result in technical work.
Why your result may differ
A digit must be smaller than the base. Binary accepts only 0 and 1, while hexadecimal also accepts A through F.
The result reflects the values you enter, rather than a measurement of your circumstances. Check input precision and units before comparing it with a different calculator. A source that uses another definition, reference period or rounding convention may legitimately report a different number. The steps shown above help you identify where the two methods diverge.
Questions, answered.
Does this support fractional numbers?
No. This tool converts signed integers only.
Are large integers rounded?
No. BigInt arithmetic preserves integers exactly within the input limit.
Is hexadecimal case sensitive?
No. A through F and a through f have the same values. Output uses uppercase letters.
Are my inputs uploaded or saved?
No. The number base converter runs in your browser. Field values are not sent to a calculation API or saved by the site. Avoid placing sensitive data in search terms or messages.
How should I round the result?
Keep full precision while calculating and round only the final value to a level appropriate for your task. Display rounding does not turn an estimate into an exact measurement. Use the formula and assumptions above when checking an answer.
Sources & editorial notes
The references below explain the underlying definitions or subject background. Linking to a source does not imply endorsement or independent validation of this implementation.
Prepared by the Get Free Calculator editorial team. Published November 19, 2026. If an example, formula or assumption needs correction, tell us which input you used and what you expected. Please avoid sending private financial or health information.