Circular Mean Explained: How to Average Directions

The circular mean is a way of averaging directions or other measurements that wrap around a circle. Instead of treating the largest and smallest numbers as far apart, it recognises that they can be neighbours: a compass bearing of 355 degrees is only ten degrees from a bearing of 5 degrees. Their ordinary arithmetic average, 180 degrees, points in the opposite direction to the observations.

The conventional vector circular mean solves this problem by combining directional components. It is useful in geography, navigation and the study of repeated daily cycles, but it cannot answer every question about circular data. Learning how it works also reveals an important statistical habit: choose an average that respects what the measurements actually represent.

Key takeaways

  • Circular measurements repeat after a full turn, so ordinary arithmetic averaging can be misleading.
  • The vector circular mean averages components before converting the result back into an angle.
  • Opposing directions can cancel, leaving no defined mean direction.
  • A mean direction should be accompanied by information about spread and the original distribution.
  • Wind speed, unequal weights, clock time and undirected orientations require careful choices.

Why directions need a different average

On a straight number line, 355 and 5 are separated by 350 units. On a compass circle, the shorter separation is ten degrees. Both descriptions are mathematically coherent, but only the second captures the relationship between the two directions.

The trouble begins at the chosen boundary. North may be labelled zero degrees or 360 degrees, yet it is the same direction. Moving that boundary should not alter the physical answer to an averaging problem. An ordinary arithmetic mean can change dramatically when equivalent angles are written on opposite sides of the boundary.

Imagine three invented bearings: 350, 0 and 10 degrees. They form a tight group around north. Writing the middle value as 360 rather than 0 changes the arithmetic mean even though no observation has changed. A suitable circular calculation must treat those two labels as equivalent.

Circular does not mean any repeating number

The measurement’s meaning is crucial. Time of day repeats after twenty-four hours, but elapsed time does not. A journey lasting twenty-five hours is not the same duration as one lasting an hour. Similarly, a cumulative count of machine revolutions must not be reduced to the machine’s final orientation if the total movement matters.

Before calculating, state the question in words. Are you finding a typical direction, a typical daily time, net movement or an accumulated amount? The same recorded numbers may support different analyses depending on that question.

How the vector circular mean works

Picture each observation as an arrow of length one pointing in its measured direction. Move the arrows without rotating them and combine their components. The direction of the resulting arrow is the conventional vector circular mean.

For ordinary mathematical angles measured anticlockwise from the horizontal axis, average the cosine components to obtain C and the sine components to obtain S. The mean angle is atan2(S, C), where atan2 is the two-argument arctangent function that identifies the correct quadrant.

Compass bearings commonly run clockwise from north instead. For this convention, sin(bearing) gives the east component and cos(bearing) gives the north component. The corresponding bearing is atan2(mean east component, mean north component), converted to the desired degree range.

These expressions describe the same geometry with different coordinate conventions. Mixing the conventions can rotate or reverse an answer. Also check whether a calculator or program expects degrees or radians. Earth Site’s guide to units and calculation errors explains why numerical inputs need explicit meanings.

A worked example around north

Take the invented compass bearings 340 and 20 degrees, with equal weight. Their east components are approximately −0.342 and +0.342, which cancel. Their north components are both approximately 0.940, so the average north component remains positive.

The resulting arrow points north: the circular mean is 0 degrees, equivalently 360 degrees. This agrees with the symmetry of the observations. The ordinary arithmetic mean is 180 degrees, illustrating how a correct calculation applied to the wrong structure gives a misleading answer.

There is no need to memorise those decimal components to understand the result. Draw equal arrows on either side of north: their sideways contributions oppose each other, while their northward contributions reinforce each other.

The length of the average arrow matters

The mean resultant length, usually written R, is the length of the average of the unit arrows. Calculate it as the square root of C squared plus S squared. It lies between zero and one for non-negative weights normalised to sum to one.

If all directions coincide, R equals one. If directions spread around the circle, cancellation generally reduces it. For equal observations at 45 and 135 degrees, the mean direction is 90 degrees and R is approximately 0.707. The directions balance around east but are not identical.

R is not the proportion of observations that are “correct”, nor the probability that the mean is true. It describes the strength of the combined directional signal. Interpreting it as a confidence percentage would confuse different statistical quantities.

What happens with opposite directions?

Two equally weighted bearings at 0 and 180 degrees cancel exactly. Both mean components are zero, so the vector has no direction. Reporting 90 degrees as their circular mean would invent a preferred direction that the observations do not support.

A computer may nevertheless return a number because tiny rounding errors remain in trigonometric calculations. A robust analysis checks the resultant length and treats near-cancellation cautiously. The issue is not merely a missing decimal place: a small change in the data can swing the reported direction enormously.

Earth Site’s discussion of measurement uncertainty and real change provides useful background. A highly precise-looking angle is not necessarily a stable or informative estimate.

Why one mean can conceal two patterns

Suppose a fictional coastal station records winds mainly from north in one season and south in another. The combined vector mean could be weak or undefined, even though each season has a strong directional pattern. “No clear overall direction” does not mean “directions were random throughout the year”.

