Developer Tools
Latency Percentile Calculator
Paste latency samples and compute p50, p75, p90, p95, p99, and p99.9, plus min, max, mean, standard deviation, a histogram, and an SLO check.
Example samples
Load a sample shape to see how the percentiles fall, then paste your own.
Paste numbers separated by spaces, commas, tabs, or newlines. Suffixes like ms or s are ignored. The unit picker below decides how to read the numbers.
Input unit
Auto detected: ms. Override with a specific unit if the detection is wrong.
Enter a latency budget to see what share of samples meets it. Common values: 100 ms for a web API, 1 ms for a database query.
Latency distribution
Log-spaced buckets across the observed range.
| Bucket | Count | Share | Visual |
|---|---|---|---|
| 12.00 ms to 21.19 ms | 21 | 11.2% | |
| 21.19 ms to 37.40 ms | 49 | 26.1% | |
| 37.40 ms to 66.03 ms | 29 | 15.4% | |
| 66.03 ms to 116.57 ms | 22 | 11.7% | |
| 116.57 ms to 205.80 ms | 19 | 10.1% | |
| 205.80 ms to 363.32 ms | 12 | 6.38% | |
| 363.32 ms to 641.41 ms | 10 | 5.32% | |
| 641.41 ms to 1.132 s | 9 | 4.79% | |
| 1.132 s to 1.999 s | 7 | 3.72% | |
| 1.999 s to 3.529 s | 4 | 2.13% | |
| 3.529 s to 6.231 s | 2 | 1.06% | |
| 6.231 s to 11.000 s | 4 | 2.13% |
Tip: the long right tail is where tail-latency lives. The bucket that holds your p99 is the one most worth investigating.
Method
Linear interpolation
NIST type 7. Same definition as NumPy percentile, pandas .quantile, and the SQL PERCENTILE_CONT function. Matches what a Jupyter notebook would give you.
Standard deviation
Sample standard deviation with Bessel's correction (n minus 1 in the denominator), the right choice for a sample drawn from a larger population.
Log-scaled histogram
When the data spans more than an order of magnitude, buckets are spaced in log10 so the tail does not collapse into a single bin. Linear otherwise.
How to use
- Click a preset to load an example latency shape (web API, database query, gRPC, or ping), or paste your own samples into the input.
- Pick a unit. Auto detects from the median of the input. Override with ns, µs, ms, or s if the auto pick is wrong.
- Read p50, p75, p90, p95, p99, and p99.9, plus the min, max, mean, and standard deviation. The headline shows p95 in the unit that best fits the data.
- Scan the histogram to see how the distribution is shaped. The bucket containing p99 is the one most worth investigating.
- Optionally type an SLO budget and pick its unit. The tool reports the share of samples at or below the budget and explains the result in plain language.
- Click Copy report to grab a plain-text summary with all percentiles, summary stats, and the SLO check, ready to paste into a runbook, dashboard caption, or pull request comment.
About this tool
Latency Percentile Calculator turns a list of raw latency measurements into the tail-latency numbers SREs and backend engineers actually publish. Paste a list of samples (separated by spaces, commas, tabs, or newlines), pick a unit or let the tool auto-detect from the median, and read p50, p75, p90, p95, p99, and p99.9 alongside the min, max, mean, and standard deviation. The percentile method is NIST type 7 linear interpolation, the same definition NumPy percentile, pandas .quantile, and SQL PERCENTILE_CONT use, so the numbers match what a Jupyter notebook would give you. A log-scaled histogram with twelve buckets shows the shape of the distribution so the long right tail does not collapse into a single bin, with a visual bar comparing the share in each bucket. An optional SLO budget input returns the share of samples that meet a target latency, with a one-line interpretation explaining whether the service has three-nines headroom, just passes p95, or is missing the budget entirely. Four built-in presets demonstrate four typical shapes: a fat-tailed web API in milliseconds, a tight OLTP database query distribution, an internal gRPC service in microseconds, and a ping round trip with a single packet-loss spike. The tool tolerates messy paste: it strips ms, s, µs, and ns suffixes, handles thousand separators, and silently ignores header rows or other non-numeric tokens (reporting how many were skipped). A copy-friendly plain-text report condenses the percentiles, summary stats, and SLO result into a runbook-ready block. Useful for SREs sizing alerts, backend engineers tracking p99 regressions, database administrators investigating slow queries, mobile and web developers reading dev-tools timing exports, growth teams sanity-checking dashboard math, and students learning what tail latency means in practice. All math runs locally in your browser; the latency samples you paste never leave your device.
Free to use. Works in your browser. No signup, no login.
Related tools
You may also like
SLA Uptime Calculator
Allowed downtime for any SLA percentage from 90% to six nines, across all periods.
Open tool
DeveloperAPI Rate Limit Calculator
Plan API rate limits with five algorithms: RPS, burst, refill time, and reject share.
Open tool
DeveloperExponential Backoff Calculator
Plan retry delays with exponential backoff and jitter, with totals and a schedule.
Open tool
CalculatorPercentile Calculator
Nth percentile and percentile rank with five quantile methods and a common percentiles table.
Open tool
CalculatorMean Median Mode Calculator
Mean, median, mode, range, standard deviation, and five number summary from any list.
Open tool
CalculatorStandard Deviation Calculator
Sample and population SD, variance, quartiles, outliers, and step by step working.
Open tool