TapCub is live — analytics, insights and live chat, free on one platform
Glossary

Continuous Data: What It Is and How to Analyze It

Continuous quantitative data is measured, so it can take any value in a range. A two-question rule to tell it from discrete data, a table of analytics fields, and a worked example with mean, median, P75 and a histogram.

Su He Reviewed by Ethan Brooks Also called continuous quantitative data Last updated Nov 28, 2026 Glossary

Quick answer

Continuous data is quantitative data obtained by measuring, so it can take any value within a range, limited only by the instrument's precision. Analytics examples are session duration, page load time and order value. It is charted with histograms and summarized with medians and percentiles.

Formula: Linear percentile: h = (n − 1) × p on values sorted from x0; P = x⌊h⌋ + (h − ⌊h⌋) × (x⌊h⌋+1 − x⌊h⌋)

What is continuous data?

Continuous data (also called continuous quantitative data) is numerical data that comes from measuring rather than counting, so it can take any value within a range. Between any two possible values there is always another one: a page that loaded in 2.1 seconds and one that loaded in 2.2 seconds can be separated by a load of 2.15, 2.153 or 2.1534 seconds. Typical examples are time, length, weight and temperature; in web and product analytics they are session duration, page load time, time to convert and order value.

Its counterpart is discrete data, which comes from counting and can only take separate values: 3 pageviews, 4 items in a cart, never 3.6. Both are kinds of quantitative data; the difference with descriptive, non-numerical data is covered in qualitative vs quantitative data.

The distinction is not academic. It decides which chart is honest (a histogram with bins, not a bar per value), which summary is useful (median and percentiles, not a single average) and which statistical test fits. Getting it wrong is how a dashboard ends up reporting "average session duration" while most sessions are much shorter than that number.

Continuous or discrete: a two-question decision rule

Ask two questions about a field:

  1. Between two recorded values, could a value in between exist? If a load can take 2.1 or 2.2 seconds, it can also take 2.15. If a visitor can view 2 or 3 pages, they cannot view 2.5.
  2. Is the precision limited only by the measuring instrument? Load times recorded to the millisecond, or durations to the second, are rounded by the clock, not by the thing being measured. A finer clock would give finer values.

If both answers are yes, treat the field as continuous. If the value is a count of whole things, it is discrete. Two further cases trip people up: a ratio of two counts (conversion rate) is a proportion built from discrete data, and a set of ordered labels (a 1–5 rating, scroll depth bucketed into 25%, 50%, 75% and 100%) is ordinal, even though it is written with numbers.

Analytics fieldMeasured or counted?TypeChart that fitsSummary that fits
Session durationMeasured (time)ContinuousHistogramMedian, P75, P90
Largest contentful paint (LCP)Measured (time)ContinuousHistogram, percentile trendP75
Interaction to next paint (INP)Measured (time)ContinuousHistogram, percentile trendP75
Time from signup to first purchaseMeasured (time)ContinuousHistogramMedian, P90
Order valueMeasured (money, smallest unit is a cent)Treated as continuousHistogramMedian for a typical order; mean and sum for revenue
Pageviews per sessionCountedDiscreteBar per valueShare at each value, mean
Items in cartCountedDiscreteBar per valueShare at each value
Conversion rateRatio of two countsProportionBars with confidence intervalsRate with an interval
Star rating 1–5Ordered labelsOrdinalBar per labelShare per label, median label

Money is the classic grey area. Strictly, order values move in steps of one cent, so they are discrete; but the steps are so small relative to the values that every practical method for continuous data works, so analysts treat them as continuous. The rule of thumb: if the number of distinct values is large and the gaps between them are tiny compared with the spread, analyze as continuous.

Worked example: 20 page-load times

Sample data: one product page, 20 real-user LCP measurements in seconds, already sorted:

1.2, 1.4, 1.5, 1.6, 1.7, 1.8, 1.8, 1.9, 2.0, 2.1, 2.2, 2.3, 2.4, 2.6, 2.8, 3.1, 3.4, 3.9, 4.8, 7.6

Mean. The sum is 52.1 seconds, so the mean is 52.1 ÷ 20 = 2.61 s.

Median. With 20 values, the median is the average of the 10th and 11th: (2.1 + 2.2) ÷ 2 = 2.15 s.

75th percentile (P75). With the linear method most statistics software uses by default, the position is (n − 1) × 0.75 = 19 × 0.75 = 14.25 counting from zero. That lies a quarter of the way between the 15th value (2.8) and the 16th (3.1): 2.8 + 0.25 × (3.1 − 2.8) = 2.875 s. The nearest-rank method instead takes the value at rank ⌈0.75 × 20⌉ = 15, which is 2.8 s.

90th percentile (P90). Linear: position 19 × 0.9 = 17.1, so 3.9 + 0.1 × (4.8 − 3.9) = 3.99 s. Nearest rank: rank 18, 3.9 s.

Share under the "good" threshold. Google's Core Web Vitals guidance rates an LCP of 2.5 seconds or less as good. Here 13 of 20 loads are at or under 2.5 s, so 65%.

Histogram with 1-second bins:

Bin (seconds)LoadsShare
1.0 to under 2.0840%
2.0 to under 3.0735%
3.0 to under 4.0315%
4.0 to under 5.015%
5.0 to under 8.015%

