Uniform Quantile Calculator
The value at the probability you set for a uniform distribution on the interval a to b.
What this page computes
Returns a + level·(b − a): the point of a uniform distribution that leaves the stated probability to its left.
How to use it
Type the Lower bound a, Upper bound b, Probability level and press Run. a and b are the bounds with b > a, and the level is strictly between 0 and 1. The answer is always inside the interval. With a = 0, b = 10, the lower quartile, the page prints x with P(X ≤ x) = 0.25 is 2.5.
Running it
Closed form x = a + level·(b − a). Every point of the interval has the same density, so the quantile is a linear interpolation between the bounds. Every figure is computed in this browser tab: nothing is uploaded and nothing is stored.
Returns a + level·(b − a): the point of a uniform distribution that leaves the stated probability to its left. With a = 0, b = 10, the lower quartile, the page prints x with P(X ≤ x) = 0.25 is 2.5.
Closed form x = a + level·(b − a). Every point of the interval has the same density, so the quantile is a linear interpolation between the bounds. The printed result is accurate to closed form, evaluated in double precision; no table is read and nothing is simulated.
How to use this uniform distribution calculator
Type each value below and press Run. The page prints the quantile and the parameter line it used, so the answer can be checked against the formula rather than taken on trust.
The inputs this page reads are Lower bound a (any real number below b); Upper bound b (any real number above a); Probability level (strictly between 0 and 1).
The parameterisation
a and b are the bounds with b > a, and the level is strictly between 0 and 1. The answer is always inside the interval.
The numeric method
Closed form x = a + level·(b − a). Every point of the interval has the same density, so the quantile is a linear interpolation between the bounds.
The printed value is accurate to closed form, evaluated in double precision. The page returns the quantile only; it does not also print a test statistic, a p-value or a decision.
What to Expect
Best for
- a uniform percentile
- a linear interpolation on an interval
Not ideal for
- a probability at a given value, which is the uniform CDF page
- data that clusters in the middle
What this tool keeps
- Double-precision arithmetic in your own browser
- The same inputs always produce the same output
Common errors
- The upper bound must be above the lower bound, and the level strictly between 0 and 1.
Example use cases
- simulation inputs
- teaching quantiles
Sample input
a = 0, b = 10, the lower quartile.
Sample output
x with P(X ≤ x) = 0.25 is 2.5.
Who this is for
- students
- simulation users
Frequently asked questions
Which parameterisation does this page use?
a and b are the bounds with b > a, and the level is strictly between 0 and 1. The answer is always inside the interval.
How is the result computed?
Closed form x = a + level·(b − a). Every point of the interval has the same density, so the quantile is a linear interpolation between the bounds. The result is accurate to closed form, evaluated in double precision.
What inputs are refused?
The upper bound must be above the lower bound, and the level strictly between 0 and 1.
Is anything uploaded?
No. Every number is computed by JavaScript in this page from the values you typed; nothing is posted, stored or logged.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.