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:
- 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.
- 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 field | Measured or counted? | Type | Chart that fits | Summary that fits |
|---|---|---|---|---|
| Session duration | Measured (time) | Continuous | Histogram | Median, P75, P90 |
| Largest contentful paint (LCP) | Measured (time) | Continuous | Histogram, percentile trend | P75 |
| Interaction to next paint (INP) | Measured (time) | Continuous | Histogram, percentile trend | P75 |
| Time from signup to first purchase | Measured (time) | Continuous | Histogram | Median, P90 |
| Order value | Measured (money, smallest unit is a cent) | Treated as continuous | Histogram | Median for a typical order; mean and sum for revenue |
| Pageviews per session | Counted | Discrete | Bar per value | Share at each value, mean |
| Items in cart | Counted | Discrete | Bar per value | Share at each value |
| Conversion rate | Ratio of two counts | Proportion | Bars with confidence intervals | Rate with an interval |
| Star rating 1–5 | Ordered labels | Ordinal | Bar per label | Share 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) | Loads | Share |
|---|---|---|
| 1.0 to under 2.0 | 8 | 40% |
| 2.0 to under 3.0 | 7 | 35% |
| 3.0 to under 4.0 | 3 | 15% |
| 4.0 to under 5.0 | 1 | 5% |
| 5.0 to under 8.0 | 1 | 5% |
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?
| Question | Fits continuous data | Avoid |
|---|---|---|
| What does the distribution look like? | Histogram with equal-width bins; box plot | A bar per distinct value (hundreds of one-tall bars) |
| What is a typical value? | Median | Mean alone on skewed data |
| What do slower or larger cases look like? | P75, P90, P95 | Maximum (one outlier) |
| How spread out is it? | Interquartile range (P75 − P25); standard deviation if roughly symmetric | Range 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 large | Treating 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.
- 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.
- 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.
- 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.
- 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
- OpenStax, Introductory Statistics 2e, 1.2 Data, Sampling, and Variation in Data and Sampling (quantitative continuous vs discrete data), checked 28 November 2026.
- NIST/SEMATECH e-Handbook of Statistical Methods, 1.3.3.14 Histogram, checked 28 November 2026.
- Hyndman, R. J., and Fan, Y. (1996). Sample Quantiles in Statistical Packages. The American Statistician, 50(4), 361–365.
- web.dev, Defining the Core Web Vitals metrics thresholds (75th percentile, LCP good at 2.5 s or less), checked 28 November 2026.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

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