How to convert Quinary to Hex
Quinary is a numeral system with five as the base. A possible origination of a quinary system is that there are five fingers on either hand. In the quinary place system, five numerals, from 0 to 4, are used to represent any real number. According to this method, five is written as 10, twenty-five is written as 100 and sixty is written as 220.Hexadecimal is a positional system that represents numbers using a base of 16. Unlike the common way of representing numbers with ten symbols, it uses sixteen distinct symbols, most often the symbols "0"-"9" to represent values zero to nine, and "A"-"F" to represent values ten to fifteen. Hexadecimal numerals are widely used by computer system designers and programmers, as they provide a human-friendly representation of binary-coded values.
Formula
Follow these steps to convert a quinary number into hexadecimal form:
The simplest way is to convert the quinary number into decimal, then the decimal into hexadecimal form.
- Write the powers of 5 (1, 5, 25, 125, 625, and so on) beside the quinary digits from bottom to top.
- Multiply each digit by it's power.
- Add up the answers. This is the decimal solution.
- Divide the decimal number by 16.
- Get the integer quotient for the next iteration (if the number will not divide equally by 16, then round down the result to the nearest whole number).
- Keep a note of the remainder, it should be between 0 and 15.
- Repeat the steps from ftep 4. until the quotient is equal to 0.
- Write out all the remainders, from bottom to top.
- Convert any remainders bigger than 9 into hex letters. This is the hex solution.
Digit | Power | Multiplication |
---|---|---|
1 | 125 | 125 |
3 | 25 | 75 |
0 | 5 | 0 |
2 | 1 | 2 |
Division | Quotient | Remainder |
---|---|---|
202 / 16 | 12 | 10 (A) |
12 / 16 | 0 | 12 (C) |