Calculation methods and verified examples

Use these fixed inputs to check the calculations yourself. Each example states the settings and expected result. Links fill data only; they do not restore the selected method, bins, axis limits, labels or styles.

Verification date: November 12, 2026. Scope: fixed examples on a local production build in Chromium. These checks are not independent certification or a guarantee for every dataset.

Reproduce the examples

FD histogram with nine values

1,2,3,4,5,6,7,8,9

Settings: After loading, select Freedman–Diaconis (FD). Keep the default data range.

Expected: n = 9; Q1 = 3; Q3 = 7; IQR = 4; theoretical width ≈ 3.846; 3 bins; applied width = 8/3 ≈ 2.667; frequencies = 3, 3, 3.

Load this example

Three supplied frequency intervals

0-9,4
10-19,7
20-29,11

Settings: Load the interval-frequency rows as supplied. This tool does not re-bin or recover raw observations.

Expected: 3 rows; total frequency = 22; cumulative frequencies = 4, 11, 22; relative frequencies = 4/22, 7/22, 11/22.

Load this example

Mean, median and Type 7 quartiles

56,62,65,68,70,72,73,74,76,77,78,79,80

Settings: Load the raw list. Quartiles use Type 7 linear interpolation.

Expected: n = 13; sum = 930; mean = 930/13 ≈ 71.53846; median = 73; Q1 = 68; Q3 = 77; IQR = 9.

Load this example

An exact regression line

1,3
2,5
3,7
4,9

Settings: Keep Line of best fit on. Repeat the same data in the correlation calculator to check r and R².

Expected: Pairs (1,3), (2,5), (3,7), (4,9): slope = 2; intercept = 1; r = 1; R² = 1; every residual = 0.

Load this example

Statistical conventions

  • Quartiles: Type 7 linear interpolation at index p × (n − 1) in sorted data, matching the inclusive-percentile convention. IQR = Q3 − Q1. Different textbook quartile rules can produce different values.
  • Standard deviation: The homepage uses sample SD with denominator n − 1. The mean/median/mode calculator explicitly offers sample or population variance/SD; population uses denominator n.
  • Raw-data bin boundaries: Bins include their lower edge and exclude the upper edge, except the last bin includes its upper edge. Values outside a custom range are counted separately; relative frequencies divide by the included count. The homepage summary statistics describe all parsed values.
  • FD: Uses in-range n and Type 7 IQR. Integer bin counts, the 100-bin limit and floating-point precision can change the applied width. The panel shows the recommendation, actual result and any fallback. Sturges and sqrt retain their full-input n. A supplied grouped frequency table cannot recover the original IQR.
  • Grouped input: Interval endpoints and frequencies are taken from the supplied table. The tool does not infer raw observations or reassign values at shared endpoints. Cumulative frequency is the running total of supplied counts.
  • Regression: Ordinary least squares with an intercept. r is Pearson correlation and R² = r² for this simple regression. The study-hours chart and teaching paragraph share the same 12-pair preset; its displayed equation is y = 5.641x + 51.904. Association does not establish causation.
  • Rounding: Teaching examples distinguish exact fractions from approximations. Regression equations use up to three decimal places; ordinary histogram labels use up to two; the FD panel retains six significant digits. Histogram CSV preserves computed numerical boundaries rather than copying screen labels. Scatter CSV rounds predicted values and residuals to six decimal places and standardized residuals to four.

Download and inspect an actual export

For the 1–9 FD sample, the downloaded CSV contains 3 rows with frequencies 3, 3, 3 and final edge 9; SVG contains 3 bars; PNG is 1440 × 720. These are actual files from the dated local check. Recreate them using the first example and compare values; export bytes may differ with rendering or metadata.

Prefilled links and privacy boundaries

The protocol is ?data= followed by URL-encoded input. Use commas or newlines for numbers, X,Y rows for paired data, or interval,count rows for grouped input. A newline is encoded as %0A. Share generation and loading accept up to 1,800 characters of decoded text and reject longer input with a visible message; no partial dataset is substituted.

Paste, file parsing, calculations and PNG/SVG/CSV generation run in your browser without a chart-computation upload endpoint. A prefilled URL includes the data in the page request, browser history and any place you share that address; hosting logs and analytics may receive the URL. Use synthetic or public data in shared examples. This site loads Google Analytics and Microsoft Clarity for usage and session analytics, so local calculation does not mean offline or tracking-free operation.

Tool input and result regions are marked for Clarity masking. That setting does not remove data from a shared page URL. Our custom event payloads use counts, method names and other allowlisted metadata rather than raw datasets; third-party scripts also have their own collection behavior.

To repeat the network check, open browser developer tools, enable Preserve log, and separately paste a synthetic sample, import a local file, generate a chart, export it, and open a prefilled URL. Compare request URLs and bodies for each step. Record provider traffic separately from requests to the site, and inspect request bodies before making a claim about data transmission.

The November 12 local check recorded 42 initiated requests across page load, paste/calculation, CSV import, export and opening a prefilled URL. Google Analytics and Clarity traffic was observed; the prefilled document request contained a data query. Request bodies, including compressed analytics payloads, and provider retention were not audited. The public record removes query values, headers, cookies and identifiers: inspect the scoped network record.

Read the privacy policy. Provider documentation: Clarity masking and Google Analytics pageview parameters.