Decimal Fraction Base Conversion (Binary/Octal/Decimal/Hex)

Decimal Fraction Base Conversion

Convert decimal fractions between binary, octal, decimal, and hexadecimal

Decimal Fraction Converter
Convert decimal fractions between base 2, 8, 10, and 16

Valid characters: 0123456789ABCDEF.

How to Use
  • 1. Select the source base (2/8/10/16)
  • 2. Enter the decimal number to convert (with decimal point)
  • 3. Select the target base (2/8/10/16)
  • 4. Adjust decimal precision if needed (4-16 digits)
  • 5. Click 'Convert' to see the result
  • 6. Copy the result to clipboard
FAQ

About Decimal Fraction Base Conversion
  • Decimal fraction base conversion converts both integer and fractional parts between different bases. Example: FF.8 (hex) = 255.5 (decimal)
  • Fractional conversion principle: Each digit value is multiplied by negative powers of the base (base⁻¹, base⁻², ...) and summed.
  • Some fractions become repeating decimals in certain bases (e.g., 0.1₁₀ = 0.0001100110011...₂). This tool allows precision control to limit digits.
  • Use cases: Understanding floating-point internal representation, color opacity (alpha channel), network protocol data analysis, and more.
  • This tool uses the bignumber.js library to avoid JavaScript's floating-point precision issues.