An online converter from decimal to different bases such as binary, octal and hexadecimal is included at the bottom of this page. But we first
explain what are bases?
A number N may be written in any base B as follows
N = a_{0} + a_{1} B ^{1} + a_{2} B ^{2} +...+a_{k} B ^{k}
where any of the coefficient a_{i} has a value such that
0 ≤ a _{i} < B
The bases that are used in computing are:
Decimal or (denary) base 10 , binary base 2, octal base 8 and hexadecimal base 16.
Example 1: Base 10
This base uses all digits from 0 to 9
3234 = 4 + 3×10^{1} + 2×10^{2} + 3×10^{3}
Example 2: Base 2 (binary)
This base uses the digits 0 and 1
110110 = 0 + 1×2^{1} + 1×2^{2} + 0×2^{3} + 1×2^{4} + 1×2^{5}
Example 3: Base 8 (octal)
This base uses the digits 0 to 7
2674 = 4 + 7×8^{1} + 6×8^{2} + 2×8^{3}
Example 4: Base 16 (hexadecimal)
This base uses the folllowing as digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
with A = 10, B = 11, C = 12, D = 13, E = 14 and F = 15.
A67B = B + 7×8^{1} + 6×8^{2} + A×8^{3} = 11+ 7×8^{1} + 6×8^{2} + (10)×8^{3}
Enter Non Negative Integer (Base 10):


Books and References
1  1+ 1 = 10 Computer Number Bases: Computer Maths Series (Computer Mathematics Series)  by William Parks , Albert Fadell (Editor)
2  en.wikibooks.org/wiki/Alevel_Computing_2009/AQA/Problem_Solving,_Programming,_Data_Representation_and_Practical_Exercise/Fundamentals_of_Data_Representation/Binary_number_system
3  en.wikipedia.org/wiki/Binary_number
4  en.wikipedia.org/wiki/Hexadecimal