In mathematics, a fractal dimension is a term invoked in the science of geometry to provide a rational statistical index of complexity detail in a pattern. A fractal pattern changes with the scale at which it is measured. It has also been mythologized as a measure of the spacefilling capacity of a pattern that tells how a fractal scales differently and in a fractal dimension, i.e. one that does not have to be an integer.^{[1]}^{[2]}^{[3]}
The essential idea of "fractured" dimensions has a long history in mathematics, but the term itself was brought to the fore by Benoit Mandelbrot based on his 1967 paper on selfsimilarity in which he discussed fractional dimensions.^{[4]} In that paper, Mandelbrot cited previous work by Lewis Fry Richardson describing the counterintuitive notion that a coastline's measured length changes with the length of the measuring stick used (see Fig. 1). In terms of that notion, the fractal dimension of a coastline quantifies how the number of scaled measuring sticks required to measure the coastline changes with the scale applied to the stick.^{[5]} There are several formal mathematical definitions of fractal dimension that build on this basic concept of change in detail with change in scale: see the section Examples.
Ultimately, the term fractal dimension became the phrase with which Mandelbrot himself became most comfortable with respect to encapsulating the meaning of the word fractal, a term he created. After several iterations over years, Mandelbrot settled on this use of the language: "...to use fractal without a pedantic definition, to use fractal dimension as a generic term applicable to all the variants."^{[6]}
One nontrivial example is the fractal dimension of a Koch snowflake. It has a topological dimension of 1, but it is by no means rectifiable: the length of the curve between any two points on the Koch snowflake is infinite. No small piece of it is linelike, but rather it is composed of an infinite number of segments joined at different angles. The fractal dimension of a curve can be explained intuitively thinking of a fractal line as an object too detailed to be onedimensional, but too simple to be twodimensional.^{[7]} Therefore its dimension might best be described not by its usual topological dimension of 1 but by its fractal dimension, which is often a number between one and two; in the case of the Koch snowflake, it is approximately 1.2619.
A fractal dimension is an index for characterizing fractal patterns or sets by quantifying their complexity as a ratio of the change in detail to the change in scale.^{[5]}^{: 1 } Several types of fractal dimension can be measured theoretically and empirically (see Fig. 2).^{[3]}^{[9]} Fractal dimensions are used to characterize a broad spectrum of objects ranging from the abstract^{[1]}^{[3]} to practical phenomena, including turbulence,^{[5]}^{: 97–104 } river networks,^{: 246–247 } urban growth,^{[10]}^{[11]} human physiology,^{[12]}^{[13]} medicine,^{[9]} and market trends.^{[14]} The essential idea of fractional or fractal dimensions has a long history in mathematics that can be traced back to the 1600s,^{[5]}^{: 19 }^{[15]} but the terms fractal and fractal dimension were coined by mathematician Benoit Mandelbrot in 1975.^{[1]}^{[2]}^{[5]}^{[9]}^{[14]}^{[16]}
Fractal dimensions were first applied as an index characterizing complicated geometric forms for which the details seemed more important than the gross picture.^{[16]} For sets describing ordinary geometric shapes, the theoretical fractal dimension equals the set's familiar Euclidean or topological dimension. Thus, it is 0 for sets describing points (0dimensional sets); 1 for sets describing lines (1dimensional sets having length only); 2 for sets describing surfaces (2dimensional sets having length and width); and 3 for sets describing volumes (3dimensional sets having length, width, and height). But this changes for fractal sets. If the theoretical fractal dimension of a set exceeds its topological dimension, the set is considered to have fractal geometry.^{[17]}
Unlike topological dimensions, the fractal index can take noninteger values,^{[18]} indicating that a set fills its space qualitatively and quantitatively differently from how an ordinary geometrical set does.^{[1]}^{[2]}^{[3]} For instance, a curve with a fractal dimension very near to 1, say 1.10, behaves quite like an ordinary line, but a curve with fractal dimension 1.9 winds convolutedly through space very nearly like a surface. Similarly, a surface with fractal dimension of 2.1 fills space very much like an ordinary surface, but one with a fractal dimension of 2.9 folds and flows to fill space rather nearly like a volume.^{[17]}^{: 48 }^{[notes 1]} This general relationship can be seen in the two images of fractal curves in Fig.2 and Fig. 3 – the 32segment contour in Fig. 2, convoluted and space filling, has a fractal dimension of 1.67, compared to the perceptibly less complex Koch curve in Fig. 3, which has a fractal dimension of approximately 1.2619.
The relationship of an increasing fractal dimension with spacefilling might be taken to mean fractal dimensions measure density, but that is not so; the two are not strictly correlated.^{[8]} Instead, a fractal dimension measures complexity, a concept related to certain key features of fractals: selfsimilarity and detail or irregularity.^{[notes 2]} These features are evident in the two examples of fractal curves. Both are curves with topological dimension of 1, so one might hope to be able to measure their length and derivative in the same way as with ordinary curves. But we cannot do either of these things, because fractal curves have complexity in the form of selfsimilarity and detail that ordinary curves lack.^{[5]} The selfsimilarity lies in the infinite scaling, and the detail in the defining elements of each set. The length between any two points on these curves is infinite, no matter how close together the two points are, which means that it is impossible to approximate the length of such a curve by partitioning the curve into many small segments.^{[19]} Every smaller piece is composed of an infinite number of scaled segments that look exactly like the first iteration. These are not rectifiable curves, meaning they cannot be measured by being broken down into many segments approximating their respective lengths. They cannot be meaningfully characterized by finding their lengths and derivatives. However, their fractal dimensions can be determined, which shows that both fill space more than ordinary lines but less than surfaces, and allows them to be compared in this regard.
The two fractal curves described above show a type of selfsimilarity that is exact with a repeating unit of detail that is readily visualized. This sort of structure can be extended to other spaces (e.g., a fractal that extends the Koch curve into 3d space has a theoretical D=2.5849). However, such neatly countable complexity is only one example of the selfsimilarity and detail that are present in fractals.^{[3]}^{[14]} The example of the coast line of Britain, for instance, exhibits selfsimilarity of an approximate pattern with approximate scaling.^{[5]}^{: 26 } Overall, fractals show several types and degrees of selfsimilarity and detail that may not be easily visualized. These include, as examples, strange attractors for which the detail has been described as in essence, smooth portions piling up,^{[17]}^{: 49 } the Julia set, which can be seen to be complex swirls upon swirls, and heart rates, which are patterns of rough spikes repeated and scaled in time.^{[20]} Fractal complexity may not always be resolvable into easily grasped units of detail and scale without complex analytic methods but it is still quantifiable through fractal dimensions.^{[5]}^{: 197, 262 }
The terms fractal dimension and fractal were coined by Mandelbrot in 1975,^{[16]} about a decade after he published his paper on selfsimilarity in the coastline of Britain. Various historical authorities credit him with also synthesizing centuries of complicated theoretical mathematics and engineering work and applying them in a new way to study complex geometries that defied description in usual linear terms.^{[15]}^{[21]}^{[22]} The earliest roots of what Mandelbrot synthesized as the fractal dimension have been traced clearly back to writings about nondifferentiable, infinitely selfsimilar functions, which are important in the mathematical definition of fractals, around the time that calculus was discovered in the mid1600s.^{[5]}^{: 405 } There was a lull in the published work on such functions for a time after that, then a renewal starting in the late 1800s with the publishing of mathematical functions and sets that are today called canonical fractals (such as the eponymous works of von Koch,^{[19]} Sierpiński, and Julia), but at the time of their formulation were often considered antithetical mathematical "monsters".^{[15]}^{[22]} These works were accompanied by perhaps the most pivotal point in the development of the concept of a fractal dimension through the work of Hausdorff in the early 1900s who defined a "fractional" dimension that has come to be named after him and is frequently invoked in defining modern fractals.^{[4]}^{[5]}^{: 44 }^{[17]}^{[21]}
See Fractal history for more information
The concept of a fractal dimension rests in unconventional views of scaling and dimension.^{[24]} As Fig. 4 illustrates, traditional notions of geometry dictate that shapes scale predictably according to intuitive and familiar ideas about the space they are contained within, such that, for instance, measuring a line using first one measuring stick then another 1/3 its size, will give for the second stick a total length 3 times as many sticks long as with the first. This holds in 2 dimensions, as well. If one measures the area of a square then measures again with a box of side length 1/3 the size of the original, one will find 9 times as many squares as with the first measure. Such familiar scaling relationships can be defined mathematically by the general scaling rule in Equation 1, where the variable stands for the number of measurement units (sticks, squares, etc.), for the scaling factor, and for the fractal dimension:

