BASIC MATH CALCULATORS


TOOL: DECIMAL TO BASE 4 CONVERTER (WITH STEPS)


BASE N TO DECIMAL CONVERTERS

23456789111213141516

DECIMAL TO BASE 4 CONVERTER (WITH STEPS)

Enter a number.


Separation Line

RESULT

(124)10 = (1330)4

Separation Line

DESCRIPTIONS

Divide the number repeatedly by 4 until the quotient becomes 0.

1244310473413401Remainders
  • When 124 is divided by 4, the quotient is 31 and the remainder is 0.
  • When 31 is divided by 4, the quotient is 7 and the remainder is 3.
  • When 7 is divided by 4, the quotient is 1 and the remainder is 3.
  • When 1 is divided by 4, the quotient is 0 and the remainder is 1.

Write the remainders from bottom to top.

(124)10 = (1330)4

Separator Line

OTHER INFORMATION

Copied to clipboard
Copy Text

BASE N TO DECIMAL CONVERTERS

23456789111213141516

INFORMATION

DECIMAL TO BASE 4 CONVERSION

WHOLE NUMBERS

We apply the following rules to convert a decimal number to base 4.

  • We divide the decimal number by 4 repeatedly until the quotient becomes 0.
  • Starting at the least significant digit, we write the remainders in the same order of divisions.
Decimal to base 4 conversion example

For example, to convert decimal 35 to base 4, we divide 35 by 4 repeatedly until the quotient becomes 0.

When we divide 35 by 4, the quotient is 8 and the remainder is 3. Thus, 3 is the least significant digit of the base 4 equivalent. We continue the algorithm with 8. When we divide 8 by 4, the quotient is 2 and the remainder is 0. Then 0 is the second least significant digit of the base 4 number. Finally, we divide 2 by 4. When we do this operation, the quotient is 0 and the remainder is 2. Because the quotient is 0, we stop the procedure. Then we write the last remainder to the most significant digit of the base 4 number. To sum up, the base 4 representation of 35 is 203.

(35)10 = (203)4

DECIMAL NUMBERS

In case, the decimal number is not an integer, we can convert the whole number and fractional parts separately and add the base 4 equivalents up.

To convert the fractional part of a decimal number, we apply the following rules.

  • We multiply the fractional part by 4 repeatedly until the product becomes an integer or the number of significant digits is sufficient for our calculations.
  • At each step, we write the integer part of the rightmost digit to the fractional part of the base 4 number. We continue with the fractional part of the product.
 

For example, to convert 35.40625 to base 4, we multiply the fractional part by 4 repeatedly until we find an integer.

  • 0.40625 × 4 = 1.625
  • 0.625 × 4 = 2.5
  • 0.5 × 4 = 2
 
Whole number and fractional parts

The fractional part of 35.40625 is 0.40625. When we multiply 0.40625 by 4, the result is 1.625. The integer part of 1.625 is 1. Thus we write 1 to the first digit on the RHS of the radix point.

0.1

We continue with the fractional part of 1.625. When we multiply 0.625 by 4, the result is 2.5. We write the integer part of 2.5 to the next digit of the base 4 number.

0.12

The fractional part of 2.5 is 0.5. Therefore, we continue with this number. The product of 0.5 and 4 is equal to 2. Because 2 is an integer we write it to the next digit of the base 4 number and stop multiplying numbers.

(0.40625)10 = (0.122)4

Base 4 representation of 35.40625 is equal to the sum of base 4 representations of 35 and 0.40625. Thus, decimal 35.40625 is equal to 203.122 in base 4.

(35.40625)10 = (35)10 + (0.40625)10

= (203)4 + (0.122)4

= (203.122)4

 

WHAT IS DECIMAL TO BASE 4 CONVERTER?

Decimal to base 4 converter,

  • Computes the base 4 equivalent of the entered decimal number and
  • Describes each step of the conversion for both whole number and fractional parts,

HOW TO USE DECIMAL TO BASE 4 CONVERTER?

You can use decimal to base 4 converter in two ways.

  • USER INPUTS

    Convert button

    You can enter a decimal number to the input box and click on the "CONVERT" button. The result and explanations appaer below the calculator

  • RANDOM INPUTS

    Random button-convert

    You can click on the DIE ICON next to the input box. If you use this property, a random decimal number is generated and entered to the calculator, automatically. You can see the result and explanations below the calculator. You can create your own examples and practice using this property.

  • CLEARING THE INPUT BOX

    Clear button-two inputs

    To check the base 4 equivalent of other decimals you can clear the input box by clicking on the CLEAR button under the input box.

  • COPYING & DOWNLOADING THE SOLUTION

    • Copy Link

      You can copy the generated solution by clicking on the "Copy Text" link, appaers under the solution panel.

    • Download Link

      Even you can download the solution as an image file with .jpg extension if you click on the "Download Solution" link at the bottom of the solution panel. You can share the downloaded image file.

 

CALCULATORS

Base Converters