Three lessons come out of these numbers:

  • The mean sits above the typical load. 2.61 s is higher than the median of 2.15 s because a few slow loads pull it up. The histogram shows the long right tail that causes it.
  • The median and P75 tell different stories. The median load is "good" (2.15 s ≤ 2.5 s), but P75 is 2.875 s, above the threshold. Core Web Vitals assess the 75th percentile, so by that standard this page needs work even though the typical visit is fine.
  • Percentiles resist outliers; the mean does not. Replace the slowest load of 7.6 s with a 19.6 s load (a visitor on a stalled connection). The mean jumps from 2.61 s to 3.21 s; the median stays at 2.15 s and P75 at 2.875 s.

The two percentile methods disagree by 0.075 s at P75 and 0.09 s at P90. Hyndman and Fan (1996) list nine sample-quantile definitions in common software. With small samples the choice matters, so when two tools disagree on a percentile, check the method before suspecting the data.

Which charts and statistics fit continuous data?

QuestionFits continuous dataAvoid
What does the distribution look like?Histogram with equal-width bins; box plotA bar per distinct value (hundreds of one-tall bars)
What is a typical value?MedianMean alone on skewed data
What do slower or larger cases look like?P75, P90, P95Maximum (one outlier)
How spread out is it?Interquartile range (P75 − P25); standard deviation if roughly symmetricRange from min to max
Has it changed over time?Percentile trend lines (P50 and P75)Daily mean only
Are two groups different?Compare medians or distributions; t-test only if roughly normal or samples largeTreating rounded values as categories

The NIST/SEMATECH e-Handbook describes the histogram as a graphical summary of a single variable's distribution, built by splitting the data range into equal-sized bins and counting the points in each. It answers where the data are located, how spread out they are, whether they are skewed and whether there are outliers. Those are the first questions to ask of any continuous field.

Choosing bin width. Too few bins hide the shape; too many make noise. A practical start for analytics data is 10 to 20 bins, with the top edge at a high percentile (for example P99) so a handful of extreme values do not squash everything else into the first bin. Put values above the cut-off into a final "and above" bin rather than dropping them.

Common mistakes with continuous data

  • Reporting only the average. Durations and load times are right-skewed: many short, a few very long. The mean overstates the typical case, as the example's 2.61 s vs 2.15 s shows.
  • Calling rounded data discrete. Session durations stored as whole seconds are still continuous. Rounding is a property of the recording, not of time.
  • Bucketing too early. Storing scroll depth only as 25 / 50 / 75 / 100 turns continuous data into ordinal data, and you cannot get the finer values back. Store the raw measurement and bucket in the report.
  • Comparing percentiles from different methods. Two tools may compute P75 with different quantile definitions or different sample windows. Compare like with like.
  • Trusting percentiles from tiny samples. With 20 values, P90 rests on the top two or three loads. A page with 15 visits a week can swing wildly; wait for more samples or widen the date range.
  • Averaging percentiles. The mean of daily P75 values is not the P75 of the week. Recompute the percentile on the pooled samples.

Continuous data in TapCub

The page from the worked example, looked at in TapCub. TapCub reports these measurements; deciding which fix to ship is up to you.

  1. Check the percentile, not the mean. In Monitoring › Performance the cards switch between P95, P75, median and average, and the trend and breakdown can use P50, P75, P90 or P99. The slowest-pages list is sorted by P75 LCP, so a page like the example (median good, P75 above 2.5 s) surfaces there. The docs warn that percentiles jump when a page has few samples, the same small-sample caveat as above.
  2. Draw the histogram for a numeric property. In All-platform analytics › Behavior › Behavior analysis, the distribution model splits a numeric property such as order value into equal-width bins from the minimum to the 99th percentile (2 to 50 bins, 10 by default); larger values fall into the last bin. The chart shows each bin's count and share plus the mean and median, so the gap between them is visible. Session duration uses fixed duration edges up to 6 hours.
  3. Measure time between two actions. The interval model in the same place pairs a start event and an end event, such as signup and first purchase, and summarizes the gaps as sample size, minimum, 25th percentile, median, 75th, 90th, maximum and average, with a histogram.
  4. Save a percentile as a metric. In All-platform analytics › Behavior › Metrics & SQL, an event aggregation can be a property's median or 90th percentile (alongside sum, average, min and max), so "P90 order value" can sit on a dashboard instead of the mean.

Sources

Was this explanation clear?

We use your answers to fix and expand this page.

Su He

Data Analyst

Explores traffic sources, conversion funnels, and retention, using clear metric definitions and concrete examples to explain what the numbers mean.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is an example of continuous quantitative data?

Anything measured on a scale: height, weight, temperature, time. In web analytics, session duration, page load time (such as LCP), time from signup to first purchase and order value are continuous. A page can load in 2.1, 2.15 or 2.153 seconds; only the clock limits the precision.

What is the difference between continuous and discrete data?

Continuous data is measured and can take any value between two values; discrete data is counted and takes separate values, usually whole numbers. Session duration is continuous; pageviews per session is discrete. Ask whether a value in between could exist and whether only the instrument limits precision.

Is money continuous or discrete data?

Strictly discrete, because amounts move in steps of the smallest currency unit, such as one cent. In practice order values are analyzed as continuous, because the steps are tiny compared with the spread of values, so histograms, medians and percentiles work well.

What graph is best for continuous data?

A histogram with equal-width bins shows the shape, center, spread and outliers of one continuous variable. For changes over time, plot percentile trend lines such as P50 and P75. A box plot compares several groups. A bar per distinct value does not suit continuous data.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics