What is Uniform Distribution in Finance

A uniform random variable is the simplest continuous random variable

Owais Siddiqui
22 Sept 2022
4 min read
Updated

The uniform distribution is one of the simplest and most intuitive probability distributions — the one where every outcome is equally likely. Despite its simplicity, it's enormously important, underpinning random number generation and the simulation of every other distribution. This guide explains what the uniform distribution is, the discrete and continuous versions, its formulas, and its uses — in clear, plain language. It complements our guide to the conditional distribution and is relevant to anyone studying statistics, probability or quantitative finance.

What is the uniform distribution?

The uniform distribution is a probability distribution in which all outcomes are equally likely. There's no peak, no skew, no values that are more probable than others — the probability is spread out perfectly evenly. Because its probability function is flat, it's sometimes called the rectangular distribution. It comes in two flavours: a discrete version, for a finite set of equally-likely outcomes, and a continuous version, for an interval over which every value is equally likely. Both capture the same idea of "complete even-handedness" across the possible outcomes.

The discrete uniform distribution

The discrete uniform distribution applies when there's a finite number of outcomes, each with the same probability. The classic example is a fair die: each of the six faces has probability 1/6. More generally, if there are n equally-likely outcomes, each has probability 1/n. A fair coin (two outcomes, each 1/2) is another example. The discrete uniform distribution is the natural model for any situation of pure, symmetric chance — where there's no reason to favour one outcome over another.

The continuous uniform distribution

The continuous uniform distribution, written U(a, b), spreads probability evenly over an interval from a to b. Its probability density is constant across that interval:

f(x) = 1 ÷ (b − a)   for a ≤ x ≤ b, and 0 elsewhere.

The density is a flat line (a rectangle), reflecting that every value in the range is equally likely. Its key summary statistics are simple and elegant:

  • Mean = (a + b) ÷ 2 — the midpoint of the interval.
  • Variance = (b − a)2 ÷ 12.

So a uniform distribution on [0, 1] — a very common case — has a mean of 0.5 and a variance of 1/12.

A simple example

Suppose a bus arrives at a stop at a time that's equally likely to be anywhere in the next 10 minutes — a continuous uniform distribution on [0, 10]. The probability density is 1/10 across the interval, so the chance of the bus arriving in any given 1-minute window is 1/10. The expected (average) wait is the midpoint, (0 + 10)/2 = 5 minutes, and the variance is (10 − 0)2/12 ≈ 8.33. This shows how the flat density translates directly into easy, intuitive calculations — one of the reasons the uniform distribution is such a useful teaching and modelling tool.

Why the uniform distribution is so useful

The uniform distribution's biggest practical role is in random number generation and simulation. Computers generate random numbers that are (approximately) uniform on [0, 1], and these uniform numbers are the raw material for simulating every other distribution. Using a technique called the inverse transform method, you feed a uniform random number into the inverse of a target distribution's cumulative function to produce a random value from that distribution. This makes the humble uniform distribution the foundation of Monte Carlo simulation, which is used throughout finance for pricing options, modelling risk and much more.

Other uses of the uniform distribution

Beyond simulation, the uniform distribution is used to model situations of genuine equal likelihood or complete uncertainty — when you have no information favouring any value in a range, a uniform distribution is a natural choice (it's sometimes used as a "non-informative" prior in Bayesian statistics). It also appears in rounding errors, in certain fair-allocation problems, and as a simple building block in teaching probability. Its simplicity makes it both a practical tool and a conceptual starting point for understanding more complex distributions.

Frequently asked questions

What is the uniform distribution?

A distribution in which all outcomes are equally likely, with a flat (rectangular) probability function. It comes in discrete and continuous versions.

What is the discrete uniform distribution?

One with a finite number of equally-likely outcomes, each with probability 1/n — like a fair die (1/6 per face) or a fair coin (1/2 per side).

What are the mean and variance of a continuous uniform distribution?

For U(a, b): the mean is (a + b)/2 and the variance is (b − a)2/12. The density is 1/(b − a) over the interval.

Why is the uniform distribution so useful?

It's the basis of random number generation: uniform random numbers on [0, 1] are used, via the inverse transform method, to simulate every other distribution — the foundation of Monte Carlo simulation.

Master statistics with Learnsignal

Distributions like the uniform distribution underpin data analysis and simulation. Learnsignal's tutor-led ACCA and CIMA courses build the quantitative foundations — with flexible, supported online study that fits around work.

This page was last updated:

Owais Siddiqui

Expert Tutor at Learnsignal

Qualified professional with years of experience in teaching and helping students achieve their accounting qualifications.

View all posts by Owais Siddiqui

Subscribe to Our Newsletter

Join over 30,000+ Learnsignal students and get regular insights delivered to your inbox.

Ready to Start Your Risk & Quantitative Finance Journey?

Join thousands of successful students who have achieved their qualifications with Learnsignal.

Ready to get started?

Join 100,000+ students across 130 countries. Choose a plan that fits your goals — cancel anytime.

View Pricing