Back to Free Tools

FREE TOOLS

Weighted Quantile Calculator

Calculate exact weighted empirical quantiles with a complete ordered distribution.

[Value, weight] pairs, Quantile probabilities

JSON

Browser only

Runs locally in your browser. Your files, pasted content and generated output are not uploaded. Reset clears this tool’s working data.

This tool needs JavaScript. If it does not load, refresh the page and try again.

How to use this tool

  • Enter the displayed example values,or choose the local input files requested by the controls. Optional source files take precedence where labelled.
  • Choose Calculate result and inspect the complete result and any reported limitations.
  • Use Download result and each companion download link to save complete outputs. Reset clears output and restores example controls.

Examples

[Value, weight] pairs: [[1,1],[2,2],[5,1]]
Quantile probabilities: [0,0.25,0.5,0.75,1]

Limitations

  • Compute weighted empirical inverted-CDF quantiles using exact decimal comparisons. Select the first positive-weight value whose cumulative weight is at least p times total weight;p=0 selects the minimum positive-weight value. Zero weights are ignored; equal values retain source order. No interpolation. Enter1–1000 [value,weight] pairs and1–100 probabilities in[0,1]. Values are JSON decimal numbers; each token has at most100 coefficient digits,128 characters and exponent magnitude1000. Nonnegative weights need positive total. Exact intermediate arithmetic is bounded to4096 digits; exact fractions and original numeric tokens are retained. Download the complete JSON report. All processing stays in your browser. Combined input limit: 400,000 UTF-8 bytes, 100,000 characters per field; report limit: 4 MiB.
  • Complete outputs only. Unsupported or oversized input is refused. Follow the displayed job-specific bounds and format policies.

Related tools

No items found.

More tools for your workflow

Explore the related desktop tool