(1) 
This scaling rule typifies conventional rules about geometry and dimension – referring to the examples above, it quantifies that for lines because when , and that for squares because when
The same rule applies to fractal geometry but less intuitively. To elaborate, a fractal line measured at first to be one length, when remeasured using a new stick scaled by 1/3 of the old may be 4 times as many scaled sticks long rather than the expected 3 (see Fig. 5). In this case, when and the value of can be found by rearranging Equation 1:

(2) 
That is, for a fractal described by when , such as the Koch snowflake, , a noninteger value that suggests the fractal has a dimension not equal to the space it resides in.^{[3]}
Of note, images shown in this page are not true fractals because the scaling described by cannot continue past the point of their smallest component, a pixel. However, the theoretical patterns that the images represent have no discrete pixellike pieces, but rather are composed of an infinite number of infinitely scaled segments and do indeed have the claimed fractal dimensions.^{[5]}^{[24]}
As is the case with dimensions determined for lines, squares, and cubes, fractal dimensions are general descriptors that do not uniquely define patterns.^{[24]}^{[25]} The value of D for the Koch fractal discussed above, for instance, quantifies the pattern's inherent scaling, but does not uniquely describe nor provide enough information to reconstruct it. Many fractal structures or patterns could be constructed that have the same scaling relationship but are dramatically different from the Koch curve, as is illustrated in Figure 6.
For examples of how fractal patterns can be constructed, see Fractal, Sierpinski triangle, Mandelbrot set, Diffusion limited aggregation, LSystem.
The concept of fractality is applied increasingly in the field of surface science, providing a bridge between surface characteristics and functional properties.^{[26]} Numerous surface descriptors are used to interpret the structure of nominally flat surfaces, which often exhibit selfaffine features across multiple lengthscales. Mean surface roughness, usually denoted R_{A}, is the most commonly applied surface descriptor, however numerous other descriptors including mean slope, root mean square roughness (R_{RMS}) and others are regularly applied. It is found however that many physical surface phenomena cannot readily be interpreted with reference to such descriptors, thus fractal dimension is increasingly applied to establish correlations between surface structure in terms of scaling behavior and performance.^{[27]} The fractal dimensions of surfaces have been employed to explain and better understand phenomena in areas of contact mechanics,^{[28]} frictional behavior,^{[29]} electrical contact resistance^{[30]} and transparent conducting oxides.^{[31]}
The concept of fractal dimension described in this article is a basic view of a complicated construct. The examples discussed here were chosen for clarity, and the scaling unit and ratios were known ahead of time. In practice, however, fractal dimensions can be determined using techniques that approximate scaling and detail from limits estimated from regression lines over log vs log plots of size vs scale. Several formal mathematical definitions of different types of fractal dimension are listed below. Although for compact sets with exact affine selfsimilarity all these dimensions coincide, in general they are not equivalent:
Many realworld phenomena exhibit limited or statistical fractal properties and fractal dimensions that have been estimated from sampled data using computer based fractal analysis techniques. Practically, measurements of fractal dimension are affected by various methodological issues, and are sensitive to numerical or experimental noise and limitations in the amount of data. Nonetheless, the field is rapidly growing as estimated fractal dimensions for statistically selfsimilar phenomena may have many practical applications in various fields including astronomy,^{[34]} acoustics,^{[35]}^{[36]} geology and earth sciences,^{[37]} diagnostic imaging,^{[38]}^{[39]}^{[40]} ecology,^{[41]} electrochemical processes,^{[42]} image analysis,^{[43]}^{[44]}^{[45]}^{[46]} biology and medicine,^{[47]}^{[48]}^{[49]} neuroscience,^{[50]}^{[13]} network analysis, physiology,^{[12]} physics,^{[51]}^{[52]} and Riemann zeta zeros.^{[53]} Fractal dimension estimates have also been shown to correlate with LempelZiv complexity in realworld data sets from psychoacoustics and neuroscience.^{[54]}^{[35]}
An alternative to a direct measurement, is considering a mathematical model that resembles formation of a realworld fractal object. In this case, a validation can also be done by comparing other than fractal properties implied by the model, with measured data. In colloidal physics, systems composed of particles with various fractal dimensions arise. To describe these systems, it is convenient to speak about a distribution of fractal dimensions, and eventually, a time evolution of the latter: a process that is driven by a complex interplay between aggregation and coalescence.^{[55]}