mode

mode(a, b, c, ...)

mode(A)

mode(A, a, b, B, c, ...)

Try it yourself:


Find the most frequent value with mode

mode identifies the value or values occurring most often in a collection. It is especially useful for categories, ratings, and repeated discrete measurements.

Interpretation

Unlike mean, mode does not average. Unlike median, it depends on frequency. A collection can have several modes or no useful unique mode when every value occurs equally often.

Caveats

Exact floating-point values may appear different because of rounding, so group or round deliberately before counting. Use count to inspect sample size and sort to review values. Mode is less informative for continuous, mostly unique data.

Try Mode in Calcul.io

Start with one of the editable examples above, then replace its arguments with your own values. Keeping the function on a separate calculator line makes the input and result easy to compare. For a longer workflow, assign the result to a variable or reference that line in the next expression.

Check the shown signature before adding optional arguments, and use the related-function links to compare operations with similar purposes.

All functions