
related topics 
{math, number, function} 
{language, word, form} 
{system, computer, user} 
{style, bgcolor, rowspan} 
{rate, high, increase} 
{god, call, give} 
{group, member, jewish} 
{woman, child, man} 

In mathematics and computer science, hexadecimal (also base 16, or hex) is a positional numeral system with a radix, or base, of 16. It uses sixteen distinct symbols, most often the symbols 0–9 to represent values zero to nine, and A, B, C, D, E, F (or alternatively a to f) to represent values ten to fifteen. For example, the hexadecimal number 2AF3 is equal, in decimal, to (2 × 16^{3}) + (10 × 16^{2}) + (15 × 16^{1}) + (3 × 16^{0}) , or 10,995.
Each hexadecimal digit represents four binary digits (bits) (also called a "nibble"), and the primary use of hexadecimal notation is as a humanfriendly representation of binary coded values in computing and digital electronics. For example, byte values can range from 0 to 255 (decimal) but may be more conveniently represented as two hexadecimal digits in the range 00 through FF. Hexadecimal is also commonly used to represent computer memory addresses.
Contents
Representing hexadecimal
In situations where there is no context, a hexadecimal number might be ambiguous and confused with numbers expressed in other bases. There are several conventions for expressing values unambiguously. A numerical subscript (itself written in decimal) can give the base explicitly: 159_{10} is decimal 159; 159_{16} is hexadecimal 159, which is equal to 345_{10}. Other authors prefer a text subscript, such as 159_{decimal} and 159_{hex}, or 159_{d} and 159_{h}.
Full article ▸


related documents 
MATLAB 
PL/SQL 
Natural number 
Insertion sort 
L'Hôpital's rule 
Preprocessor 
Contextfree grammar 
Complete metric space 
Chaitin's constant 
Breadthfirst search 
Supremum 
Standard ML 
Goldbach's conjecture 
Homology (mathematics) 
Abstraction (computer science) 
Analysis of algorithms 
Euclidean space 
Equivalence relation 
Probability density function 
Cantor's diagonal argument 
Tail recursion 
Icon (programming language) 
Kernel (matrix) 
Square root 
Integer 
Linear independence 
Factorization 
Type theory 
Wiener process 
Cholesky decomposition 