Plotting the observations can reveal clusters that a single average hides. A circular histogram or rose diagram groups directions into sectors, while separate summaries by season or time of day can test whether mixing unlike situations created the ambiguity.

Sector boundaries and widths matter. A narrow cluster crossing north can appear in two separate edge bins on a rectangular chart. A circular display makes that adjacency clearer. Conversely, excessively broad sectors can conceal distinctions that would be obvious in the raw measurements.

The same caution applies to small samples. Two identical observations give R equal to one, but they do not establish that a whole population always follows that direction. Sample size, selection and measurement conditions remain essential.

Weighted circular means and wind measurements

Sometimes observations deserve unequal weights. If one bearing represents several equally important observations, its unit-arrow components can be multiplied by that count. Sum the weighted components and divide by the total weight before finding the direction and resultant length.

For an invented example, give north a weight of three and east a weight of one. The average north component is 0.75 and the east component is 0.25. The resulting bearing is approximately 18.4 degrees east of north, rather than the 45 degrees obtained with equal weights.

Weights must answer a defensible question. Counts, observation durations and physical magnitudes are not interchangeable. Understanding percentages and their denominators helps when converting sector frequencies into comparable shares.

Mean wind direction versus mean wind vector

A mean of unit directions gives a gentle breeze and a strong wind equal directional weight if each is one observation. Averaging velocity components instead incorporates speed and answers a different question about net air movement.

Consider equal-duration winds of one unit from north and nine units from east. A unit-direction mean lies halfway between their directions. A speed-weighted combination lies much closer to the stronger wind’s direction. Neither calculation should be labelled simply “the average” without explaining the intended quantity.

Meteorological wind direction conventionally names where the wind comes from, whereas a velocity arrow points towards where it is going. Converting between them requires reversing the direction. Calm conditions also need attention because a direction attached to essentially zero speed may be unreliable or physically unhelpful.

Clock times and undirected orientations

Average times near midnight

For times of day, map a full twenty-four-hour cycle onto a full circle. Each hour corresponds to fifteen degrees. Observations at 23:30 and 00:30 therefore lie on either side of midnight, and their equally weighted circular mean is midnight.

This can be useful for summarising a repeated daily event, provided the observations genuinely belong to a daily cycle. It cannot establish how many hours elapsed between two dated events. Dates, time zones and clock changes must remain part of the analysis when they affect the question.

Human schedules may also contain distinct weekday and weekend patterns. Combining them without inspection can produce an average time that describes neither group well. Circular mathematics fixes the wraparound problem, not every problem of interpretation.

Directions and axes are different

An arrow distinguishes north from south. An undirected line running north–south does not: reversing it leaves the same orientation. Measurements of cracks, elongated grains or unoriented line features can therefore repeat after 180 degrees rather than 360 degrees.

A common approach for such axial data doubles the angles, applies a circular calculation and then halves the resulting angle. This respects the equivalence of opposite ends of an axis. The result remains an orientation, not an arrow with a preferred forward direction.

Do not use this method for genuine movement directions. Treating northbound and southbound travel as equivalent would discard precisely the distinction a transport study might need.

There is more than one circular average

The vector mean is conventional and widely useful, but it is not the only possible definition of a central direction. Other approaches minimise different measures of angular distance or use a circular median. They can disagree when observations are widely dispersed or have several clusters.

That disagreement does not automatically indicate an arithmetic error. Different methods optimise different criteria. For a compact cluster, results often agree closely; for complex patterns, the definition and the data distribution become especially important.

A clear report names the method, states the angle convention and weights, gives the sample size and describes spread. Where cancellation or multiple clusters make a single direction misleading, report that limitation rather than forcing an attractive-looking answer.

Conclusion: respect the shape of the data

The circular mean teaches a lesson that extends beyond compass bearings: numbers inherit structure from what they measure. A boundary in our notation is not necessarily a boundary in the world. Combining components handles that geometry, while checking cancellation, weighting and clustering determines whether the resulting average is actually useful.

Frequently asked questions

Why is the average of 355 and 5 degrees not 180 degrees?

As directions, they sit close together on either side of north. Their equal unit vectors combine towards north; arithmetic averaging wrongly treats the zero-degree boundary as a gap.

Can a circular mean be undefined?

Yes. Exactly cancelling unit vectors have zero resultant length and no preferred direction. Near-cancellation also makes a reported direction unstable and deserving of caution.

Is resultant length a confidence level?

No. It summarises directional concentration through the average vector’s length. Statistical uncertainty also depends on sample size, sampling assumptions and the distribution’s shape.

Should wind speed always be used as a weight?

No. Use it when the question concerns a speed-weighted direction or mean velocity. A summary of how frequently directions occur may require equal observational or duration weights instead.

Can the circular mean average any dates?

Only when the question has a meaningful cycle and the mapping is specified. An annual seasonal pattern differs from a chronological sequence; leap years and unequal calendar units may require additional care.

Scroll to Top